Automate a CRM workflow with Zoho Cliq

Automate a CRM workflow with Zoho Cliq


Imagine having a virtual assistant that provides rapid updates to your team through Zoho Cliq, helping you stay on top of your sales processes. After returning from a client meeting filled with updates and action items, managing this information together can feel overwhelming, especially when juggling multiple roles and responsibilities.
 
Without streamlined communication, productivity can significantly suffer. This is where integrating your CRM automation workflows with Zoho Cliq becomes essential.

Business benefits

  • Notification of deal closures: Ensures the sales team is promptly informed when a deal is closed to celebrate wins, update forecasts, and maintain team morale.
  • Product and development feedback: Quickly communicate client requests or demo glitches to the product and development teams to enhance product offerings and resolve issues.
  • Managerial updates: Keep managers in the loop with meeting outcomes to strategize the next steps or escalate issues.
  • Syncing with the team: Link CRM updates directly to team chat channels to ensure all team members are updated about lead statuses. This reduces the need for multiple app switches, enhances real-time collaboration, coordinates efforts, and aligns strategies.

 Let's examine an example of Zoho CRM workflow automation for a new lead created with a Zoho Cliq bot.

Step 1 : Bot creation

  • Navigate to the top right corner of your profile, click on it, and select "Bots and Tools".
  • To create a new bot, click on "Create Bot" on the right under the "Bots" section.
  • Provide a name and description for the bot, then enable channel configuration settings during setup.


Step 2 : Bot webhook URL retrieval

  • Webhook tokens are listed under the Bots & Tools section along with all the other internal tools. When navigated to the webhook tokens module, you will be required to authenticate using 2FA, verify your identity, and click Continue.
  • After authentication, you can create, edit, and manage your Webhook Tokens as needed.
  • Generate a webhook token and retrieve the bot's webhook URL as specified below.
โ“˜ Learn more about webhook tokens in Zoho Cliq


Step 3 : Configuration of CRM workflow rule

Workflow rules in Zoho CRM are actions (email notifications, tasks, and field updates) executed when certain specified conditions are met. These rules automate sending email notifications, assigning tasks, and updating specific fields of a record when a rule is triggered.

โ“˜ Learn more about configuring workflow rules in Zoho CRM

Please refer to the video below for a step-by-step guide on how to set up a workflow rule that will send you notifications whenever a new lead is created.


Similarly, you can set up and configure new workflow rules for events like the update of a lead status or the assignment of a lead to any sales representative (Lead owner ).


Step 4 : Setting up bot incoming webhook handler

  • Go back to Cliq and find the bot you created under the "Bots and Tools" section. Then, access the bot's incoming webhook handler. 
  • The incoming webhook handler is designed to allow third-party services, such as Zoho CRM, to post messages directly to your bot.
  • Copy and paste the below code and click "Save".
Pre-requisites:

To post an alert to the channel, you need the unique names of both the channel and the bot, as we are using zoho.cliq.postToChannelAsBot deluge task in the code below. Follow the steps to retrieve these names.

How to obtain or locate the channel unique name in Cliq?
  • Navigate to the top right corner of the preferred channel and locate the three dots. Click it.
  • In the menu that appears, select "Channel info" and a pop-up will open, displaying detailed channel information. Hover over the "Connectors" section and click it.
  • Under "API Parameters," you will find the channel unique name.
How to obtain or locate the bot unique name in Cliq?
  1. info params;
  2. eventType = params.get("event-type");
  3. leadName = params.get("Lead Name");
  4. company = params.get("Company");
  5. leadStatus = params.get("Lead Status");
  6. title = params.get("Title");
  7. email = params.get("Email");
  8. phone = params.get("Phone");
  9. leadSource = params.get("Lead Source");
  10. industry = params.get("Industry");
  11. leadId = params.get("Lead ID");
  12. if(eventType.equalsIgnoreCase("Lead Created"))
  13. {
  14. response = {"text":"๐ŸŽฏHeads up! A new lead has been successfully added to your list. Prepare to engage and convert!","card":{"title":"๐Ÿš€ New Lead Added!","thumbnail":"https://i.imgur.com/jDagRms.png","theme":"modern-inline"},"slides":{{"type":"text","title":"Lead Details :","data":"๐Ÿ† Lead Name : " + leadName + "\n๐Ÿ’ผ Company   : " + company + "\nโฑ๏ธ Lead Status : *" + leadStatus + "*"},{"type":"label","title":"","data":{{"๐Ÿ“ง *Email*":email},{"โ˜Ž๏ธ *Phone*":phone},{"๐Ÿข *Industry*":industry},{"๐Ÿ“ฃ *Lead Source*":leadSource}}}}};

  15. // Use zoho.cliq.postToChannelAsBot(${channel_unique_name}, ${bot_unique_name}, response);
  16. zoho.cliq.postToChannelAsBot("clientleadupdates","crmupdatesincliq",response);

  17. }
  18. if(eventType.equalsIgnoreCase("Lead Assigned"))
  19. {
  20. leadOwner = params.get("Lead Owner");
  21. response = {"text":"๐Ÿš€๐Ÿ“ˆPromising prospect assigned to " + leadOwner + ". Opportunity awaits!","card":{"title":"๐ŸŽฏ New lead generated","thumbnail":"https://i.imgur.com/UisAlKn.png","theme":"modern-inline"},"slides":{{"type":"text","title":"Lead Details :","data":"๐Ÿ† Lead Name : " + leadName + "\n๐Ÿ’ผ Company : " + company + "\nโฑ๏ธ Lead Status : *" + leadStatus + "*"}}};
  22. zoho.cliq.postToChannelAsBot("clientleadupdates","crmupdatesincliq",response);
  23. }
  24. if(eventType.equalsIgnoreCase("Lead Status Updated"))
  25. {
  26. response = {"text":"โœ…๐Ÿ’ผ Great news! Lead status is now Qualified. Ready to engage!","card":{"title":"โœ… Lead qualified","thumbnail":"https://i.imgur.com/d2jhClm.png","theme":"modern-inline"},"slides":{{"type":"text","title":"Lead Details :","data":"๐Ÿ† Lead Name : " + leadName + "\n๐Ÿ’ผ Company : " + company + "\nโฑ๏ธ Lead Status : *" + leadStatus + "*"}}};
  27. zoho.cliq.postToChannelAsBot("clientleadupdates","crmupdatesincliq",response);
  28. }
  29. return Map();


Transform your workflow experience with ease! Imagine having the ability to set up custom automation that sends instant messages to your team channels whenever a deal is sealed or a new lead steps on board.

Say goodbye to constant check-ins on your sales progress - let Cliq handle it all for you!
We're here to help, so don't hesitate to reach out to support@zohocliq.com with any questions or if you need assistance in crafting even more tailored workflows.