You can edit any Applet to include a "cooldown period", where it won't fire for a time after running.
For example, let's say you have an Applet which sends you a notification whenever you enter or exit your home:
We will add a cooldown period so the Applet won't fire if you need to run back inside after leaving to collect something.
Step 1: Add a Google Sheets action
Click the + below your notification Applet and add the Google Sheets - Update a cell in a spreadsheet action. You can configure the action as follows:
Replace {appletId} with your Applet's ID. Your Applet should look like this:
Step 2: Create a second Applet
Go to Ifttt.com/create and select the Webhooks - Make a web request trigger. Configure the trigger as follows:
Add the Google sheets - Update a cell in a spreadsheet action, and configure it as follows:
Add a delay between the trigger and the action (click the + between the trigger and the action) and set it to your desired cooldown period length. I've gone with 20 minutes for my example. The final Applet should look like this:
Click Continue, name your Applet, then click Finish. Copy the Webhook URL located in your Applet's description:
Step 3: Add a Webhooks action to your original Applet
Click the + below your Google Sheets action and add the Webhooks - make a web request action. Paste the URL you've just copied into the URL field and don't change any of the other settings. Click Create action. Your Applet should look like this:
Step 4: Adding a query and filter code
Go back to the first Applet and click the + between your trigger and your actions. Click Query and add the Google Sheets - Current value of a cell Query. Configure it as follows:
Replace {yourSpreadsheetURL} with your Google Sheet's URL. You can find this in your Google Drive in the "IFTTT" folder.
Now we'll add filter code.
Click the + below your Query and click Filter code. Insert the following code:
// skip if in cooldown period
let ingredient = GoogleSheets.cellValue[0].Value;
let searchTerm = 'Recently ran';
if (ingredient.indexOf(searchTerm) !== -1) {
IfNotifications.sendNotification.skip()
GoogleSheets.updateCellInSpreadsheet.skip()
MakerWebhooks.makeWebRequest.skip()
}
Note: If you're not using a notification action like in my example, you'll need to update the following line to match your action:
IfNotifications.sendNotification.skip()
The final Applet should look like this:
To recap, the main Applet will only run if cell A1 in the spreadsheet reads "Ready to run". If it does run, it will perform the action, update the cell to "Recently ran", and send a web request to trigger the second Applet. The second Applet will wait 20 minutes (or your specified cooldown length), and then update the cell to "Ready to run". This will then allow the main Applet to run again, and the loop continues!