Zoho Deluge: Get Image Uploaded in Creator Form
- Category: Zoho Deluge
- Hits: 40909
So this is an article to document the methods I use to get an image uploaded in a form to display in a report or on another page.
Why?
There might be different articles out there and discussion forums that do cover this but it takes me so long to find the solution with the right syntax.
How?
So I'm going to start with 1 method and then update this article with other methods.
Zoho Deluge: Convert Xero Date (Unix Timestamp) to Standard Date String
- Category: Zoho Deluge
- Hits: 63519
So this is a super quick note that I'll probably remember anyway but just in case, I'm writing this article so I don't spend time researching it later.
Why?
I'm synchronizing Xero Invoices with Zoho CRM Invoices and noticed that Xero stores its dates in Unix Timestamps.
How?
We're going to filter out the unix seconds from the date provided by Xero then apply a toTime() function to it.
Zoho Deluge: Push Multi-Select Picklist containing Commas from CRM to Creator
- Category: Zoho Deluge
- Hits: 31448
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: 15847
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: 4301
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: 46703
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: 36860
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: 19638
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:

