Trigger a Zoho CRM custom function (Deluge script) execution via the API

domain: www.zoho.com/crm/developer · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Write and save the custom function in Zoho CRM Setup > Automation > Functions, noting the API name (namespace) assigned to the function
  2. Authenticate and obtain an access token with the ZohoCRM.functions.execute.READ scope (some function invocations also require WRITE scope depending on what the function does internally)
  3. Execute the function via POST to /crm/v8/functions/<function_api_name>/actions/execute with a JSON body containing arguments as a key-value map matching the function's declared parameter names
  4. Inspect the response: a 200 with a code field of SUCCESS indicates the function executed; the output key contains any value the Deluge script returned via the return statement
  5. For functions that perform DML inside Zoho CRM, check the details object in the response for sub-operation success/failure rather than assuming the top-level 200 means all internal operations succeeded
  6. Use Zoho CRM's function execution logs (Setup > Functions > Logs) to debug failures — runtime errors in Deluge do not always surface in the API response body with full stack traces

Known gotchas

Related routes

Submit a Zoho CRM v8 bulk write job to upsert large datasets via the API
www.zoho.com/crm/developer · 6 steps · unrated
Bulk delete Zoho CRM records via API
www.zoho.com · 5 steps · unrated
Query Zoho CRM records using the COQL (CRM Object Query Language) API
www.zoho.com/crm/developer · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans