cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Triggering flows when a user clicks a link in a SMS

Hi,
I've done a proof of concept with Twilio where I can send a SMS and execute a trigger in power automate if I receive a SMS.  I need a person receiving the SMS to acknowledge they've received the SMS and I need to link it back to the SMS I sent.  There will be a number in the outgoing SMS that I need to receive back in the acknowledgement.  What is the best way to add a link to the outgoing SMS and when the user clicks on the link, trigger a power automate flow?  If there are better alternatives then using a link, I'm open to suggestions.

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Triggering flows when a user clicks a link in a SMS

Hello @Jeff_Schuler 

You could send a URL in the SMS that executes a flow using the "When a HTTP request is received" trigger. Moreover, you could send a parameter with the user that is clicking on the link. Have a look at this sample:

flow.png

In the HTTP GET URL you could add a parameter in the query string, and read it when the user clicks on the link. For example, imagine that's the endpoint URL to run your flow:

 

https://prod-123.westeurope.logic.azure.com:443/workflows/f0aa7d/triggers/manual/paths/invoke?api-ve...

 

You could add to it a new query string parameter like "&userName=Jeff":

https://prod-123.westeurope.logic.azure.com:443/workflows/f0aa7d/triggers/manual/paths/invoke?api-ve...&userName=Jeff

 

In your flow you will be able to read it using the expression:

triggerOutputs()['queries']['userName']

 

Hope it helps!

Ferran

 

 

 

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Triggering flows when a user clicks a link in a SMS

Hi @Jeff_Schuler ,

 

the function to trigger a flow when user click a link in a SMS is not supported in Microsoft flow currently.

There is no any way to trigger a flow when user click a link in a SMS in Microsoft flow currently and we could only trigger the flow when  a new SMS message is received.

 

Best regards,

Alice   

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

Highlighted
Super User II
Super User II

Re: Triggering flows when a user clicks a link in a SMS

Hello @Jeff_Schuler 

You could send a URL in the SMS that executes a flow using the "When a HTTP request is received" trigger. Moreover, you could send a parameter with the user that is clicking on the link. Have a look at this sample:

flow.png

In the HTTP GET URL you could add a parameter in the query string, and read it when the user clicks on the link. For example, imagine that's the endpoint URL to run your flow:

 

https://prod-123.westeurope.logic.azure.com:443/workflows/f0aa7d/triggers/manual/paths/invoke?api-ve...

 

You could add to it a new query string parameter like "&userName=Jeff":

https://prod-123.westeurope.logic.azure.com:443/workflows/f0aa7d/triggers/manual/paths/invoke?api-ve...&userName=Jeff

 

In your flow you will be able to read it using the expression:

triggerOutputs()['queries']['userName']

 

Hope it helps!

Ferran

 

 

 

View solution in original post

Highlighted
Frequent Visitor

Re: Triggering flows when a user clicks a link in a SMS

Thanks fchopo.  This worked.

Highlighted
Microsoft
Microsoft

Re: Triggering flows when a user clicks a link in a SMS

Thank you for sharing your good idea!! This helps others.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,947)