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.
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
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
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.
Wow you are right, I was REALLY overthinking that....
That was so easy! It works perfect.
Thank you!
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.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
Thanks, Alan
@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!
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
Intresting.
I can't seem to figure out how the HTTP request trigger works, but I will look into it.
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?
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.
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
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.
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!