web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Launch a Flow from an ...
Power Automate
Unanswered

Launch a Flow from an email

(0) ShareShare
ReportReport
Posted on by 1,934 Moderator

How can I embed a button in an HTML email that will launch a Flow when clicked?

Second question: is there an HTML address to run a Flow?

 

Thanks,

Anne

Categories:
I have the same question (0)
  • johnokeeffe Profile Picture
    46 on at

    Hi @annetoal , 

     

    To answer the first part of the question you can't use button html in emails but you can use some basic css and html link elements. Here is this question answer else where: Is it possible to add HTML buttons in send an email(V2) of Power automate. I want to create 3 buttons which has links to 3 different sharepoint sites - SharePoint Stack Exchange

     

    I have condensed it here for you (Just replace the text after the href with your trigger url below):

     

    <p><br>
    <br>
    This is a <strong>Test</strong> email containing links looking like html buttons<br>
    <br>
    <table width="100%" cellspacing="0" cellpadding="0">
     <tr>
     <td>
     <table cellspacing="3" cellpadding="3">
     <tr>
     <td style="border-radius: 5px;" bgcolor="#1281ee">
     <a href="Enter the HTTP Get url here" target="_blank" style="padding: 8px 12px; font-size: 14px; color: #ffffff;text-decoration: none;font-weight:bold;display: inline-block;">Click me to run flow
     </a>
     </td>
    
    
    
     </tr>
     </table>
     </td>
     </tr>
    </table>
    <br>
    <br>
    </p>

     

    To answer the second part the quickest way to do so would be setup a "When a HTTP request is received" trigger.

     

    The HTTP get URL is what you would be "clicking" in the above html code. It will open up your browser then it sends the HTTP Get request which in turn triggers the flow.

     

    Hope this helps.

     

    johnokeeffe_0-1654800015279.png

     

     

     

  • annetoal Profile Picture
    1,934 Moderator on at

    Thanks, that sounds like a do-able approach. Where can I view the GET URL for a Flow, so I can enter the info into the connector?

     

    Anne

  • vivekpande18 Profile Picture
    894 Super User 2024 Season 1 on at

    Hi @annetoal ,

     

    You will get the Url from that action only.

     

    1- Add the "When a HTTP request is received" trigger

    2- Add one more action.

    3- Save your flow.

     

    After saving the flow, you will get see that URL inside HTTP GET URL  textbox.

     

    Thanks

    Vivek pande

  • annetoal Profile Picture
    1,934 Moderator on at

    Thanks again for the help. I found some helpful code on the net that embeds three clickable "buttons" inside an HTML mail. The code is configured to send the browser to Google for each button. I'd like to substitute a URL that triggers a Flow, if possible. Is there a URL for every Flow that can be executed to launch the process?

    <p><br>
    <br>
    This is a <strong>Test</strong> email containing links looking like html buttons<br>
    <br>
    <table width="100%" cellspacing="0" cellpadding="0">
     <tr>
     <td>
     <table cellspacing="3" cellpadding="3">
     <tr>
     <td style="border-radius: 5px;" bgcolor="#1281ee">
     <a href="https://google.com" target="_blank" style="padding: 8px 12px; font-size: 14px; color: #ffffff;text-decoration: none;font-weight:bold;display: inline-block;">LTA 
     </a>
     </td>
    
     <td style="border-radius: 5px;" bgcolor="#1281ee">
     <a href="https://google.com" target="_blank" style="padding: 8px 12px; font-size: 14px; color: #ffffff;text-decoration: none;font-weight:bold;display: inline-block;">SMT 
     </a>
     </td>
    
    <td style="border-radius: 5px;" bgcolor="#1281ee">
     <a href="https://google.com" target="_blank" style="padding: 8px 12px; font-size: 14px; color: #ffffff;text-decoration: none;font-weight:bold;display: inline-block;">SOP 
     </a>
     </td>
     </tr>
     </table>
     </td>
     </tr>
    </table>
    <br>
    <br>
    </p>

     @vivekpande18 

  • johnokeeffe Profile Picture
    46 on at

    Hi @annetoal

     

    There is no standard URL that will trigger any flow you want that doesn't work in power automate. You need to use the HTTP request trigger when saved will generate the URL for you to use. Then just replace the href attribute in the html code like below. I had already condensed the code for you in the example you found on the net.

     

    johnokeeffe_0-1654875220334.png

  • annetoal Profile Picture
    1,934 Moderator on at

    Thanks so much for the help. I will try it out.

     

    Anne

  • annetoal Profile Picture
    1,934 Moderator on at

    Would you be able to share an actual working URL (minus sensitive information) that launched a Flow that you have created to embed in an email message like your example above? 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard