SOLVED

Trigger a flow to send custom message email

Copper Contributor

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. 

 

clipboard_image_0.png

3 Replies
best response confirmed by amalwayscharan (Copper Contributor)
Solution

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:

Untitled.png

 

I hope this helps.

 

Norm

 

 

Thank you @Norman Young , I couldn't find the trigger you mentioned. 

 

Am I missing something? Please help. 

 

clipboard_image_0.png

@Norman Young  I found it. Thank you for your help. 

 

clipboard_image_0.png

1 best response

Accepted Solutions
best response confirmed by amalwayscharan (Copper Contributor)
Solution

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:

Untitled.png

 

I hope this helps.

 

Norm

 

 

View solution in original post