Most Applets run every time their Trigger fires. A filter adds a check first, so your Applet only goes ahead when the conditions you set are met.
Priya gets order emails at all hours, but she only wants a notification during the workday. Her Applet has a filter that lets the notification through on weekdays between 9 AM and 6 PM. Orders that arrive at night or on a weekend are still in her inbox, but her phone stays quiet.
A filter is a short piece of code that checks something about your Applet, like the time of day or what an ingredient says. If the check passes, your Actions run. If it doesn't, you can skip them.
You don't need to write the code yourself. IFTTT can generate it from a plain description.
- Build your Applet with a Trigger and an Action.
- Add a filter.
- Describe what should happen in plain words, like "only send notifications on weekdays between 9 AM and 6 PM."
- Review the code the generator writes.
- Finish the Applet.
You can also build a filtered Applet in chat by describing the condition in your prompt.
"When I get a new email, send me a notification, but only on weekdays between 9 AM and 6 PM."
Take a moment to read the code before you save it. You are looking for the condition, the thing it compares and what happens when the answer is no.
In Priya's filter, the condition is the current day and hour. If it falls outside weekdays and working hours, the filter skips the notification.
A filter runs after your Trigger and any Queries, and before any delay or Actions. That means it can use the Trigger's ingredients and your query results to decide what to do.
To stop an Action from running, a filter uses a skip. The skip code for each Action in your Applet appears next to the filter editor, so you can copy the one you need.
A skipped Applet shows up in your activity log as skipped, not failed. That is how you can tell your filter did its job.