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









                          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

                                                          • 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,
                                                          • 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
                                                          • 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


                                                          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


                                                                                                    ご検討中の方