Linking an Account & Contact created from same Creator form

Linking an Account & Contact created from same Creator form

Hi,

We are capturing & creating an account and contact from one creator form. We are successfully able to create a Account and Contact record in Zoho CRM but not able to figure out how to link them using the 'Update Record' integration function.

Below is our code - any help is much appreciated!

// Creating Account
myAccountmap=map();
myAccountmap.put(("Account Name"),input.School_Name);
myAccountmap.put(("Account Type"),"Boston STEM Week");
myAccountmap.put("Billing City",input.Shipping_City);
Response_Customer = zoho.crm.create(("Accounts"),myAccountmap);

// Creating Contact
myContactmap=map();
myContactmap.put("Email",input.Email);
myContactmap.put("First Name",input.First_Name);
myContactmap.put("Last Name",input.Last_Name);
myContactmap.put("Phone",input.Phone_Number);
Response_Contact = zoho.crm.create("contacts",myContactmap);