I have been trying to follow the examples in the help documents to the letter in setting up integration between a very simple Creator form and Zoho CRM, but I can't get either of the examples to work.
Using the script builder, I created the following:
crmResp = zoho.crm.create("Leads",{ "Company" : input.Company, "First Name" : input.Name, "Email" : input.Email },2);
This is the action "on success" and it executes without any errors, but I do not get any updates in Zoho CRM.
Also, I have tried the example using free flow scripting, and I cut and pasted the exact code from the example on the help page, and it errors out on line 6:
//create the CRM vs Creator fields map to push data to the CRM module.
myFieldMap = map();
//add values to the map. CRM fields first and then Creator fields ( without the quotes ). Creator field’s deluge name is used here.
myFieldMap = map();
myFieldMap.put(“Company”, Company_Name);
myFieldMap.put(“Last Name”, Name);
myFieldMap.put(“Phone”, Telephone);
myFieldMap.put(“Email”, Email_Address);
//function to push data to CRM
response = zoho.crm.create(“Leads”, myFieldMap);
This seems to be a common problem with the help documentation within Zoho Apps, and it costs a lot of time troubleshooting!
At this point, I am stuck trying to get a simple operation working on a very simple test form.
Assistance is greatly appreciated.