Pushing data from Creator to CRM Lead
Hi there,
I'm trying to make a booking app by using a pre-made Appointment Management app in creator.
Form works fine but even there is no error message, somehow I can't push data from creator to CRM Leads.
Is there something wrong on my code or do I need other steps to push the data?
Thank,
Yu
- //// Data to CRM ////
- mp = Map();
- mp.put("Last_Name",input.Customer_Name.first_name);
- mp.put("First_Name",input.Customer_Name.last_name);
- mp.put("Type",input.Service);
- mp.put("Email",input.Customer_Email);
- mp.put("Mobile",input.Phone_Number);
- mp.put("Company",input.Booking_Id);
- mp.put("ShootDate",input.Schedule_Date_Time);
- mp.put("Modified_By",input.Staff_Name);
- mp.put("Branch",input.Branch);
- resp = zoho.crm.createRecord("Leads",mp);
- info resp;