Skip to main content

Twilio Phone Validation

1 - Validate Phone with Twilio
Add Choice

Installing a custom flow step requires Admin permissions in Marketo. Apart from the Installation URL, all other aspects of a serviced may be edited after completing initial onboarding by drilling down into the service detail screen from the Service Providers grid.

In Marketo navigate to Admin → Service Providers and click Add New Service

From here, follow the bellow steps to install and configure the flow step.

Outbound Fields

The Validate Phone with Twilio flow step uses set outbound fields. Below are the person fields that are sent to the flow step based on the mapping you set.

NameAPI NameTypeDescription
MobilePhoneMobilePhonestringMobilePhone
PhonePhonestringPhone
Inbound Fields

The Validate Phone with Twilio flow step uses set inbound fields. Below are the fields that are returned from the flow step and can be written to the person based on the mapping you set.

NameSuggested Marketo FieldDescription
PhoneStatusPhoneStatusReturns Valid or Invalid
PhoneCountryPhoneCountryReturns 2-digit ISO country code
PhoneDetailsPhoneDetailsReturns Carrier and phone type
MobileStatusMobileStatusReturns Valid or Invalid
MobileCountryMobileCountryReturns 2-digit ISO country code
MobileDetailsMobileDetailsReturns Carrier and phone type
Global Configuration Fields

Global user inputs that are passed along with every call to the Validate Phone with Twilio flow step service. Global attributes can be set during installation or updated from the Service Provider admin menu.

NameAPI NameTypeDescription
Twilio Phone Verification API Keyapi_tokenstringTwilio Phone Verification API Key
Flow Step Fields

These fields are set for each individual instance of the Validate Phone with Twilio flow step and are sent per-lead when it is called.

NameAPI NameTypeDescription
Select fields to validatevalidatestringSelect fields to validate
Context Data

NameDescription
Program ContextData about the program where the flow step was triggered including name, id, type, workspace etc.
Campaign ContextData about the campaign where the flow step was triggered, including name, id, type, status, etc.
Trigger ContextContext around the trigger that initiated the smart campaign where the flow step was called. No data is sent if the flow step was called in a batch campaign.
Subscription ContextGeneral data about the subscription including munchkinId and name

Flow Step

Once the Twilio Phone Validation flow step is installed it becomes available in smart campaigns.

1 - Validate Phone with Twilio
Add Choice

Trigger & Filter

Once the Twilio Phone Validation flow step is in use the activity can be used as a trigger or a filter inside smart lists and smart campaigns.

Validate Phone with Twilio is sent
Select...
1 - Validate Phone with Twilio was sent
Select...
Contact us