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):
- response = Map();
- // Get DOB a Zoho CRM users.
- query_map = Map();
- response_map = zoho.crm.getRecords("Users", 1, 50, query_map, "zohocrmoauth");
- info response_map;
- // Show results in a table in a Zoho Cliq Message
- rows = List();
- row = Map();
- row.put("Colleague",response_map.get("First_Name" && "Last_Name"));
- row.put("Birthday", response_map.get("Date_de_naissance"));
- table = {"type":"table","data":{"headers":{"Colleague","Birthday"},"rows":rows}};
- response = {"text":"Please find below the list of birthday of your colleagues : ","card":{"theme":"modern-inline","title":"Birthday List"},"slides":{table}};
- return response;
Thanks in advance for your help,
Best Regards,