Automating Employee Birthday Notifications in Zoho Cliq

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 'Happy Birthday' in the break room. Automate birthday alerts with the scheduler's customized recurring periods.

No more scrambling for last-minute cupcakes or relying on HR to save the day!



Pre-requisites:

Before beginning to script the code below, we must create a connection in Cliq with Zoho People. 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 People default connection with a unique name "getbirthdaydata" with the scope - ZOHOPEOPLE.employee.READ.

ⓘ Document for reference : Connections in Cliq 

Implementation :

Setting up the Zoho Cliq Scheduler

  • Open Zoho Cliq, click your profile picture, select Bots & Tools, and navigate to Schedulers.

  • Under Schedulers, create a new scheduler with the recurring period set to daily.

  • Specify the time name, description, and time of execution according to your needs.

ⓘ Document for reference : Schedulers  

Sample Birthday notification script

After providing the scheduler details, click "Save and Edit Code" to add the script below.

  1. currentDate = today.getDay();
  2. currentMonth = today.getMonth() - 1;  //  (The month values ranges from 0- January, 1- Febraury .... 11-December)
  3. getBirthdays = invokeurl
  4. [
  5. url :"https://people.zoho.com/api/birthdayBuddies?date="+currentDate+"&&month=" + currentMonth
  6. type :GET
  7. connection:"getbirthdaydata"
  8. ];
  9. birthdayRecords = getBirthdays.get("response").get("result");
  10. if(birthdayRecords.size() > 0)
  11. {
  12. employeeList = list();
  13. for each  record in birthdayRecords
  14. {
  15. employeeName = record.get("empFname") + " " + record.get("empLname");
  16. employeeList.add(employeeName);
  17. }

  18. // Construct the wish message with Cliq's Message builder
  19. birthdayCard = {"text":"Happy Birthday to our incredible team members, "+employeeList.toString()+" 🎉 \n\nWishing you both a fantastic year ahead, filled with success, joy, and endless opportunities! 🎂✨","bot":{"name":"Birthday Bot","image":"https://www.zoho.com/sites/zweb/images/cliq/whatsnew/cupcake_1.png"},"card":{"theme":"modern-inline"}};
  20.  
  21. // Specify the channel uniquename for the wish message to be posted
  22. zoho.cliq.postToChannel(-$CHANNEL_UNIQUE_NAME-,birthdayCard);
  23. }
 Customize and deploy
 
Utilizing the data received from the getBirthday invoke URL task (i.e., API/birthdayBuddies GET request), construct a birthday wish card with Cliq's message builder and post it in the preferred chat or channel.





Troubleshooting :
  • Ensure your Zoho People pricing plan includes access to employee birthday details.  

  • Verify whether the necessary administrative permissions are granted. Limited access can result in "Permission Denied" errors.

 

The Birthday Hack You Need !

