Do you want to make an external GET/POST HTTP request to a URL from within an Alexa Routine? Here's how....
There are plenty of use cases for being able to make a GET or POST request to a URL from within an Alexa Routine.
Perhaps you want to trigger an external system by voice? Maybe you need to trigger an IFTTT Applet? Or maybe trigger an API URL which will set off an automation in your Smart Home.
Whatever the reason, it's easy to do with Voice Monkey and the Flows feature.
Head over to the Voice Monkey console. Go to the Flows section.
Create a new Flow and give it an appropriate name.
Select "Web Request" From the list of available actions.
Enter the URL and request method as well as any specific headers to send with the request.
Hit "Add Action"
Still in the Flow editor, look for the Trigger options and find instructions for triggering the Flow from a Routine.
You will find a Custom Action phrase to use in your Alexa Routine. Make a note of this phrase.
Head to the Alexa app and create a new Routine (or use an existing one).
Select how you want the Routine to be triggered.
In the Routine actions, select Custom Action and use the phrase from the step above.
Now, any time you run that Alexa Routine, the custom action will trigger your Flow which will in turn make the HTTP request to the URL you specified. Magic!
Get started on our generous free plan (no credit card required).