How to create a new Contact Person in Books via Flow

How to create a new Contact Person in Books via Flow

I already have the Contact created in Books via Flow now I want to add just a Contact Person but I think my list/map formatting is wrong. This is what I'm trying to do:

  1. // Create contact person for the customer
  2. //
  3. // Create a map for a contact person
  4. contactPersonData = Map();
  5. contactPersonData.put("first_name",customerNameFirst);
  6. contactPersonData.put("last_name",customerNameLast);
  7. contactPersonData.put("email",customerEmail);
  8. contactPersonData.put("phone",phonenumber);
  9. contactPersonData.put("address",address1);
  10. contactPersonData.put("city",city);
  11. contactPersonData.put("state",state);
  12. contactPersonData.put("zip",postcode);
  13. contactPersonData.put("country",country);
  14. // Create the contact person record in Zoho Books
  15. createContactPersonResponse = zoho.books.createRecord("contact_persons",orgId,contactPersonData,"books_invoicecontact_connection");


    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方