ZOHO API - Create record via form than update a field by API(s)

ZOHO API - Create record via form than update a field by API(s)

Hello.

I'm using zoho forms to collect some basic data in a wordpress website. There is data choices collected in wordpress that I need to also update into the CRM that I'm not collecting in the form which means I need to use the api.

After a user updates their member info via ZOHO FORMS a lead is created in CRM. I need at this point to also send some data about the lead just created. The problem I have is I dont know the lead just created or zoho ID? I believe this is necessary to update my record.

I beleive I need to use the following but I dont have the lead id to update the lead just created with more data. Is there a better method or workflow?

Thank you

XML Format

To update single record into a module in a single API call :

https://crm.zoho.com/crm/private/xml/Leads/updateRecords?authtoken=Auth Token&scope=crmapi&id=Record ID&xmlData=XML Data

To update multiple records into a module in a single API call :

https://crm.zoho.com/crm/private/xml/Leads/updateRecords?authtoken=AuthToken&scope=crmapi&version=4&xmlData=XML Data

Click Multiple Record Updates to view the sample xmlData and response for multiple records duplicate check.