A beginner's guide
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.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will start a Spoki Automation that allows you to send WhatsApp messages and much more.
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)