Simplify Zoho API integration with Deluge’s invokeAPI task

Simplify Zoho API integration with Deluge’s invokeAPI task

Hello all!

Happy New Year! As we kick off 2025, we’re excited to share some of the latest updates to enhance your Deluge experience. 

While Deluge already offered robust API integration capabilities, we’ve taken it to the next level with the introduction of our new invokeAPI task. The new task has been launched with the aim to streamline the process of connecting with Zoho’s extensive suite of services. Unlike the invokeURL task, where you need to provide the complete URL, with invokeAPI, you only need to specify the path. The system will automatically fetch the domain based on the respective Zoho service’s data center, ensuring seamless access across all data centers when making API calls.

This capability of the invokeAPI task is especially useful when working with multiple Zoho services across different data centers. This streamlines the development process by eliminating the need to manually specify the base domain for each service, saving you a lot of time and effort.

What is invokeAPI?

The invokeAPI task in Deluge allows you to make REST API calls to access and modify data in one Zoho service from another Zoho service. 

The invokeAPI task can be used across all Zoho services that support Deluge. However, it's currently limited to performing integrations with specific Zoho services. These include Zoho CRM, Zoho Books, Zoho Invoice, Zoho Billing, Zoho Inventory, Zoho Bookings, Zoho Cliq, and Zoho Creator.

We’re excited to share that plans are underway to extend this capability to even more services across the Zoho ecosystem!

Key benefits

The main objective of the invokeAPI task is to simplify API integrations within the Zoho ecosystem. Here are its key benefits:
  • URL requirements: You no longer need to specify the full URL; simply provide the API path.
  • Domain detection: The domain is automatically determined based on the Zoho service you’re interacting with (e.g., Zoho CRM, Zoho Books) and its corresponding data center. This ensures accurate routing of API calls regardless of the hosting data center. Further, it reduces the risk of errors associated with incorrect URLs or misconfigured endpoints.
  • Enhanced response handling: The response object includes the header and status attributes by default. This enables you to branch logic based on the status code and utilize header values effectively. For example, when the status code is 301, the redirection URL is included in the header. Further, we’re working on supporting the redirection attribute by default in future updates.
Some additional capabilities that set the invokeAPI task apart include:
  • Support for body parameters in GET and DELETE methods: Unlike the invokeURL task, which only supports query strings for DELETE requests, the invokeAPI task allows you to pass values in the request body for GET and DELETE operations.
  • This task also provides the flexibility to customize each parameter in your API request. For instance, you can set parameters such as the name, content type, and encoding type to tailor the requests to your specific needs. 

How it works

When you use the invokeAPI task, you simply need to specify the service and the path to the API endpoint. 

Here’s the basic syntax:
Quote
response = invokeapi
[
  service: <service_name>
  path: <path_value>
  type: <type_value>
  parameters: <parameters_value>
  body: <body_value>
  headers: <headers_value>
  connection: <connection_name>
  response-format: <response_format_value>
  response-decoding: <encoding_format_value>
];

Example: Creating a lead in Zoho CRM
Assume that you want to create a new lead in Zoho CRM. In the invokeAPI task, you only need to provide the service (crm) and the path (/crm/v2/Leads). 
Quote
data = {"data": [{"Last_Name": "Doe", "First_Name": "John", "Email": "john.doe@example.com", "Company": "ABC Corp"}]};
response = invokeapi
[
  service: zohocrm
  path: "/crm/v7/Leads"
  type: POST
  body: data.tostring()
  headers: {"Content-Type": "application/json"}
  response-format: COLLECTION
  response-decoding: "UTF-8"
  connection: "<connection_name>"
];
info response;
In this example:
  • service: We specify the Zoho CRM service (zohocrm).
  • path: This is the API endpoint path for creating leads (/crm/v7/Leads).
  • type: The HTTP method is POST because we're creating a new lead.
  • body: This is the data sent in the request body (the lead information).
  • headers: We specify that the request body is in JSON format.
  • response-format: We expect the response to be in COLLECTION format.
  • response-decoding: The response will be decoded using UTF-8 encoding.
  • connection: This is the TEXT that represents the name of the connection.

Use cases for invokeAPI

