cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Slow_I_Am
New Member

If Error send Email?

I cant seem to find the flow or configure a flow to  send an email if saving an attachment to sharepoint fails.

 

Has anyone done this and any direction to where to look would be great.

 

Thanks in advance

William

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Slow_I_Am,

 

Could you please share a screenshot of your flow's configuration?
Do you add a "Add attachment" action of SharePoint connector within your flow?

 

I assume that you add a "Add attachment" action of SharePoint connector within your flow and want to send an email notification when the "Add attachment" action fails. I have made a test on my side and please take a try with the following workaround:

  • Add a "When an item is created" trigger.
  • Add a "Get file content" action.
  • Add a "Add attachment" action, specify File Name and File Content.
  • Add a "Send an email" action, click "Menu" option of the action and then click "Configure run after" option:7.JPG

    Within the opening "Send an email" should run after box, select "has failed" option:8.JPG

     Then click "Done" button.

Image reference:9.JPG

Please check and see if the following article would help in your scenario:

https://flow.microsoft.com/en-us/blog/error-handling/

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @Slow_I_Am,

 

Could you please share a screenshot of your flow's configuration?
Do you add a "Add attachment" action of SharePoint connector within your flow?

 

I assume that you add a "Add attachment" action of SharePoint connector within your flow and want to send an email notification when the "Add attachment" action fails. I have made a test on my side and please take a try with the following workaround:

  • Add a "When an item is created" trigger.
  • Add a "Get file content" action.
  • Add a "Add attachment" action, specify File Name and File Content.
  • Add a "Send an email" action, click "Menu" option of the action and then click "Configure run after" option:7.JPG

    Within the opening "Send an email" should run after box, select "has failed" option:8.JPG

     Then click "Done" button.

Image reference:9.JPG

Please check and see if the following article would help in your scenario:

https://flow.microsoft.com/en-us/blog/error-handling/

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That is perfect and works great. Thanks for the info.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,866)