The Returnflows webhook integration lets you send real-time return and shipment events to your own system β like ERP, data warehouse, or notification tools.
π§° What is a webhook?
A webhook is a live data trigger that sends structured JSON payloads to a URL you define.
Whenever a selected event happens, weβll notify your system instantly.
Perfect for syncing return data with ERP, updating order status, or triggering internal flows.
β How to activate the integration
π Webhook Setup
Youβll now be asked to fill in:
Webhook URL
The endpoint URL to receive the data
β Example: https://erp.example.com/return-notify
Secret Key
A string used to sign all payloads
β Use HMAC to validate webhook origin
π Events you can subscribe to
When using the webhook integration in Returnflows, you can subscribe to the following events:
Event | Description |
| A return was created by the customer |
| The return was created and is ready for processing |
| The return has been internally processed |
| The return was canceled |
| The return or order was paused |
| The return was resumed (unpaused) |
| The return was completed and closed |
| Exchange was released due to Instant Exchange |
| The return was reset |
| A return label was generated |
| Auto-close countdown started |
| Auto-close was canceled (e.g., due to missing tracking) |
| Return was successfully auto-closed |
| Auto-close failed (e.g., due to refund error) |
| Shipment is in transit |
| Shipment has been delivered |
π§ͺ Payload format & signing
Payload is sent as JSON
Headers include an HMAC signature
Sign using your Secret Key to validate the source
π Retry logic
If your endpoint doesnβt respond with 200 OK, Returnflows retries automatically (with backoff).
π‘ Use cases
Push return data to ERP/CRM
Sync order status with internal tools
Log return metrics in your BI stack
Send internal alerts via Slack, Teams etc.
π Need help?
Need help building your webhook endpoint or testing payloads?
π¬ Chat with us β weβre happy to assist with your setup.