Skip to main content

Notifications

Power Automate - General Discussion
Answered

Flow Button URL

(0) ShareShare
ReportReport
Posted on by 435

Hello,

 

I had an idea, and I was just curious if it was possible. I have a Stream Deck that I use for lots of shortcuts at work.

 

Image result for stream deck

 

I can program these buttons to go to specific URLs. The idea was, if I can get the URL of a Flow button, I can use this as physical buttons for my flows. Does anyone know if this is possible?


Thanks

  • AlanPs1 Profile Picture
    AlanPs1 2,471 on at
    Re: Flow Button URL

    Hi @FoDelement 

    Perfect!

     

    This is actually what I was hoping the outcome would have been, I just don't have the device or an emulator to test with.

     

    Really glad to see that this works in the way I hoped and that you have discovered.

    Thanks you for coming back and sharing this update too.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

  • Verified answer
    FoDelement Profile Picture
    FoDelement 435 on at
    Re: Flow Button URL

    @AlanPs1 

     

    I actually found a better way to do it.

     

    Using the same trigger, I copied the link and put it as a "Open website" action in Stream Deck, then added a "Ctrl+W" macro after it.

     

    This navigates to the webpage and closes the tab, allowing the flow to run. 

    2019-05-13 14_30_20-Window.jpg

  • FoDelement Profile Picture
    FoDelement 435 on at
    Re: Flow Button URL

    @AlanPs1 

     

    Wow you are right, I was REALLY overthinking that....

     

    That was so easy! It works perfect.

     

     

    Thank you!

  • Verified answer
    AlanPs1 Profile Picture
    AlanPs1 2,471 on at
    Re: Flow Button URL

    Hi @FoDelement 

    I think there are some crossed wires here, I am not suggesting you set up an IFTTT account.

    IFTTT is a platform not too unlike Flow.

     

    The user in the video triggers his process by sending an HTTP request, as you would do in Flow.

    The "When an HTTP request is recieved" trigger in Flow works as long as you send an HTTP request to it, from somewhere. In whichever means you choose to send that HTTP request to Flow is up to you.

     

    The video in the link shows the presenter sending an HTTP request with PowerShell, triggered by running a batch file. I see it working in Streamdeck so shared it with you to get you off and runnig conceptually.

     

    To trigger the Flow, you send the HTTP request to the URL provided by the connector.

    Http request URL

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

  • FoDelement Profile Picture
    FoDelement 435 on at
    Re: Flow Button URL

    @AlanPs1 You wouldn't happen to have an example of how I can set this up, would you? I have little knowledge of JSON and 

    schemas, and I am pretty lost currently. 

     

    I did some searching, and can't seem to find the answer. I created the IFTTT account, setup the webhook, setup the batch file, but can't figure out how the HTTP request is realized in the trigger for flow.

     

    Thanks!

     

  • efialttes Profile Picture
    efialttes 14,756 on at
    Re: Flow Button URL

    @FoDelement 

    Here you are a simple example on how to implement an HTTP trigger based Flow

    https://www.cloudfronts.com/http-post-requests-using-microsoft-flows/

    Hope this helps

  • FoDelement Profile Picture
    FoDelement 435 on at
    Re: Flow Button URL

    Intresting.

     

    I can't seem to figure out how the HTTP request trigger works, but I will look into it.

  • efialttes Profile Picture
    efialttes 14,756 on at
    Re: Flow Button URL

    @AlanPs1 

    I think your suggestion is a good workaround! I have implemented this same approach to embed dynamic menus inside email bodys on a personal project.

    However, if you want to offer this workaround to customers; how can we deal with security, i mean avoid somebody else triggering your flows?

     

  • AlanPs1 Profile Picture
    AlanPs1 2,471 on at
    Re: Flow Button URL

    Hi @FoDelement , thank you for your post and your interesting use case.

     

    Ok, so this should integrate, it's just not OOTB with a connector ... There could also be a few ways to use your stream deck to trigger a Flow.

     

    The key trigger would be "When an HTTP request is recieved", I'd expect.Capture-556.png

     

    Below is a video of someone using stream deck to trigger a batch file that then runs PowerShell and sends the HTTP request with IFTTT. So this may get you thinking on what will be possible using Flow.

    https://www.youtube.com/watch?v=3YCozO9AXi4

     

    I don't have a stream deck right now to test this, but conceptually I would say you will be able to trigger Flows from Stream Deck.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

  • Brad_Groux Profile Picture
    Brad_Groux 4,556 on at
    Re: Flow Button URL

    There isn't currently a connector for Elgato, but if this is functionality you would like to see added to Flow or a Flow Template, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

    There is however, Flic support with the Flic connector being in preview that has a When a flic is pressed trigger

    See the source image

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard