Based on the provided documents, an end-to-end workflow in Shopify Flow involves a series of actions triggered by a specific event, such as a scheduled time or an order creation.
Here's an example of an end-to-end workflow:
- Trigger: The workflow starts with a trigger, such as a Scheduled time trigger (as seen in templates.json), which runs on a schedule, like every Monday at 9am.
- Get data: The next action is to get data, such as Get order data (as seen in templates.json), which retrieves a list of orders that match specific conditions.
- Loop: The workflow then uses a For each loop (as seen in triggers.json) to iterate over the retrieved data, performing actions on each item.
- Action: The workflow performs an action, such as Send internal email (as seen in templates.json), which sends an email with the retrieved data.
- End: The workflow ends after all actions have been completed.
This is a basic example, and actual end-to-end workflows can be more complex, involving multiple triggers, actions, and conditions.
For more information on creating end-to-end workflows in Shopify Flow, refer to the Shopify Flow documentation.