> ## Documentation Index
> Fetch the complete documentation index at: https://help.cloudtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Triggering a VoiceAgent Call from Zoho CRM

> Automate outbound VoiceAgent calls directly from Zoho CRM

<Note>
  In this guide, you will learn how to automatically trigger a CloudTalk VoiceAgent call from Zoho CRM using Workflow Rules.
</Note>

**User level**: Admin

***

<h2 id="h_before_you_start">
  Before you start
</h2>

You will need:

* A CloudTalk VoiceAgent already created (note the VoiceAgent ID)

* CloudTalk API credentials (API Key and Secret) found in **Company Settings > Integrations > API** ([How to access and generate your CloudTalk API keys](/en/articles/15272380-how-to-access-and-generate-your-cloudtalk-api-keys))

* Zoho CRM **Professional plan** or above

* A phone field available on Contact or Lead records

<h2 id="h_generate_auth">
  Generate the Authorization header
</h2>

CloudTalk uses Basic Authentication for API requests.

1. Open [https://www.debugbear.com/basic-auth-header-generator](https://www.debugbear.com/basic-auth-header-generator)

2. Enter your **CloudTalk API Key** as Username and your **API Secret** as Password

3. Copy the generated value. It looks like: `Basic XXXXXXXXX`

<h2 id="h_setup">
  Set up the integration
</h2>

<h3 id="h_create_webhook">
  Create the Webhook
</h3>

1\. In Zoho CRM, click the **Gear icon** in the top right corner, then go to **Automation > Actions > Webhooks**

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/98feae8fe1a4-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=c66f0979edeb7832e8f6616f11539e01" alt="" width="2840" height="1160" data-path="images/help-center/articles/15516182/98feae8fe1a4-image.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/73f55ba967b7-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=88bd7e10c27198c0b30f581ff28cba2e" alt="" width="2384" height="544" data-path="images/help-center/articles/15516182/73f55ba967b7-image.png" />
</Frame>

2\. Click **Configure Webhook**

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/c29a495b2b90-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=1fc63b01d658701a43e6dfce477807bf" alt="" width="2384" height="530" data-path="images/help-center/articles/15516182/c29a495b2b90-image.png" />
</Frame>

3\. Fill in the webhook details:

| **Field** | **Value** |
| - | - |
| Name | CloudTalk VoiceAgent |
| URL to Notify | `https://api.cloudtalk.io/v1/voice-agent/calls` |
| Method | POST |
| Authorization Type | General |
| Module | Contacts or Leads |

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/4a5c1aef7583-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=a28db82730d3f7679e9ffb17a0c66e40" alt="" width="1385" height="949" data-path="images/help-center/articles/15516182/4a5c1aef7583-image.png" />
</Frame>

4\. Under **Custom Headers**, add:

* `Authorization` → `Basic XXXXXXXXX` (your generated value)

* `Content-Type` → `application/json`

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/5242d55f0b27-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=553381a3ed9fd980e2c3a4d21af4a47b" alt="" width="1644" height="514" data-path="images/help-center/articles/15516182/5242d55f0b27-image.png" />
</Frame>

5\. Under **Body**, set **Type** to Raw and **Format** to JSON, then paste:

```json theme={"system"}
{  "call_number": "${Contacts.Phone}",  "voice_agent_id": "YOUR_VOICE_AGENT_ID"}
```

<Warning>
  `call_number` and `voice_agent_id` are the only mandatory fields. You can also pass optional `call_properties` such as system prompt variables and output variables, depending on your VoiceAgent configuration. [Learn what to include](/en/articles/11401649-voiceagents-for-outbound-calls)
</Warning>

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/5dae1c82d009-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=eeb1d0596d12ab9a036373e3e3ca726f" alt="" width="2298" height="474" data-path="images/help-center/articles/15516182/5dae1c82d009-image.png" />
</Frame>

6\. Click **Save**

<h3 id="h_create_rule">
  Create the Workflow Rule
</h3>

1\. Click the **Gear icon** in the top right corner, then go to **Automation > Workflow Rules**

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/801053f501d3-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=bcca196dfb6b5f1365ed0d7a3ded13f5" alt="" width="2856" height="1114" data-path="images/help-center/articles/15516182/801053f501d3-image.png" />
</Frame>

2\. Click **Create Rule**

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/5ef19e32b2ee-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=c3e2c947e6af57bfcdc914cca28bf0de" alt="" width="2850" height="874" data-path="images/help-center/articles/15516182/5ef19e32b2ee-image.png" />
</Frame>

<Warning>
  **Note:** Webhooks are available from Zoho CRM Professional edition and above.
</Warning>

3\. Configure the rule:

* Select the **module** (e.g. Contacts or Leads) and give the rule a name

* Set the **trigger** (e.g. a record is created, a field is modified)

* Add **conditions** to filter records (e.g. phone field is not empty)

* Under **Instant Actions**, add: **Webhook > CloudTalk VoiceAgent**

4\. Click **Save** and then **Activate** the rule

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/51a5a32cd713-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=c7d4b1550da7b824c867024705ed11b0" alt="" width="2016" height="1258" data-path="images/help-center/articles/15516182/51a5a32cd713-image.png" />
</Frame>

<h3 id="h_test_verify">
  Test and verify
</h3>

1. Create or update a Contact that meets your trigger conditions

2. Go to **Gear icon > Automation > Workflow Rules**, select your rule, and click **View Usage** to check execution

3. Verify in CloudTalk that the VoiceAgent call was initiated

**You're all set!** 🚀 Your Zoho CRM workflow will now trigger a CloudTalk VoiceAgent call whenever a record meets your chosen conditions.

<Info>
  💡 **API Limits to Keep in Mind**

  *To avoid failures or throttling, make sure your workflow handles call distribution carefully. Use delays or scheduling logic where needed, as the standard API rate limit (60 requests per minute) applies to the VoiceAgent endpoint.*
</Info>

<h2 id="h_troubleshooting">
  Troubleshooting
</h2>

If the VoiceAgent call was not made, go to **View Usage** and click **Failures**. Find your record and check the **Reason For Failures** column.

<Frame>
  <img src="https://mintcdn.com/cloudtalk/akDGinDOBsihWn_p/images/help-center/articles/15516182/f6fcd150ee27-image.png?fit=max&auto=format&n=akDGinDOBsihWn_p&q=85&s=186290eea2a7b0d1b57b663a9c28e4dd" alt="" width="2828" height="1232" data-path="images/help-center/articles/15516182/f6fcd150ee27-image.png" />
</Frame>

| **Error** | **What to check** |
| - | - |
| **Authorization** | Incorrect CloudTalk API credentials in the webhook — regenerate and re-enter them |
| **Phone format** | Ensure the number is in E.164 format (`+1234567890`) |
| **Incorrect VoiceAgent ID** | Verify the `voice_agent_id` in the webhook body is correct |
| **Webhook not triggered** | Check that the workflow rule is active and its conditions were met |

***

Need help or have a question? Reach out through our [Support portal](https://support.cloudtalk.io/hc/en-us/requests/new?ticket_form_id=26305535257884). We're here for you.


## Related topics

- [Triggering a VoiceAgent Call from Zoho Desk](/en/articles/15442851-triggering-a-voiceagent-call-from-zoho-desk.md)
- [Triggering a VoiceAgent Call from Freshworks CRM](/en/articles/15477534-triggering-a-voiceagent-call-from-freshworks-crm.md)
- [Triggering a VoiceAgent Call from Zapier](/en/articles/11831224-triggering-a-voiceagent-call-from-zapier.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.