Zoho Deluge: Push Multi-Select Picklist containing Commas from CRM to Creator
- Category: Zoho Deluge
- Hits: 29111
A very quick article on how to push a multi-select picklist from CRM to Creator.
Why?
We're trying to create a record in Creator off a button on the CRM Potential/Deal record. The CRM module has a multi-select picklist which will use commas to delimit but one of the options has a comma in its value.
// What I have in CRM:
{"My_MultiPicklist":["Option1","Options 2, 3"]}
// What Creator understands: FAILS
{"My_MultiPicklist":["["Option1","Options 2, 3"]"]}
With workaround .toString()
// What Creator understands: FAILS
{"My_MultiPicklist":["Option1","Options 2"," 3"]}
How?
So the way to push this value over to Creator is by converting the list to a string... notably comma delimited:
Zoho Deluge - Connect to Xero API
- Category: Zoho Deluge
- Hits: 15753
This is an article to document a standalone function which generates an access token from within Zoho CRM so you can access your Xero instance. There are 3rd-party API libraries and SDKs out there but as usual with financial technologies (fintech), I don't trust them. Here's how to do it in pure Deluge with a Zoho CRM custom function.
Why?
It is quite a common request so I'm using this article to refine a generic method of connecting to any client's Xero. The aim is to have a function that initializes a valid connection and then append code to do what we want to do in Xero such as synchronizing invoices or contacts.
How?
So the key thing to remember here is that a Refresh Token in Xero expires immediately after use. You use a Refresh Token to generate a new Access Token which can be reused over the next 30 minutes. In the response, you will also get a new Refresh Token which you should store away for later use when you want to generate a new Access Token.
Zoho Deluge: Push Item to Shopify API
- Category: Zoho Deluge
- Hits: 4225
The following is a script template that I can quickly adapt for Zoho and Shopify integration. This will take an item from Zoho Inventory and post it to Shopify.
How?
Pretty quick to do in Zoho Deluge but first you need to go register the app in your client's Shopify store:
Zoho Deluge: Duplicate/Clone a Record
- Category: Zoho Deluge
- Hits: 41978
This is an article with the snippet of code required to duplicate or clone a record in Zoho CRM using Zoho Deluge.
Why?
The aim here is to have a scheduled task that on the 1st of every month, takes the invoices for the month before, and duplicates each one for the new month.
How?
First you have to get all the applicable fields from the settings API.
Zoho Deluge: Associate/Link an Invoice to a Sales Order
- Category: Zoho Deluge
- Hits: 33056
This is an article because there was no documentation that I could find that describes how to do this. When an invoice is created, not by clicking on the "convert sales order to invoice" button, I needed a way to programmatically link the sales order to the invoice.

Why?
The documentation around the API does not detail how to do this. I also couldn't find any search result via Google or DuckDuckGo (can't say for Bing, I never get around to searching that). This took several hours but it is possible, I was just about to give up even after having spoken to Zoho Support... And then I started updating multiple fields at the same time.
How?
Through sweat and perseverance.
Zoho Deluge: Convert Map to URL Parameters
- Category: Zoho Deluge
- Hits: 17814
A quick article on converting a Map (associative array with keys and values) into a URL string to pass as URL parameters.
How?
Let's first define a map:
Zoho Deluge - Pad with leading Zeros
- Category: Zoho Deluge
- Hits: 19137
There may be other articles out there documenting this but I can't keep trying to find these in Google so referring to my own website, this is a doddle for me to find each time.
Why?
I have to do this so often that it deserves an article. Though writing a whole page for this is probably unwarranted so I may rename this article later to common things I need to do in Zoho Deluge.
How?
So going through the forums you may find the following example:
Zoho Deluge - InvokeConnector and useful snippets
- Category: Zoho Deluge
- Hits: 18901
So this is an article with some common snippets of code that use the InvokeConnector and do things we can't do in shortcode.

