Automate your status with Cliq Schedulers

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 question" that could have waited. Sound familiar?



Using the Cliq Platform components, let's create a custom solution to update your status automatically. This way, there will be no more manual toggles, allowing you to maintain uninterrupted focus and enhance transparent communication in your workplace.

Pre-requisite:
Before beginning to script the code below, we must create a connection with Zoho Cliq. Once a connection is created and connected, you can use it in Deluge integration tasks and invoke URL scripts to access data from the required service.

Create a Zoho OAuth default connection with any unique name ("updateworkstatus" for this example) and the scope – ZohoCliq.Profile.UPDATE.

Refer to the below links to learn more:

Steps

  • After a successful login in Cliq, hover to the top right corner and click your profile. Post clicking, navigate to Bots & Tools > Schedulers.
  • On your right, click the button - Create Scheduler.
  • To know more about schedulers and their purposes, refer to Introduction to schedulers.
  • Create a scheduler using your preferred name. Specify the following details: the scheduler name and a description.
  • For the recurring period, choose the type as "Weekly." Select Monday through Friday and set the time of execution to 1 PM or any other time that aligns with your meal break, or customize the recurring period based on your specific use case.
  • Finally, click "Save & edit code" and paste the following code.


  1. params = Map();
  2. params.put("code","away");
  3. // Add your customized status
  4. params.put("message","Lunch break");
  5. statusTimestamp = zoho.currenttime.addHour(2);
  6. userTimezone = user.get("timezone");
  7. statusTimestamp = statusTimestamp.toString().unixepoch(userTimezone);
  8. params.put("expiry",statusTimestamp);
  9. info params;
  10. updateStatus = invokeurl
  11. [
  12. url :"https://cliq.zoho.com/api/v2/statuses/ephemeral"
  13. type :PUT
  14. parameters:params.toString()
  15. detailed:true
  16.  connection:"updateworkstatus"
  17. ];
  18. info updateStatus;

Automating status updates is like having a personal assistant who never sleeps. Whether you're dodging lunch-break notifications or trying to carve out distraction-free work time, this simple solution can transform your workday. With Cliq Schedulers, your profile status updates happen automatically, allowing you to focus and recharge. Why settle for less when you can work smarter?

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.

    Access your files securely from anywhere


          All-in-one knowledge management and training platform for your employees and customers.






                                Zoho Developer Community




                                                      • Desk Community Learning Series


                                                      • Digest


                                                      • Functions


                                                      • Meetups


                                                      • Kbase


                                                      • Resources


                                                      • Glossary


                                                      • Desk Marketplace


                                                      • MVP Corner


                                                      • Word of the Day


                                                      • Ask the Experts



                                                                • Sticky Posts

                                                                • Zoho Cliq REST APIs v3 : A complete guide to what's changed and why 

                                                                  APIs are not just consumed by a developer with numerous automations and a series of open browser tabs. They are parsed by LLMs, fed into agent pipelines, and auto-completed by AI coding assistants that have zero tolerance for inconsistency. A verb tucked
                                                                • 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
                                                                • Automating Real-Time Zoho Bookings Alerts in Zoho Cliq

                                                                  Enable your teams to respond in seconds by bridging the gap between booking confirmation and team notification. No sticky notes, no calendar nudges and no follow-up frenzies. For businesses that rely on scheduled appointments, real-time visibility is
                                                                • Add Claude in Zoho Cliq

                                                                  Let’s add a real AI assistant powered by Claude to your workspace this week, that your team can chat with, ask questions, and act on conversations to run AI actions on. This guide walks you through exactly how to do it, step by step, with all the code
                                                                • Automate attendance tracking with Zoho Cliq Developer Platform

                                                                  I wish remote work were permanently mandated so we could join work calls from a movie theatre or even while skydiving! But wait, it's time to wake up! The alarm has snoozed twice, and your team has already logged on for the day. Keeping tabs on attendance


                                                                Manage your brands on social media



                                                                      Zoho TeamInbox Resources



                                                                          Zoho CRM Plus Resources

                                                                            Zoho Books Resources


                                                                              Zoho Subscriptions Resources

                                                                                Zoho Projects Resources


                                                                                  Zoho Sprints Resources


                                                                                    Qntrl Resources


                                                                                      Zoho Creator Resources



                                                                                          Zoho CRM Resources

                                                                                          • CRM Community Learning Series

                                                                                            CRM Community Learning Series


                                                                                          • Kaizen

                                                                                            Kaizen

                                                                                          • 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


                                                                                                Zoho Show Resources

                                                                                                  Zoho Writer

                                                                                                  Get Started. Write Away!

                                                                                                  Writer is a powerful online word processor, designed for collaborative work.

                                                                                                    Zoho CRM コンテンツ





                                                                                                      Nederlandse Hulpbronnen


                                                                                                          ご検討中の方