Here are some popular use cases of how the invokeAPI task can be utilized:
  • Sync leads between Zoho CRM and Zoho Projects: Automatically create a new project in Zoho Projects when a new lead is added to Zoho CRM.
  • Automate invoices in Zoho Books: When a deal is closed in Zoho CRM, automatically generate an invoice in Zoho Books.
  • Customer support automation: When a new support ticket is created in Zoho Desk, use invokeAPI to create corresponding tasks or issues in Zoho Projects or Zoho CRM.
  • Cross-app data synchronization: Easily synchronize customer data between Zoho CRM, Zoho Books, Zoho Desk, and Zoho Projects to ensure consistency across your applications.
Note: These are just examples—rest assured that a wide range of actions can be performed using this task.

Documentation

We've also come up with comprehensive documentation for this task, and you can take a look at it by visiting the invokeAPI Task help doc.

We believe the all-new invokeAPI Deluge task will be a game-changer for users aiming to integrate seamlessly across multiple Zoho apps. This feature is especially beneficial for teams working with multiple Zoho applications or the Zoho One bundle.

As we wrap up, we want to let you know that we are committed to expanding the capabilities of Deluge, and we’re working hard to bring even more features your way. Stay tuned for exciting updates!

If you need any assistance, don’t hesitate to reach out to us. We’re always happy to help.

