Explore Plans
Mobile menu Close menu
SpokiSpoki

Create or Update Contact

This action will create or update a contact in the Spoki Platform. matching it by phone.

Developer info

API endpoint slug
spoki.create_update_contact
Filter code method
Spoki.createUpdateContact.skip(string?: reason)
Runtime method
runAction("spoki.create_update_contact", {})

Action fields

Phone Text input > Short text

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)

Email Text input > Short text

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)

First name Text input > Short text

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)

Last name Text input > Short text

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)

Custom fields Text input > Long text

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)

Account Dropdown list

Label
Account
Helper text
The ID of the account
Slug
account
Required
false
Can have default value
false