Skip to main content
If your organization already uses an integration or automation platform, you can route events to Emma through it rather than connecting systems directly. The orchestration layer receives events, transforms payloads, applies routing logic, and calls Emma’s APIs — letting your existing platform stay responsible for connectivity and data transformation.

What the orchestration layer does

Receive events

Accepts webhook events from your EMR, forms platform, or other systems.

Transform payloads

Reshapes and enriches data to match the format Emma expects.

Call Emma's APIs

Forwards the processed event or request to Emma with the correct authentication headers.

Route outcomes

Takes Emma’s response and delivers it to CRM, EMR, or any downstream system.

Compatible platforms

Any platform that can receive a webhook and make an HTTP call works with Emma. Commonly used platforms include:
  • n8n
  • Workato
  • MuleSoft
  • Boomi
  • Custom middleware (Node.js, Python, etc.)
Emma provides ready-made relay templates for n8n. See the Abandonment Recovery guide for a step-by-step example of connecting a telehealth platform to Emma using the n8n relay template.

Example: n8n relay flow

The n8n relay template normalizes a platform webhook and forwards it to Emma. The flow passes through five nodes:
The relay handles three things your source platform may not support natively:
  • Adding Emma’s inbound secret header to every outbound request
  • Normalizing the payload shape to match what Emma expects
  • Distinguishing between forms.abandoned and forms.completed event types so each is routed correctly
Set the following environment variables in your n8n instance before activating the relay:

When to use orchestration

Use orchestration when you want your existing integration platform to own the routing and transformation logic. If you’re connecting directly from a single system that can make HTTP calls, the REST API or a direct webhook subscription may be simpler.

Abandonment Recovery

Full walkthrough using an n8n relay to connect a telehealth platform to Emma.

Choosing a Method

Decide when orchestration is the right fit versus a direct integration.