Refund created
The Refund created trigger starts a workflow when a user in your organization or a third-party app partially or completely refunds an order.
On this page
Actions
This trigger provides an order, so it enables you to use any action that requires an order, including:
- Add order line item
- Add order tags
- Archive order
- Cancel order
- Capture payment
- Hold fulfillment order
- Mark order as paid
Orders allow you to access other data like the customer, so it can be used with customer actions. These include:
- Add customer tags
- Remove customer metafield
- Remove customer tags
- Update customer metafield
- Update customer note
Orders also contain lists of data like line items. Using a 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.
Testing the Refund created trigger
To test a workflow that starts with this trigger, create a test order and then create a return for it.
API details
The Refund created trigger allows actions to be taken with the Order Graphql API object.
Templates
Add to Nosto segment when customer gets a refund
Add customer to Nosto personalization segment after a return is processed for their order. View template
Prompt customer reachout for high value returns
Gain customer experience insights by tagging high value returns and prompting staff to contact customer. View template
Send browser push notification when refund is processed
Send a browser push notification to a PushOwl subscriber when a refund for a previous order has been created. View template
Tag and create a support ticket after a refund
Tag and create a support ticket in Gorgias after a refund. View template
Track how often customer have gotten refund in customer metafield
Sets a metafield on a customer when the customer has at least one item being refunded. This workflow also shows how to get the value of an integer metafield and then add a number to it. View template