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,

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