Schedule trigger
Schedule a custom Trickle trigger to run in the future.
Last updated
Schedule a custom Trickle trigger to run in the future.
Last updated
You can use this action to schedule a trigger to fire at some point in the future, at which point you can use one of the Scheduled trigger ready triggers to start a new workflow.
You can choose to attach a customer, order, product, or some custom data (or a combination of these) when scheduling a trigger.
Name | Description |
---|---|
Set a unique Trigger name
value when scheduling your triggers, so that you can filter using a workflow condition when it fires later. This will let you use multiple scheduled triggers across all of your workflows without causing confusion.
The Trigger schedule
input is quite flexible, and allows you to specify the time to schedule the future trigger in a variety of ways. Here are some examples:
"in 24 hours";
"3rd Wednesday in November";
"in 2 weekdays";
"22nd of June 2021 at 8am";
"2020-12-11 18:00:00".
Times are calculated in the timezone of the store Trickle is installed on. If the date you've specified is in the past or isn't recognised by Trickle, your scheduled trigger will still run - it will just default to running right away.
For the technically-minded among you, Trickle uses the chronic library under the hood for parsing dates, so any valid expression described in their documentation will work.
Trigger name
Required. A unique name, used to identify the type of trigger later when it fires.
Trigger schedule
Required. Define when in the future to run the trigger, using an expression ("in 24 hours") or a specific time ("7am on January 14th 2022").
Custom data
Optional. If you provide custom data here, it will be available in the "Scheduled trigger with data ready" trigger at the scheduled time.
Customer ID
Optional. If you provide a customer ID here, customer data will be available in the "Scheduled trigger with customer ready" trigger at the scheduled time.
Order ID
Optional. If you provide an order ID here, order data will be available in the "Scheduled trigger with order ready" trigger at the scheduled time.
Product ID
Optional. If you provide a product ID here, product data will be available in the "Scheduled trigger with product ready" trigger at the scheduled time.