Zoho Cliq Function

Zoho Cliq Function

Hi there,

We are using Zoho Cliq and Zoho CRM.
We are looking to create acommand on Zoho Cliq that will automatically show Zoho CRM users birthday.

How can we do that?

Please find below what we have already done (not working): 

  1. response = Map();

  2. // Get DOB a Zoho CRM users.
  3. query_map = Map(); 
  4. response_map = zoho.crm.getRecords("Users", 1, 50, query_map, "zohocrmoauth");
  5. info response_map;

  6. // Show results in a table in a Zoho Cliq Message
  7. rows = List();
  8. row = Map();
  9. row.put("Colleague",response_map.get("First_Name" && "Last_Name"));
  10. row.put("Birthday", response_map.get("Date_de_naissance"));

  11. table = {"type":"table","data":{"headers":{"Colleague","Birthday"},"rows":rows}};
  12. response = {"text":"Please find below the list of birthday of your colleagues : ","card":{"theme":"modern-inline","title":"Birthday List"},"slides":{table}};

  13. return response;

Thanks in advance for your help,
Best Regards,

    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Sticky Posts

      • No longer get Cliq notifications on phone if app not started

        On Android, I used to get notifications on my phone whether I was in the app, or it was started. Then about a month ago, I stopped seeing notifications on my phone UNLESS I had already started the app. So if I reboot my phone, and never start the app,

      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive 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




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方