> This page is for version v2.
> For other versions, use one of these documentation indexes:
> - v1 (default): https://doc.youratlas.com/v1/llms.txt
> - v2: https://doc.youratlas.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://doc.youratlas.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://doc.youratlas.com/_mcp/server.

# Keragon

Keragon builds workflows for healthcare teams. Atlas is an app in Keragon. An automation can start when a call starts or ends, and an automation can start an outbound call. Sign in to your Atlas account in Keragon once and approve it.

## Where to start

* **In Atlas:** the Keragon card is on the **External Actions** tab of the **External Actions** page. It has a **View guide** link. The sidebar doesn't list this page. Open it from the **Open Global Actions** link at the bottom of the action picker on an action step in a job's workflow. White-label accounts don't show the tab.
* **In Keragon:** add an Atlas trigger or action to an automation and sign in with your Atlas account when asked.

## Trigger: Call State Changed

One trigger covers both ends of a call. When you set it up you choose:

* **Job:** one of your Atlas jobs. Your automation tool may label this with an older name for a job. The fields hold the job's ID, name and type.
* **Event:** `call_started` (a call begins) or `call_completed` (a call ends).

| Field                                                              | `call_started` | `call_completed` |
| ------------------------------------------------------------------ | -------------- | ---------------- |
| Job Id, Job Name, Job Type                                         | Yes            | Yes              |
| Agent Id, Agent Name, Call Id                                      | Yes            | Yes              |
| Customer Number, Customer Name                                     | Yes            | Yes              |
| Customer Email                                                     | No             | Yes              |
| Call Summary, Call Transcript, Audio Url                           | No             | Yes              |
| Started At, Ended At                                               | No             | Yes              |
| Duration Ms, Duration Seconds, Duration (`durationMinutes`)        | No             | Yes              |
| Status: `Ongoing`, `Accepted`, `Rejected` or `Missed`              | No             | Yes              |
| Ended Reason: why the call ended, as the voice provider reports it | No             | Yes              |

Job Type is `outbound`, `inbound`, `voice-bubble`, `iMessage` or `unknown`.

Chat events go through webhooks. See [Developers: webhooks](/v2/developers/webhooks).

## Action: Start Call

Starts an outbound call from an Atlas job.

| Field               | Required | What to enter                                                           |
| ------------------- | -------- | ----------------------------------------------------------------------- |
| Job                 | Yes      | One of your Atlas jobs. It must be an outbound job with a phone number. |
| Phone Number        | Yes      | The number to call, with the + and country code, like +1 555 0100.      |
| Customer First Name | Yes      | The name your agent uses.                                               |
| Customer Last Name  | No       | The last name.                                                          |
| Scheduled Date      | No       | When to call. Leave it blank and the call starts right away.            |

## Build your first automations

### Log completed calls to an outside database

1. Start an automation with the Atlas **Call State Changed** trigger.
2. Pick the job and choose `call_completed` as the event.
3. Add a database connector action.
4. Map the call fields to your database columns.
5. Save and turn the automation on.

### Call a lead after a form submission

1. Start with a form trigger.
2. Add the Atlas **Start Call** action.
3. Map the form fields to Job, Phone Number and Customer First Name.
4. Set Scheduled Date if you want the call later.
5. Save and turn the automation on.

### Send a notice when a call starts

1. Start with the Atlas **Call State Changed** trigger. Pick the job and choose `call_started` as the event.
2. Add a notification action, such as email or a messaging service.
3. Write a message with call data, such as Job Name and Customer Name.
4. Save and turn the automation on.

## Troubleshooting

* If Start Call is rejected with "Out of credits. Buy credits or turn on auto top-up to continue.", select **Buy credits** under **Plan & credits**, or turn on **Automatic top-up**.
* If it is rejected with "is an invalid phone number", send the number in E.164 format: a + and the country code, with no spaces or dashes.
* If it is rejected with "Only outbound campaigns can create a schedule", the job you picked is not outbound. Pick an outbound job.
* If it is rejected with "does not have a PhoneNumberId associated with it", attach a phone number to the job. See [Phone numbers and Twilio](/v2/integrations/popular/phone-numbers-and-twilio).
* If Keragon answers a delivery with any status other than 200, Atlas counts the delivery as failed. Atlas does not unsubscribe the trigger.
* If a job's workflow has steps for the way a call ended, `call_completed` triggers set on that one job don't fire for that call. See [Automation platforms and webhooks](/v2/integrations/automation#use-them-inside-a-jobs-workflow).

Test every automation before you turn it on. Use filters so it runs only for the calls you care about.