Maps are created with {} syntax: dealData = {"Deal_Name": "Enterprise CRM Project", "Amount": 500000, "Stage": "Proposal Sent"};. When calling the Zoho CRM API to create or update a record, the payload is passed as a Map. The zoho.crm.createRecord("Deals", dealData) call expects a Map where keys are the API field names.
Maps can be nested within other Maps to represent complex data structures. For example, a Deal payload with a Subform section requires a nested Map structure where the product line items are a List of Maps. Understanding nested Map structures is essential for working with Zoho CRM’s API in Deluge.
zoho.books.createInvoice() to generate the invoice automatically on deal closure.A Deluge Map is a key-value data structure used in Zoho CRM Custom Functions. Maps are used to build API payloads for creating and updating CRM records, store fetched record data, and pass structured data between function calls. They are one of the most frequently used data types in Deluge.
Aaxonix is a certified Zoho implementation partner based in Pune. Architecture-first, no surprises.