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 💙

    Access your files securely from anywhere

        Zoho Developer Community







                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation
                                              • Sticky Posts

                                              • Convert a message on Cliq into a task on Zoho Connect

                                                Message actions in Cliq are a great way to transform messages in a conversation into actionable work items. In this post, we'll see how to build a custom message action that'll let you add a message as a task to board on Zoho Connect. If you haven't created
                                              • Cliq Bots - Post message to a bot using the command line!

                                                If you had read our post on how to post a message to a channel in a simple one-line command, then this sure is a piece of cake for you guys! For those of you, who are reading this for the first time, don't worry! Just read on. This post is all about how
                                              • Cliq Bots - How to make a bot respond to your messages?

                                                Bots are just like your buddies with whom you can interact. They carry out your tasks, keep you notified about your to-dos and come in handy when you need constant updates from a third party application.  So, how can you make your bot respond to a message? The bot message handler is a piece of code triggered when a message is sent to the bot. Message handlers help you customise your bot responses to make it look conversational. The message input from the user can be either a string or an option selected
                                              • Cliq Bots - Get notifications about any action on an application with the incoming webhook handler!

                                                Webhooks can be used to get notified about events happening in other applications inside Cliq. All bots in Cliq have their own incoming webhook endpoint. This makes it simple to post messages to the bot from external applications. Unlike the send message
                                              • The Slash Command Series - Types of Command Suggestions

                                                Hi Everybody! I hope you guys tried the /zdocs command and now have an idea of how command suggestions with click to execute work. If you have no clue of what command suggestion is, I recommend you to take a look at all the Slash Command Series posts, especially the one on Command Suggestions ! This post is all about the different types of command suggestions.  Customise your command suggestions  Did you know you could customise your command suggestion list with a title, description, image? Well,


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Tips

                                                                            Tips

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now