This automation scenario allows you to connect Amazon Alexa and Alpaca
It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.
Categories
When this trigger fires in Amazon Alexa
This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.
Then this action happens in Alpaca
This action will liquidate all open positions.
This guide contains information on how to set up an automatic workflow that allows to Tell Amazon Alexa to help you liquidate your positions..
Part I
First, we need to connect Amazon Alexa and Alpaca to IFTTT.
Create IFTTT account.
Create IFTTT account if you don't have one.
Connect Amazon Alexa to IFTTT.
Give IFTTT access to your Amazon Alexa account, using Amazon Alexa credentials.
Connect Alpaca to IFTTT.
Give IFTTT access to your Alpaca account, using Alpaca credentials.
Part II
Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.
Set up a Trigger action for Amazon Alexa
Choose the following trigger: Say a specific phrase (This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.).
Then set up an Action for Alpaca
Choose this action: Liquidate Positions (This action will liquidate all open positions.).
Part III
Finally, we need to test this automation and publish it.
Customize data flow
Configure the data that is exchanged between Amazon Alexa and Alpaca.
Test the workflow and turn it on for production use
Test your scenario and publish to production. Now you have an automatic workflow, that will Tell Amazon Alexa to help you liquidate your positions.!
List all the orders.
List all the positions.
Cancels the order.
Closes the position.
Get the account info.
Places a new order.
Deletes an Alexa skill.
Enables or disables an Alexa custom or music skill.
Performs an arbitrary authorized API call.
Simulates an Alexa skill.
Retrieves a list of all Alexa skills
This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.
IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.