vineri, 29 martie 2019

Automatically import file from FTP server to Zoho CRM as Leads or Contacts

https://bit.ly/2GWSkNL Wftpserver secret sale page.
How to automatically import files from FTP and insert the data as Leads or contacts into ZOHo CRM Website : https://infitarit.com/ Email : contact@infitarit.com ------------. +-------------------------------- // replace with Correct Emai and authotoken, DB name of you ZOHO analytics // read the ZOHO Analytics API - https://www.zoho.com/analytics/api/#export-data res = getUrl("https://analyticsapi.zoho.com/api/EMAIL/DBNAME/TABLENAME?ZOHO_ACTION=EXPORT&ZOHO_OUTPUT_FORMAT=JSON&ZOHO_ERROR_FORMAT=XML&ZOHO_API_VERSION=1.0&authtoken=**************"); response = res.get("response"); result = response.get("result"); rows = result.get("rows"); for each red in rows { // you need to parse correct column based on your Table column sequence myMap = Map(); LEADID = red.get(0); company = red.get(2); LastName = red.get(5); email = red.get(15); myMap.put("Last_Name",LastName); myMap.put("Company",company); myMap.put("Email",email); crmres = zoho.crm.createRecord("Leads",myMap); } ________________+____________________________________

Niciun comentariu:

Trimiteți un comentariu