Back
Android SMS New SMS received matches search. Virtual Buttons Push a Virtual Button.

Trigger a Virtual Button when an SMS matches a keyword

Connect

How this automation works

Automate your Alexa setup by triggering a Virtual Button whenever a matching SMS arrives on your Android phone. This Applet runs when a new text message containing your chosen keyword is received, activating the Virtual Button you’ve selected. Ideal for connecting Android SMS alerts with Alexa routines for seamless smart home automation.

If
Android SMS icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive an SMS on your Android device that matches a search you specify.
ContactName Text OccurredAt FromNumber DeviceName
Then
Virtual Buttons icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.
virtual_button

Services used in this Applet

Create your own Android SMS and Virtual Buttons workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

8 triggers, queries, and actions

Any new SMS received

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive any new SMS on your Android device.

Any new SMS sent

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device.

New SMS received from phone number

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive an SMS on your Android device from a phone number you specify.

New SMS received matches search

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive an SMS on your Android device that matches a search you specify.

New SMS sent matches search

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device that matches a search you specify.

New SMS sent to phone number

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device to a phone number you specify.

Push a Virtual Button

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.

Send an SMS

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send an SMS from your Android device to any phone number you specify.

Any new SMS received

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive any new SMS on your Android device.

Any new SMS sent

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device.

New SMS received from phone number

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive an SMS on your Android device from a phone number you specify.

New SMS received matches search

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you receive an SMS on your Android device that matches a search you specify.

New SMS sent matches search

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device that matches a search you specify.

New SMS sent to phone number

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you send an SMS on your Android device to a phone number you specify.

Push a Virtual Button

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.

Send an SMS

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send an SMS from your Android device to any phone number you specify.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Android SMS and Virtual Buttons

About Android SMS

Android SMS is a native service that allows you to receive Short Message Service (SMS) messages on your device and send messages to other phone numbers. Standard carrier rates may apply. This service requires the IFTTT app for Android.

Explore Android SMS

More integrations with Android SMS

About Virtual Buttons

Trigger Alexa Routines with Virtual Buttons. Simply enable the Virtual Buttons Alexa skill and then use this service to unlock Alexa Routines as an IFTTT Action. To connect with this service, you must log in using a Patreon account. See www.virtualbuttons.com to learn more.

Explore Virtual Buttons

More integrations with Virtual Buttons

IFTTT helps all your apps and devices work better together

Get started for free