Button widget Button press. Gmail Send yourself an email.

Sample: Filter code that limits when an applet runs each day

960
Connect

How this automation works

Tap the button and this applet emails you filter code. The code can be used in your own applet to set a time range for when the applet runs*. The time range can be during the day, e.g., 8am-5pm, or span midnight, e.g., 10pm-6am. * Note: Filter code only limits when the action (the 'That') runs. For example, this applet uses the filter code and does not send emails if you press the button between 11am-1pm (sorry :) However, the applet does run - it writes a skip message to the activity log.

If
Button widget

Button press

Polling trigger This trigger fires every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
When

Filter Code

Then
Gmail

Send yourself an email

Action This action will send yourself an email. HTML, images and links are supported.
subject body attachment_url

Services used in this Applet

Create your own Gmail and Button widget 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.

3 triggers, queries, and actions

Button press

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time you press the button.

Send an email

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 email to up to twenty recipients from your Gmail account.

Send yourself an email

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 yourself an email. HTML, images and links are supported.

Button press

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time you press the button.

Send an email

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 email to up to twenty recipients from your Gmail account.

Send yourself an email

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 yourself an email. HTML, images and links are supported.

Build an automation in seconds!

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

More on Gmail and Button widget

About Gmail

Connect Gmail to send emails to yourself and others.

Learn more

More integrations with Gmail

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Learn more

More integrations with Button widget

IFTTT helps all your apps and devices work better together

Get started for free