Stay Informed with Task Notifications from Zoho People in Zoho Cliq

Stay Informed with Task Notifications from Zoho People in Zoho Cliq


Staying on top of tasks and deadlines is important for effective project management and collaboration. By setting up a workflow automation in
Zoho People, you can receive instant notifications to keep you informed in real-time within Zoho Cliq whenever a new task is created or assigned to you or your team members.

Follow the step-by-step instructions below to get important task updates from Zoho People
in Zoho Cliq,

Instructions:

1. Navigate to Zoho People Settings

2. Set Up Workflow
  • Choose the form name as Task and enter the workflow name and description.
  • For the trigger process, under Execute based on action, choose the action as Create 
  • Select the action to be performed as Custom functions (+) icon and create a function.


3. Create Custom Function

  • Enter the custom function name and description.



  • Add the required params and save it.


4. Function Code
  • Paste the below code in the custom function and create a connection for service Zoho Cliq with scope ZohoCliq.Webhooks.CREATE
Note: Replace the bot unique name in line no. 1 and replace the connection link name in line no. 11 and 14. ⓘ How to create a bot?

  1. botUniqueName = "BOT UNIQUE NAME";
  2. erecNumber = erecNumber;
  3. emp = zoho.people.getRecordByID("employee",erecNumber);
  4. reportingmanageremail = emp.get("Reporting_To.MailID");
  5. info reportingmanageremail;
  6. // Post message to user
  7. if(taskName.length() > 100)
  8. {
  9.  taskName = taskName.subString(0,95) + "...";
  10. }
  11. if(taskDescription.length() > 100)
  12. {
  13.  taskDescription = taskDescription.subString(0,95) + "...";
  14. }
  15. slidesData = List();
  16. slidesData.add({"type":"label","data":{{"Task":taskName},{"Description":taskDescription},{"Due date":taskDuedate},{"Status":taskStatus},{"Priority":taskPriority}},"buttons":{{"label":"View task","hint":"","type":"+","action":{"type":"open.url","data":{"web":"https://people.zoho.com/zp#task/tracktask/viewtask-taskid:" + taskID}}}}});
  17. card = {"title":taskName,"icon":"https://play-lh.googleusercontent.com/Cvq1q_Lgo_YlnT_wBkHM-TcxrX3SQUG05jLdxpS4vdfTJTJFYirhyjpnMCEwuYKF_Xg","theme":"modern-inline"};
  18. userMessageContent = {"text":"### New task asssigned to you","card":card,"slides":slidesData};
  19. info zoho.cliq.postToBot(botUniqueName,userMessageContent,"CONNECTION LINK NAME");
  20. // Post message to reporting manager
  21. msgContentForManager = {"text":"### New task asssigned to " + taskOwner,"card":card,"slides":slidesData,"userids":reportingmanageremail};
  22. info zoho.cliq.postToBot(botUniqueName,msgContentForManager,"CONNECTION LINK NAME");

Final Script Screenshot
After following the above instructions, your final script should look something like this



Click on Save and you're done! With this workflow in place, stay informed with real-time notifications, minimize context switching, and unlock a unified workspace that drives efficiency across your organization to experience the benefits of a seamless, aligned workflow.



If you have any queries or doubts, leave a comment or reach out to support@zohocliq.com for assistance

With love,
Zoho Cliq 💙


      • Sticky Posts

      • Automating Employee Birthday Notifications in Zoho Cliq

        Have you ever missed a birthday and felt like the office Grinch? Fear not, the Cliq Developer Platform has got your back! With Zoho Cliq's Schedulers, you can be the office party-cipant who never forgets a single cake, balloon, or awkward rendition of
      • Customer payment alerts in Zoho Cliq

        For businesses that depend on cash flow, payment updates are essential for operational decision-making and go beyond simple accounting entries. The sales team needs to be notified when invoices are cleared so that upcoming orders can be released. In contrast,
      • Accelerate Github code reviews with Zoho Cliq Platform's link handlers

        Code reviews are critical, and they can get buried in conversations or lost when using multiple tools. With the Cliq Platform's link handlers, let's transform shared Github pull request links into interactive, real-time code reviews on channels. Share
      • App Spotlight : PagerDuty for Zoho Cliq

        App Spotlight brings you hand-picked apps to enhance the power of your Zoho apps and tools. Visit the Zoho Marketplace to explore all of our apps, integrations, and extensions. In today's fast-paced world, seizing every moment is essential for operational
      • Automate your status with Cliq Schedulers

        Imagine enjoying your favorite homemade meal during a peaceful lunch break, when suddenly there's a PING! A notification pops up and ruins your moment of zen. Even worse, you might be in a vital product development sprint, only to be derailed by a "quick