Never forget a birthday again with Zoho Cliq Schedulers! Experience automated reminders and personalized scheduling to make every celebration unforgettable and enjoyable!

    • 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
    • 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
      • Recent Topics

      • How do I modify the the incoming/current call popup? I can modify other call pages but not that one.

        I want to modify the incoming and active call popup on the crm to include customer relevant information, such as purchase history or length of relationship. Under modules and fields, I don't seem to see active call as a choice to modify, only the main
      • JavaScript or iframe embed with transparent background

        If I have a form with transparent Wallpaper, it appear great on my website by using my default background. However, using Zoho Forms SAVE button, the user is directed to Zoho Forms managed page and a blank background. Alternatively, I can include a Wallpaper
      • Emails and Kanban for Portals

        There was talk portals would have emails and email templates, and kanban view. Is there any release date for this? Portals has been so good for offering a simple crm option. It just needs a couple of small things.
      • Custom sorting Axis in a Heatmap report

        I have a heatmap and want to sort the order of the axis in a custom priority order - is this possible ? So I want the priority to be "New, Urgent, High, Medium, Low, Not Set, Unknown" Can I set this manually ?
      • ZOHO BackStage

        How to get list of events, using ZOHO BackStage APIs. Is it possible OR not?
      • Greylisted, try again after some time

        Can you check my ip, i send to duyna@vietlinkjsc.vn but have an error; my ip is 112.213.94.12 Here is log: 2018-01-09 09:40:29 H=mx.zoho.com [204.141.32.121] SMTP error from remote mail server after RCPT TO:<duyna@vietlinkjsc.vn>: 451 4.7.1 Greylisted, try again after some time 2018-01-09 09:40:32 H=mx2.zoho.com [204.141.33.55] SMTP error from remote mail server after RCPT TO:<duyna@vietlinkjsc.vn>: 451 4.7.1 Greylisted, try again after some time 2018-01-09 09:40:32 duyna@vietlinkjsc.vn R=lookuphost
      • The 3.1 biggest problems with Kiosk right now

        I can see a lot of promise in Kiosk, but it currently has limited functionality that makes it a bit of an ugly duckling. It's great at some things, but woeful at others, meaning people must rely on multiple tools within CRM for their business processes.
      • Zoho People down

        Zoho People (EU) appears to be inaccessible this morning. Have gotten through log-in and MFA but have been on the "Please wait while we work our charm..." page for several minutes now. A colleague has tried to access it via the One dashboard and experienced
      • Adding Bluesky channel

        Hello, Is Bluesky (AT protocol) soon added on Social ? Bluesky is being developped and is now open to anyone (no more invitation) Thank you
      • No Zoho Support on the weekends or after hours?

        Zoho Support is only available Monday - Friday during normal business hours. My business (as does many businesses) operates 7-days a week. Last Saturday, I had a client come in and in order for me to help her, I needed to log into CRM but to my surprise,
      • How do I overcome the 800 transaction rule limit?

        I just received a message: "You have reached the maximum rule limit of 800." I searched the documentation, and I didn't find anything about the cap or limit. I asked the ZOHO Books team if there is a way to increase the limit. Their answer was: "Please
      • Search functionality in Vault is very poor

        Hi Zoho Team Please... the search functionality is absolutely vital in Vault, particularly when it's being used by a team. It's just a fact of life that everybody has their own way of naming something, so using exact match on the Password name is horribly
      • 👋 Pessoal, como está sendo sua experiência com ferramentas de produtividade?

        Percebo que muitos usuários de soluções como Google Workspace e Microsoft 365 acabam enfrentando desafios quando pensam em migrar de plataforma, especialmente por conta de multas contratuais ou até pela complexidade em adaptar as equipes. Além disso,
      • Quais são os maiores desafios que você enfrenta ao implementar o Zoho CRM?

        Olá, pessoal da comunidade Zoho Brasil! Sou parceiro autorizado da Zoho e, ao longo do tempo, tenho notado que cada implementação de CRM traz desafios únicos, dependendo do segmento de negócio, das metas da empresa e até da familiaridade da equipe com
      • Parent - Child Ticket Twins

        I think i maybe losing my mind. Are these two completely separate parent-child ticketing functions? I think I remember adding a plugin years ago and I think I also remember seeing something about parent-child ticketing in a release notes being added.
      • Can the Comments from approval process be posted onto a module field and not on the timeline?

        I have set up approval process for the quotations module and would like for the approval comments to be posted onto a module field as opposed to me searching for the particular quote and going to the timeline section. This would also help keep tabs on
      • auto reply shopify order details in zoho desk based on order number in subject using deluge script custom function

        auto reply shopify order details in zoho desk based on order number in subject using deluge script custom function
      • Is there an ability to keep the status field unlocked while having an active blueprint?

        Hi. Is there an ability to keep the status field unlocked while having an active blueprint? Here is the case. We have a transition let's say "Ask to the customer" When we do this transition the Status is switch to "waiting for customer" But if for exemple
      • Rename Category and Sub Category fields

        Is it possible to rename the field labels for Category and Sub Category - if so can this be done at layout or department level ?
      • Thoughts on users being able to create Zoho accounts?

        For anyone who's used Zoho for a while, I'm sure you've come up against an issue where you create an account for a user, and they go ahead and sign up for a new one accidentally. Then, only they can delete the account, as it exists outside the organisation.
      • Deluge should permit a connection to be set with a variable

        Hello, Being one who occasionally likes to post code in the forums, I try to make anything that the end user needs to define be present at the very top of the script so that those who want to implement the script won't have to hunt through lines of code,
      • Bcc option in "new ticket --> send as email" disappeared

        Is it just me or did the bcc option disappear in the "send as email" option of new tickets in desk? This is very inconvenient.
      • Automated Intercompany Transaction

        Hello team - expecting a support today. I have some good experience with Zoho products as an accountant and trying to introduce the Zoho to my newly joined company. So far it's going on good except below question. I'm currently maintaining multiple companies
      • change subscription within customer portal

        Would be great for the customer to be able to change their own subscription (or restart existing one) within the customer portal. Also, would like to be able to have early termination fee on subscriptions if canceled early.
      • How to Automate Form Creation and Workflow Setup in Zoho Creator?

        Does anyone have ideas on how to create a form workflow that can perform the following functions automatically when a new submission is received for the existing form? Create a new form and report Create a new page Generate a new form workflow for the
      • How can i use edit url in the html snippet dynamically using parameter ? after clicked on that value

        after clicked on that value ..  How can i use edit url in the html snippet dynamically using parameter ?  for each record their corresponding record will open..  Can we have sample url for the same ?
      • Sales without Invoice refund

        I have a sales without invoice in my stripe account from April. This is a double entry as the customer paid the invoice and that was recorded in Stripe. I cannot delete it as it was included in a VAT return. I need to remove it or refund it to balance
      • Updating sum of subform

        I encountered another problem for updating of sum of fields in a subform. on a main form (Make_claim), I have a dynamic drop down (approved_budget_purpose) list to which filters the the items display in a subform (expense_claim_history1). In the subform,
      • IP Addresses for Whitelist

        Hi,  Where can I get a list of the IP addresses I need to whitelist for accessing Zoho Desk? TIA
      • Ability to rename community tabs as own preference

        Current zoho desk community tabs unable to rename however i see it has as suitable standard for most communities But it will be more better and beneficial if possible to modify(rename) then we can use the community for various purposes and able to change them as very convenient for, various product & services various fields organizations push(add) many topics types into one community instead host several community forums or portals. Setup > Channels > Community > Preference > Topic Type This's an
      • How to a customise the support email id to our custom domain

        we need to have support email address in our custom domain email id. how to do it?
      • Enhanced Anti-Spam Capabilities for Zoho Desk

        Dear Zoho Team, We appreciate the existing feature in Zoho Desk that detects and automatically marks suspicious email tickets as spam, moving them to the spam tickets view. Additionally, the ability to auto-mark associated contacts as spam is helpful.
      • How to Associate multiple contacts with deal in Sales Inbox

        Hello, I have many deals that have multiple potential customers associated with a single deal, for example an engineer and a manager. The manager is the Deal's primary contact in CRM and the Engineer is added to the deal in the "Contact Roles" Associated
      • Trying to sort tickets in "Status" mode by age

        Struggling with an odd issue, hoping someone can help. Trying to use the basic "Status" ticket-view, but can't find the setting that will put the oldest tickets at the top of each "Status" column. I found this in other ticket-view options (classic, compact,
      • Why is Zoho Meeting quality so poor?

        I've just moved from Office 365 to Zoho Workplace and have been generally really positive about the new platform -- nicely integrated, nice GUI, good and easy-to-understand control and customisation, and at a reasonable price. However, what is going on
      • Associate all "Active" users to a newly created project... (Zoho Projects API Documentation lacking)

        Today I spent almost 3 hours trying to do something which I discovered has been asked for for over 14 years in Zoho Projects, that is when a new project is created to assign all active users to the project. My first thought was, okay this should be fairly
      • (MAJOR ISSUE?) Chat GPT integration. Wrong endpoints in API integration for embedding models.

        There seems to be a issue with the API endpoints with the ChatGPT, Zoho Flow integration. When using the model 'text-embedding-ada-002' the endpoint should be v1/embeddings but instead it's v1/chat/completions. Here's an example of the history on a failed
      • Undocumented System Variables

        Hi, The documentation that I'm aware of for Zoho Analytics system variables is found here. However, I don't see the system.timeline.date.from and system.timeline.date.to variables listed. Where can I find a list of all the system variables in Zoho Analytics
      • Top Menu Disappeared from Blog Page

        Hi, Our top menu disappeared at Blog Posts page. However, it's still visible any other page on the website. I attached two screenshots, so it can be understood clearly. How can we bring back top menu? Thanks, K.
      • UK payroll entries

        Hey guys, Nett payroll payments are imported direct into the bank, using an external payroll system (will be glad for Zoho to have a UK payroll app) At present I have monthly recurring bills for HMRC which are auto entered & paid when due. This seems
      • Next Page