{"id":4327,"date":"2026-05-29T21:35:27","date_gmt":"2026-05-29T21:35:27","guid":{"rendered":"https:\/\/aaxonix.com\/resources\/?post_type=glossary&#038;p=4327"},"modified":"2026-05-29T21:35:27","modified_gmt":"2026-05-29T21:35:27","slug":"custom-function-zoho-desk","status":"publish","type":"glossary","link":"https:\/\/aaxonix.com\/resources\/glossary\/custom-function-zoho-desk\/","title":{"rendered":"Custom Function (Desk)"},"content":{"rendered":"<style>\n.gt-body{font-family:'Poppins',sans-serif;color:#111;line-height:1.75}\n.gt-def{border-left:4px solid #E8650A;padding:16px 20px;background:#fff8f4;border-radius:0 8px 8px 0;margin:0 0 32px;font-size:1.05rem}\n.gt-section{margin:0 0 36px}.gt-section h2{font-family:'Fraunces',serif;color:#0A1628;font-size:1.5rem;margin:0 0 12px}\n.gt-example-box{background:#f0f4ff;border-radius:10px;padding:20px 24px;margin:0 0 32px}.gt-example-box strong{color:#2563EB}\n.gt-related-pills{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 32px}\n.gt-related-pill{background:#f7f4ef;border:1px solid #ddd8cf;border-radius:20px;padding:6px 16px;font-size:.875rem;color:#0A1628;text-decoration:none}\n.gt-faq-item{border:1px solid #ddd8cf;border-radius:10px;padding:16px 20px;margin:0 0 12px}\n<\/style>\n<div class=\"gt-body\">\n<div class=\"gt-def\">A custom function in Zoho Desk is a snippet of Deluge script code that executes complex logic when triggered by a workflow action or Blueprint transition. Custom functions extend Zoho Desk&#8217;s native automation beyond what built-in actions can achieve.<\/div>\n<div class=\"gt-section\">\n<h2>What Custom Functions Can Do<\/h2>\n<p>Custom functions can interact with any Zoho API, perform calculations, fetch data from external systems, update multiple records simultaneously, send formatted messages to communication tools, or execute multi-step logic that built-in workflow actions cannot handle.<\/p>\n<\/div>\n<div class=\"gt-section\">\n<h2>Deluge Scripting Language<\/h2>\n<p>Custom functions in Zoho Desk are written in Deluge, Zoho&#8217;s proprietary scripting language. Deluge provides built-in functions for API calls, date manipulation, string handling, and data formatting. The Zoho Desk custom function editor includes a testing tool to validate code before deployment.<\/p>\n<\/div>\n<div class=\"gt-section\">\n<h2>Custom Functions in Blueprints and Workflows<\/h2>\n<p>Custom functions are triggered from workflow actions or Blueprint transitions. For example, when a warranty claim ticket transitions to &#8216;Approved&#8217;, a custom function can call the ERP API to create a replacement order, update a custom field in Zoho Desk with the order number, and send a confirmation email.<\/p>\n<\/div>\n<div class=\"gt-example-box\"><strong>Example:<\/strong> A manufacturing company&#8217;s warranty approval Blueprint transition runs a custom Deluge function that: calls their ERP API to create a replacement order, retrieves the order number from the ERP response, updates the Zoho Desk ticket&#8217;s custom &#8216;Order Number&#8217; field, and sends a confirmation email to the customer.<\/div>\n<div class=\"gt-related-pills\"><a href=\"https:\/\/aaxonix.com\/resources\/glossary\/zoho-desk-api\/\" class=\"gt-related-pill sp-content-link\">Zoho Desk API<\/a><br \/>\n<a href=\"https:\/\/aaxonix.com\/resources\/glossary\/webhook-zoho-desk\/\" class=\"gt-related-pill sp-content-link\">Webhook (Desk)<\/a><br \/>\n<a href=\"https:\/\/aaxonix.com\/resources\/glossary\/blueprint-transition-zoho-desk\/\" class=\"gt-related-pill sp-content-link\">Blueprint Transition (Desk)<\/a><br \/>\n<a href=\"https:\/\/aaxonix.com\/resources\/glossary\/workflow-action-zoho-desk\/\" class=\"gt-related-pill sp-content-link\">Workflow Action (Desk)<\/a>\n<\/div>\n<div class=\"gt-faq-item\"><strong>What is a Custom Function in Zoho Desk?<\/strong><\/p>\n<p>A custom function is a Deluge script that executes complex logic when triggered by a workflow action or Blueprint transition. It extends Zoho Desk automation by enabling API calls, data calculations, and multi-step processes beyond built-in action types.<\/p>\n<\/div>\n<div class=\"gt-faq-item\"><strong>What scripting language is used for Zoho Desk custom functions?<\/strong><\/p>\n<p>Zoho Desk custom functions are written in Deluge, Zoho&#8217;s proprietary scripting language. Deluge supports API calls, data manipulation, and conditional logic. The built-in editor includes a testing environment to validate functions before activating them.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Custom functions in Zoho Desk are Deluge scripts triggered by workflows or Blueprints, extending automation with API calls and complex multi-step logic.<\/p>\n","protected":false},"template":"","meta":{"seo_title":"Custom Function (Desk) | Zoho Desk Glossary","seo_description":"Custom functions in Zoho Desk are Deluge scripts triggered by workflows or Blueprints, extending automation with API calls and complex multi-step logic.","seo_keyword":"custom function (desk) zoho desk","seo_faqs":"[{\"q\": \"What is a Custom Function in Zoho Desk?\", \"a\": \"A custom function is a Deluge script that executes complex logic when triggered by a workflow action or Blueprint transition. It extends Zoho Desk automation by enabling API calls, data calculations, and multi-step processes beyond built-in action types.\"}, {\"q\": \"What scripting language is used for Zoho Desk custom functions?\", \"a\": \"Zoho Desk custom functions are written in Deluge, Zoho's proprietary scripting language. Deluge supports API calls, data manipulation, and conditional logic. The built-in editor includes a testing environment to validate functions before activating them.\"}]","term_type":"Technical","glossary_related":"","glossary_links":""},"glossary_category":[1247],"class_list":["post-4327","glossary","type-glossary","status-publish","hentry","glossary_category-zoho-desk"],"_links":{"self":[{"href":"https:\/\/aaxonix.com\/resources\/wp-json\/wp\/v2\/glossary\/4327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aaxonix.com\/resources\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/aaxonix.com\/resources\/wp-json\/wp\/v2\/types\/glossary"}],"wp:attachment":[{"href":"https:\/\/aaxonix.com\/resources\/wp-json\/wp\/v2\/media?parent=4327"}],"wp:term":[{"taxonomy":"glossary_category","embeddable":true,"href":"https:\/\/aaxonix.com\/resources\/wp-json\/wp\/v2\/glossary_category?post=4327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}