Skip to main content
Emma’s Abandonment Recovery workflow automatically contacts patients who drop off during a telehealth checkout. When your forms platform fires an abandonment event, Emma creates a recovery case, calls the patient, identifies what stopped them, and helps them finish — posting the outcome back to your system when the call ends.
Integration method: webhooks via a workflow orchestration relay, with outcomes returned by outbound webhook.

Prerequisites

  • An Emma account with the No-Code Automation feature enabled
  • Access to your telehealth platform’s webhook settings
  • An orchestration tool such as n8n (or another platform that can receive and forward webhooks)

Setup

Enable automation in Emma

Where: Emma → Integrations → No-Code AutomationOpen the No-Code Automation panel, generate an inbound secret, and optionally add your outbound webhook URL so Emma knows where to POST outcomes. Select Save & Enable, then copy your two inbound URLs — you’ll need them when you configure the relay and your platform.
api.emma.example is a placeholder. Your production base URL and clinicId are shown on the Emma Integrations page.

Import the relay template

Where: your orchestration layer (for example, n8n)Most platforms can’t add Emma’s secret header to their outgoing webhooks, so a relay sits in between. Import Emma’s ready-made relay template into your orchestration tool and configure three environment variables:
Relay environment variables
Once configured, the relay handles the rest automatically: it receives the platform’s POST, identifies the event type (abandoned or completed), normalizes the payload, adds the x-n8n-secret header, calls the correct Emma inbound URL, and returns 200 OK to the platform.

Subscribe to form events

Where: your telehealth platform’s webhook settingsSubscribe to two events: forms.abandoned triggers a new recovery case, and forms.completed cancels any pending recovery case so Emma doesn’t call a patient who already finished.

A patient abandons checkout

Where: automated — no action requiredWhen a patient drops off, the platform fires forms.abandoned, the relay forwards it to Emma, and Emma opens a recovery case. Emma waits briefly to confirm the patient hasn’t returned on their own, then places the outbound call.The full request Emma receives from the relay, and the response it returns, look like this:

The outcome is posted back

Where: your outbound webhook URL (configured in step 1)When the call ends, Emma POSTs the outcome to your outbound webhook URL. Use it to tag the lead in your CRM, notify your team, or update the platform’s record for the session.
POST → your outbound URL
The recoveryStatus field tells you exactly where things landed:
All names, phone numbers, and IDs on this page are sample data.