Forum Discussion

amalwayscharan's avatar
amalwayscharan
Copper Contributor
Aug 30, 2019
Solved

Trigger a flow to send custom message email

Hello,

 

I thought this would be very easy, but I'm stuck while implementing. 

 

Requirement: 

On click (JSON format flow trigger, image below) trigger a flow to send email with custom message. 

I could trigger a flow, but couldn't figure out how to get the document link and a custom user message to the flow.  

 

Bottom line

Is there a way to send parameters to flow which is button triggered. 

 

  • Hi amalwayscharan,

     

    This is possible using the "For selected file" SharePoint trigger. Initialize a string variable to store the "FileId" value and then "Get files (properties only)" on the document library filtering using "ID' equal variable name. 

     

    Sample Flow below:

     

    I hope this helps.

     

    Norm

     

     

3 Replies

  • Hi amalwayscharan,

     

    This is possible using the "For selected file" SharePoint trigger. Initialize a string variable to store the "FileId" value and then "Get files (properties only)" on the document library filtering using "ID' equal variable name. 

     

    Sample Flow below:

     

    I hope this helps.

     

    Norm

     

     

Resources