This action will create or update a contact in the Spoki Platform. matching it by phone.
- API endpoint slug
- spoki.create_update_contact
- Filter code method
- Spoki.createUpdateContact.skip(string?: reason)
- Runtime method
- runAction("spoki.create_update_contact", {})
Action fields
- Label
- Phone
- Helper text
- Insert the customer phone number eg. +393331234567
- Slug
- phone
- Required
- true
- Can have default value
- true
- Filter code method
- Spoki.createUpdateContact.setPhone(string: phone)
- Label
- Email
- Helper text
- Insert the customer Email eg. "info@mywebsite.com"
- Slug
- email
- Required
- false
- Can have default value
- true
- Filter code method
- Spoki.createUpdateContact.setEmail(string: email)
- Label
- First Name
- Helper text
- Insert the customer First Name eg. "Mario"
- Slug
- first_name
- Required
- false
- Can have default value
- true
- Filter code method
- Spoki.createUpdateContact.setFirstName(string: firstName)
- Label
- Last Name
- Helper text
- Insert the customer Last Name eg. "Rossi"
- Slug
- last_name
- Required
- false
- Can have default value
- true
- Filter code method
- Spoki.createUpdateContact.setLastName(string: lastName)
- Label
- Custom Fields
- Helper text
- Set custom field values of the contact
- Slug
- custom_fields
- Required
- false
- Can have default value
- true
- Filter code method
- Spoki.createUpdateContact.setCustomFields(string: customFields)
- Label
- Account
- Helper text
- The ID of the account
- Slug
- account
- Required
- false
- Can have default value
- false