Trickle Docs
  • Trickle
  • Getting started
  • Frequently asked questions
  • Triggers
    • Scheduled trigger ready
    • Customer tags changed
    • Product tags changed
    • Order cancelled (deprecated)
  • Actions
    • Schedule trigger
    • Add order line item
    • Send advanced HTTP request (deprecated)
  • Extras
    • Hooks
  • Privacy Policy
Powered by GitBook
On this page
  • Trigger properties
  • Notes
  • Example use
  1. Triggers

Scheduled trigger ready

A previously scheduled trigger has reached its target time and is ready to run.

PreviousFrequently asked questionsNextCustomer tags changed

Last updated 3 years ago

Trickle's scheduled trigger feature allows you to introduce delays and time-based logic to your workflows, as well as start workflows inside Shopify Flow based on webhooks sent from external sources.

To schedule a future trigger from within Shopify Flow, use the action in one workflow to set up a trigger to run at some point in the future.

To start a workflow inside Shopify Flow from an external system, you can use Trickle's feature to receive a HTTP request sent by a third party.

In both cases, at the scheduled time Trickle will fire a "Scheduled trigger ready" trigger you can use 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. As a result of Shopify Flow's architecture, this means that the "ready" trigger could actually be one of four unique triggers:

  • Scheduled trigger with custom data ready;

  • Scheduled trigger with customer ready;

  • Scheduled trigger with order ready; or

  • Scheduled trigger with product ready.

A single "Schedule trigger" action could result in one or more of these triggers firing at the specified time.

Trigger properties

Name
Description

Trigger name

The unique name used to identify this trigger at the time it was scheduled.

Custom data

Any custom data that was passed at the time the trigger was scheduled. (Only passed for the "Scheduled trigger with custom data ready" variant of the trigger.)

Customer

Any customer that was passed at the time the trigger was scheduled. All customer properties (name, email, etc) are available. (Only passed for the "Scheduled trigger with customer ready" variant of the trigger.)

Order

Any order that was passed at the time the trigger was scheduled. All order properties (name, total price, etc) are available. (Only passed for the "Scheduled trigger with order ready" variant of the trigger.)

Product

Any product that was passed at the time the trigger was scheduled. All product properties (title, description, etc) are available. (Only passed for the "Scheduled trigger with product ready" variant of the trigger.)

Notes

You can use the Trigger name property to distinguish between different types of scheduled workflows. See the example below.

Example use

Schedule trigger
Hooks
Removes an "Afterpay" tag from an order 24 hours after placement.