Return processed

The Return processed trigger starts a workflow when a return is processed.

Data provided

The following data is provided to workflows that start with the Return processed trigger.

Data that is provided to workflows with the trigger.
DataDescription
ReturnThe return resource related to the trigger. Allows accessing data on the GraphQL Admin API Return object

Testing the trigger

To test the trigger, you need to create a draft order and process a return.

Steps:

  1. From your Shopify admin, create a draft order.
  2. Fulfill the order.
  3. Create a return.
  4. In the Shopify admin, process the return.

Actions

The Return processed trigger provides a return object and lets you use any action that requires a return. You can also use this trigger with the following order actions:

You can also access other data such as customer data, and use with the following customer actions:

Orders also contain lists of data such as line items. Using the For each action, you can loop through these lists and perform actions on each item. For example, you can loop through the line items and add a tag to each product.