Amazon Alexa
Particle
ifttt

An automated workflow using ifttt

Connects Amazon Alexa + Particle

Use Alexa to Toggle Power

About this workflow template

This automation scenario allows you to connect Amazon Alexa and Particle

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.

Amazon Alexa and Particle can also be integrated using automation tools other than ifttt:

Diagram

Use Alexa to Toggle Power
Workflow diagram: Amazon Alexa + Particle integration

How it works?

When this trigger fires in Amazon Alexa

Amazon Alexa

Say a specific phrase 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 Particle

Particle

Call a function in Particle

This Action will call a function on one of your Devices, triggering an action in the physical world.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Use Alexa to Toggle Power.

Part I

Configure Applications

First, we need to connect Amazon Alexa and Particle to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Amazon Alexa to IFTTT.

    Connect Amazon Alexa to IFTTT.

    Give IFTTT access to your Amazon Alexa account, using Amazon Alexa credentials.

  • Connect Particle to IFTTT.

    Connect Particle to IFTTT.

    Give IFTTT access to your Particle account, using Particle credentials.

Part II

Build an integration workflow

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

    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 Particle

    Then set up an Action for Particle

    Choose this action: Call a function (This Action will call a function on one of your Devices, triggering an action in the physical world.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Amazon Alexa and Particle.

  • Test the workflow and turn it on for production use

    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 Use Alexa to Toggle Power!

Supported triggers and actions

  • Amazon Alexa

    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.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Trigger phrase spoken

    Triggers when you ask Alexa to trigger a zap with your trigger phrase. Requires the Zapier skill on an Alexa enabled device.

    zapier
    triggerbyzapier
  • Amazon Alexa

    Item added to your to do list

    This Trigger fires every time you add an item to your To Do List.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Your alarm goes off

    This Trigger fires every time your alarm goes off.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Item added to your shopping list

    This Trigger fires every time you add an item to your Shopping List.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Your timer goes off

    This Trigger fires every time your timer goes off.

    ifttt
    triggerbyifttt
  • Particle

    Call a function

    This Action will call a function on one of your Devices, triggering an action in the physical world.

    ifttt
    actionbyifttt
  • Particle

    Publish an event

    This Action publishes an event back to your Device(s), which you can catch with particle.subscribe.

    ifttt
    actionbyifttt
  • Particle

    New event published

    This Trigger fires when an interesting event comes from a particular device. Send events using Particle.publish.

    ifttt
    triggerbyifttt
  • Particle

    Monitor your device status

    This Trigger fires when your device changes states (i.e. when it goes online or offline.) Useful for detecting the power is out, when the internet is down, or when your Particle device sleeps much of the time.

    ifttt
    triggerbyifttt
  • Particle

    Monitor a variable

    This Trigger fires when a value on your Particle device changes to something interesting. Include particle.variable in your Particle code.

    ifttt
    triggerbyifttt
  • Particle

    Monitor a function result

    This Trigger checks a function on your device to see if something interesting is happening.

    ifttt
    triggerbyifttt

Apps you need

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

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.