Explore Plans
Mobile menu Close menu
SpokiSpoki

Start Automation

This action will start a Spoki Automation that allows you to send WhatsApp messages and much more.

Developer info

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

Action fields

Automation Dropdown list

Label
ID Automation
Helper text
Copy the ID of the Spoki automation to trigger
Slug
automation
Required
true
Can have default value
false

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.startAutomation.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.startAutomation.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.startAutomation.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.startAutomation.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.startAutomation.setCustomFields(string: customFields)