An Alexa skill for the Amazon Echo or other Alexa-enabled devices for placing a Chipotle online order.
You: "Alexa, use Chipotle to place an order."
Alexa: "Ok, It looks like last time you ordered a chicken burrito bowl... Would you like to order this again?"
You: "Yes."
Alexa: "Your order will be ready at 7:30 PM. To place this order, please say confirm."
You: "Confirm."
Alexa: "Your order will be ready at 7:30 PM at the location on 5699 S. Broadway. Enjoy your meal!"
This isn't an official Alexa skill that can be installed via the Alexa app. This is mainly due to the way authentication works with the Chipotle API, and Amazon has certain requirements for how skills should authenticate with 3rd party APIs. So, to use this skill you need to:
- Create the Lambda function on AWS
- Register an Alexa device for testing
- Register the custom skill in the developer portal (specifying the ARN of the Lambda function you created as the Endpoint).
This skill requires you to create a configuration file specifying your Chipotle credentials and preferred location. This needs to be entered into a profile.json
file which will get packaged up with the rest of the Lambda code in this project. An example file is here. Once the file is created, you can build a package for deploying to Lambda:
-
Run
npm run zip
to create abuild.zip
file for uploading. -
Upload the
build.zip
file to the Lambda console.
All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.