Regards,
The Zoho Creator Team


      • Sticky Posts

      • Zoho Creator - 2023 Release Projection 1

        Hello everyone! A very Happy New Year to you and your family. Hope you're all good and having a great time using Zoho Creator to make your lives easier and your businesses prosper. 2022 was an action-packed year for us at Creator, and we hope to continue
      • Zoho Creator User Group meetups in a city near you! - Oct - Nov, 2023

        Greetings from the Zoho Creator team! We're hosting a series of Zoho Creator meetups in various cities across the globe, and we'd love to meet you there! Our meetups are a great opportunity to network with industry peers, exchange ideas and best practices,
      • Zoho Creator - 2023 Release Projection 2

        Hello everyone! Time truly flies when you're having an incredible journey, and today we mark the completion of an eventful and action-packed six months. It feels like just yesterday when we embarked on this adventure together with the launch of our new
      • Upcoming Updates - August 2022

        Hi all, Greetings from the Zoho Creator team! Today we've got news for you on some exciting updates. And rest assured— there’s more to come! In this post, we'll be going over the upcoming features and improvements for this month as mentioned below. A
      • Introducing Zoho Creator's v2 APIs

        Hello App Creators, Welcome to Zoho Creator's v2 APIs! This post will serve as the central point for migrating implementations of Creator's current APIs (v1) to v2. Improvements that v2 brings OAuth-based authentication, which is more secure than the

        • Recent Topics

        • Access Tokens and Webhooks

          I have a linux server application that I want to be able to talk to the cliq chatbot and get a response back to that linux server application. This is for the linux server application to check the chat/channel's message history in Cliq. The Zoho API console
        • unable to add email aliases

          Hi, just verified and set up my domain but whenever I try to add another email alias I get a rather unhelpful error popup just saying AS101, doesn't matter if I tick set as mailbox address or not.
        • Collaborators can't see Zia

          Hello Zoho Writer Team, I recently shared a document with a collaborator, but she mentioned that Zia is not active and unable to assist her in adding content. Could you please guide me on how to resolve this issue? Looking forward to your assistance.
        • In what case it's better to use Developer Console? Only for marketplace?

          As I can see from the documentation, the limitations are challenging. No Custom API No Page Variables No Custom Connections.
        • Default Reminder for tasks set to Pop-up instead of email

          Try to save a click every time we create a task we want it to default to pop-up instead of email. Also default is to have reminder unchecked anyway to change so reminder is checked and method is pop-up default instead of email? Attached picture. Thanks,
        • Why wont Zoho Support Grammarly!! --- PLEASE VOTE FOR THIS to show Zoho we need this

          The spell check and grammar in ZOHO are so buggy and a waste of time. Please support Grammarly! I'm sure I'm not the only one — there are other CRMs that support this. If you're not planning to add this feature, Please let others know before accepting
        • Zoho Book not Connecting to Bank

          Is anyone else having issues with Zoho Books connecting to their bank? We have not been able to connect to the Co-operative bank feeds since Dec. Zoho are blaming the Co-op but the Co-op says that it has to be a Zoho issue as no other accounting software
        • Dashboard Auto-refresh

          Why is there no Auto-refresh on the Dashboard? People have been asking for the last 6 years for this function from what I can see in my reasearch, it seems like a very simple intergration for Zoho to achieve. on Sept. 2, 2014, this was added: Support
        • Can't connect to Blogger & Wordpress

          Hello Zoho Support Team, Thank you for providing Zoho Writer—it’s a fantastic tool that I truly enjoy using. However, I’ve encountered an issue when attempting to connect it to Blogger or WordPress for automatic posting. When I try to establish the connection,
        • Weekly Tips: SecurePass For Extra Security

          Imagine sensitive data from your organisation sent via email is being accessed by unintended recipients. The sensitive data can range from Personal Identification Information to a tender quotation or a client’s NDA document. The unintended access could
        • Multiple Blueprints on different fields at the same time.

          It looks only 1 Blueprint can run at the same time, it makes sense for many Blueprints on the same field (Eg. Stage). But what about multiple Blueprints on "different" fields? the multiple options must be available. (Eg. Stage, Documents Status, Contract
        • Changing VAT start date

          Good Evening, Kindly asssit with this issue. 1. When setting up, I set my start vat date as October 29th. The system as has taken my month end date as 29th instead of either 30th or 31st depending on the month. 2. IS it possible to file past months at
        • Headers in Subfrom - Zoho CRM

          Currently we cannot add any headers to CRM Subform If we have very large subforms and we want to logically group the rows it becomes really hard to do it Please add a header feature so we can add headers to a subform to logically and visually group different
        • Bank entriy is nov month why this shifted to jan 2025 month

          bank entries for november month i entered but why this is transfer to jan 2025 month.
        • Migrate email domain from old .yyy to .zzz over time using aliases

          Hi, I have an email domain that I've used for a long time that I'd like to migrate from. I have purchased a new domain and over time would like to use the new user@newdomain email address. I would prefer to have the alias point to the old (in use) address
        • mx

          hello please if shopify domain doesn't allowed forwarding email when ensuring it with zoho mx what's other alternative options?
        • Delay in Listing Customer data while creating transaction

          After importing customer data into Zoho Books, I attempted to create an invoice but couldn't find the display name in the search results. However, it appeared when using the advanced search. When I manually add a customer name, the display name becomes
        • This Operation has been restricted. Please contact support-as@zohocorp.com for further details

          Hello, I get the error This Operation has been restricted. Please contact support-as@zohocorp.com for further details. I have attached an error image to this email, and my domain name is 27investments.com.vn I hope to receive support from you. Best
        • Zoho Mail blocked by SpamCop/Mimecast 136.143.188.16

          I cannot send emails to people whose domains use Mimecast or other systems that read SpamCop. This isn't the first time that this has happened. Please arrange a fix ASAP. Thanks
        • CRM - QR Codes and Bar Codes

          Hi I am using CRM to run my service team - Asset maintenance business We need to move to and generate a QR code for each Asset we look after. And we need Bar code reading for the testing we do. (pre-bar-coded sample bottles are provided by the lab) Does
        • Can sent or receive email from certain domain

          Hi i have a problem with emails that have ...@otenet.gr. Otenet is the biggest provider in Greece but i can't communicate with its emails. (Message rejected due to: domain owner discourages use of this host Remote-MTA: dns; mx.otenet.gr) Please help Thanks
        • existing warehouses need to be migrated to the Locations module

          Upgrade to Locations We've enhanced the Branches module to include warehouses and renamed it as Locations. To enable the Locations feature, your existing warehouses need to be migrated to the Locations module. Once migrated, these warehouses will appear
        • Transaction Rules & Customer Payments

          So I have a situation as follows. We have many clients who are all invoiced on the 1st of each month on a recurring invoice for 1 of 10 plans. This means that almost all payment dates are the same (some people pay late) and that a lot of the amounts are
        • User Filter for Dynamic Date Dimensions in Zoho Analytics

          One challenge I frequently encounter is the need to create multiple versions of the same report—one for yearly data, another for quarterly data, another for monthly, and so on. While this works, it leads to unnecessary duplication, making maintenance
        • Zoho CRM Mobile App Calls Module Missing

          Hello all, After the last update I have two things. 1. I do not see the calls module at all - not via search, not anywhere 2. In home I do not see any scheduled calls, tasks, etc. If this in the new update or is my app gone wrong somewhere?
        • Show value in a field based on selection

          Hello, I'm new at Zoho Forms, I'm trying to do the following: Let's say there are two fields, (A) is a drop-down list for items, and field (B) is for a dedicated code of each item. Is it possible to apply a conditional logic once you select an item from
        • Manage a rental inventory

          Hi Zoho team, We have a company that is renting furniture and decor in the event industry. 1. Can Zoho Inventory manage inventory for rentals? 2. If no, can we create some features with Zoho creator that can integrate with Inventory to manage our rentals?   3. We have 2 warehouse, can we easily do inventory transfer between warehouse? Thank you for for help, Peter
        • Zoho Sign up forms on Wordpress website not working smoothly

          We have set up the forms on the website and linked them to respective email journeys. But when wesubmit the form the email generated/sent to user is not consistent. Sometimes the journey email is sent, sometimes a email verification message is sent ,
        • Zoho Deluge Online Training Workshop 2025

          Master Deluge and Automate Zoho Applications An Extensive Online Training The Zoho Deluge Online Training is an extensive 2-day workshop designed specifically for developers, business users, and automation enthusiasts who want to master Deluge—Zoho’s
        • Possibility to show Images during Blueprint Transitions

          We use Blueprints heavily in our business to keep a structured process and to use a lot of automations. In fact, we automated so much, that our co workers sometimes don't know what really is happening. It would be helpful if we could show the users a
        • Zoho User Group Meetups 2025: Mis de eerste editie van het jaar niet!

          Beste Zoho Dutch Community, Bij Zoho geloven we in het belang van het aanbieden van gratis trainingen, zodat u het meeste uit uw Zoho Apps kunt halen bij het beheer van uw bedrijf. Daarom komen de ZUGs (Zoho User Groups) Meetups in maart terug naar Nederland
        • Accessing Attachments in Zoho Recruit Extension for API Integration

          Hi, I am currently developing a Zoho Recruit extension to integrate with a third-party application. As part of this, I need to retrieve the attachment file from the current record and include it in an API request. However, I couldn’t find a relevant Zoho
        • Cannot set Subform Multiline field to read-only using Client Script

          I am using client script to set different subform fields as read-only It works for Single Line Fields, but when I try to set a Multiline field as Read-only it doesn't work var subform = ZDK.Page.getSubform("Subform_1"); var item_Code_old = subform.getField('Item_Code_Old').setReadOnly(true);
        • Set Custom Icon for Custom Modules in new Zoho CRM UI

        • Whatsapp integration update.

          Please, there is no way on WhatsApp integration to know if a message has been read, or has been managed by a member of the team. There should be a way to add contextual info or something please.
        • When converting a lead to an account, the custom mandatory fields in the account are not treated by zoho as mandatory

          In my Account module I have a number of custom fields that I have set as mandatory. When I enter a new customer as a new account they work, I can't save the record without populating them. However when I convert a lead, my CRM users are able to save the
        • Initiate conversations anytime with WhatsApp's Templates

          Previously, in Bigin's Messages module, you could only reply to customer-initiated messages, but with this enhancement, you can now initiate conversations using WhatsApp templates. A WhatsApp template is a pre-designed message template designed to start
        • [Training] Zoho Deluge Online Training Workshop

          Hello Everyone, We are much elated to invite you all to our upcoming Zoho Deluge online training workshop. Master deluge and automate Zoho applications The Zoho Deluge Online Training is an extensive 2-day workshop designed specifically for developers,
        • Not possible to remove mandatory system fields?

          Is there no way to make things like under Calls "Call Duration" or "Call Start Time" or under Potentials "Close Date" not mandatory? These fields are useless for my organization and waste time but the box is grayed out to not make them mandatory. It's
        • Directly Edit, Filter, and Sort Subforms on the Details Page

          Hello everyone, As you know, subforms allow you to associate multiple line items with a single record, greatly enhancing your data organization. For example, a sales order subform neatly lists all products, their quantities, amounts, and other relevant
        • Next Page