Add this first. This tool needs an access token, so add Get Zoho CRM Access Token to the same bot. The bot calls it first and passes the token in.
What the model is told
Update the phone number on an existing Zoho CRM contact. Find the contact's ID first with Find Zoho CRM Contact by Email, and confirm the new number with the customer by reading it back. Returns the update status.
Request
PUThttps://YOUR_ZOHO_API_DOMAIN/crm/v8/Contacts/{{contactId}}
Headers
AuthorizationZoho-oauthtoken {{accessToken}}Content-Typeapplication/json
Body
{
"data": [
{
"id": "{{contactId}}",
"Phone": "{{phone}}"
}
]
}Parameters
contactId stringThe Zoho CRM ID of the contact, from Find Zoho CRM Contact by Email.phone stringThe new phone number in international format.accessToken stringThe access_token value returned by Get Zoho CRM Access Token. Reuse it for the rest of the conversation.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "3e8055ca-1b40-4db6-8370-164200842cef",
"type": "HTTP_REQUEST",
"label": "Update Zoho CRM Contact Phone",
"name": "update_zoho_crm_contact_phone",
"customName": false,
"description": "Update the phone number on an existing Zoho CRM contact. Find the contact's ID first with Find Zoho CRM Contact by Email, and confirm the new number with the customer by reading it back. Returns the update status.",
"parameters": [
{
"name": "contactId",
"type": "string",
"description": "The Zoho CRM ID of the contact, from Find Zoho CRM Contact by Email."
},
{
"name": "phone",
"type": "string",
"description": "The new phone number in international format."
},
{
"name": "accessToken",
"type": "string",
"description": "The access_token value returned by Get Zoho CRM Access Token. Reuse it for the rest of the conversation."
}
],
"config": {
"endpoint": {
"method": "PUT",
"url": "https://YOUR_ZOHO_API_DOMAIN/crm/v8/Contacts/{{contactId}}"
},
"headers": [
{
"name": "Authorization",
"value": "Zoho-oauthtoken {{accessToken}}"
},
{
"name": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"data\": [\n {\n \"id\": \"{{contactId}}\",\n \"Phone\": \"{{phone}}\"\n }\n ]\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.