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");