What you can do with it
- Notify your backend when a customer enters a win-back flow, so support sees it in your CRM.
- Post to a Slack webhook when a VIP segment member abandons a large cart.
- Trigger a fulfillment-side action — add a gift, flag an account — when a flow milestone is reached.
- Feed your data warehouse with flow progress, joined later against revenue.
Configure a webhook step
- In the automation canvas, add a Webhook step where you want the call to fire.
- Enter the URL of your endpoint (HTTPS).
- The step sends the contact and event context as a JSON
POSTbody — the same data available to that point of the flow (contact profile fields, trigger event payload).
Building a reliable receiver
Express example
- Respond quickly with a 2xx. Do slow work (database writes, third-party calls) after acknowledging, not before.
- Expect retries and duplicates. Network blips can cause re-delivery — make your handler idempotent (dedupe on contact + step + timestamp).
- Validate what you receive. Treat the payload as untrusted input; check the fields you depend on exist before using them.
- Keep the URL secret-ish. Use an unguessable path or a query token (
/hooks/retainful?token=...) and reject calls without it.