

For example, there are variables for the order number, order price, and customer name. They can describe the attributes of the customers, orders, and products that are involved in your workflows. Variables are placeholders that refer to information that's added when a workflow runs. Review the triggers and actions if you're not sure which triggers and actions you can use together in a workflow. The Add order tags action works with order data, not customer data, resulting in a context mismatch error. You follow that trigger with the Add order tags action. This trigger imports customer data into the workflow. If you select an action that doesn't share context with your selected trigger or the data from a Get action, then the workflow doesn't run and an error message is displayed.įor example, you create a workflow that starts with the Customer created trigger. The action used in a workflow must share context with the data in the workflow, which means that the data that the action requires to work is present in the workflow. A trigger or a Get action imports certain data from your store into a workflow, which is then used in the actions that follow it. Actions can also retrieve data from your store, send emails and Slack messages, and make HTTP webhook calls to external services.Īctions can only affect data that has been imported into the workflow. ActionsĪctions are tasks that can make changes in your Shopify store or in apps, or affect the data in a workflow.

They can check against the properties of the trigger event as well as properties of objects that are involved in the event, such as orders, products, and customers. Conditions are like the start of an if-then statement. ConditionsĬonditions start actions only when certain conditions are met. For each trigger, there is a list of related actions that you can use in your workflow. A trigger can an internal event in Shopify, a specific time and date, or an external event within a third-party application. Triggers are events that start workflows.
