Forum Discussion

Abhijit12641's avatar
Abhijit12641
Copper Contributor
May 07, 2019

Need help with sharepoint flow to get attchements in mail

I am trying to create a multiple level approval flow and in each approval mail, I need to send information to user either in attachment file or picture data or at least in URL for the attachment which user can directly open. Can anybody help to write flow for this. 

7 Replies

  • Damien_Rosario's avatar
    Damien_Rosario
    Silver Contributor

    Hi Abhijit12641 

     

    In addition to Doug Allen's suggestion, you could also try using Send email with options which allows you to specify the user options to choose from (e.g. Approve/Deny, Yes/No, etc). You can also attach files to the email and apply formatting.

     

    I use both the formal Approvals function and the Send email with options depending on how much flexibility I need in what I'm creating.

     

     

    Hope that helps!

    Cheers

    Damien

    • Abhijit12641's avatar
      Abhijit12641
      Copper Contributor

      Damien_Rosario Thanks a lot for detailed explanation. I will try this also in new flow.

      Unfortunately the approval flow I am creating has 6 levels of approvals and flow logic does not allow me to add more than 8 levels. I have to find a different way to approach this. Is there any looping solution as possible with flow. For example, every time a next level of approval is needed flow can go back to loop and then once response is received it will come to last step and then work as per the response received.

       

       

      • Damien_Rosario's avatar
        Damien_Rosario
        Silver Contributor

        Hi Abhijit12641 

         

        Sounds like a complex approval flow you have there.

         

        Questions:

        1. Is it possible to group some of the approvers together? Approvals allows you to have all Approvers to respond in order for the approval to be accepted.

         

        2. Can you please explain how you have several levels of approvals? The diagram shows two although I get were you are going with it.

         

        It's possible to loop but will need to understand what you are looking to achieve business wise to be able to guide you.

         

        Hope you are well!

         

        Cheers

        Damien

  • Doug Allen's avatar
    Doug Allen
    Iron Contributor

    Abhijit12641,

     

    Can you provide a little more detail about where the file you want to attach?  You can't attach files to the approval email as it exists today.  To include a URL, you can use the markdown syntax to define the URL easily.  In the start and wait for approval action, in the Detail box, you will add your instructions or whatever and wherever you want and use [text](link URL).  How you get the text and URL can be manually typed or gotten dynamically via get actions or variables, just depending on where the file is.  You can see more info on markdown here.  Here's an example of an approval with a hyperlink that works.  In the example, the URL is the output of an expression formula to build a URL.

     

Resources