1. Overview
  2. Workflow Triggers
  3. Workflow Trigger: Twilio Validation Error

Workflow Trigger: Twilio Validation Error

The Twilio Validation Error Workflow Trigger allows you to build a workflow that will be triggered if a validation error occurs with your use of Twilio. This trigger runs based on the Twilio Lookup response before sending an SMS or calling. The contact with whom the communication caused an error will be added to this workflow, allowing you to sequence various actions toward the contact internally.  This article will overview workflow creation using the Twilio Validation Error Workflow Trigger.

Note: Number Validation has to be enabled in Agency Twilio Settings for this Workflow Trigger to function.

Step 1: Start a new workflow or edit an existing one

Step 2: Creating and Editing the Trigger

  • Click “Add New Workflow Trigger”
  • Select Twilio Validation Error in the Contact Actions section of the Workflow Triggers Menu or use the search feature. Once selected, the Trigger setup menu will appear.
  • (Optional) You can change this trigger's workflow builder display name using the textbox below Workflow Trigger Name. Note that this will only affect the display name within the workflow builder and has no other impact on the content or functionality of this Workflow Trigger.
  • Press + Add filters to expand the Filters section of the Trigger setup menu.
    • The Error is filter parameter will allow you to select which Twilio Validation Errors can trigger this workflow. You can select SMS IncapableNot Valid, or both.
    • You can also filter by Custom Fields, which will only allow contacts who meet your selected custom value criteria to be added to this workflow. Custom values are set up elsewhere in your account.
  • Press the Save trigger in the bottom right corner of the Trigger setup menu.

 

Step 3: Set up applicable Workflow Action(s). We have multiple articles available to explain the setup of each Workflow Action. Feel free to review our articles for more information on setting these up.

Pro Tip: You can use any Workflow Actions triggered by the Twilio Validation Error trigger or leave this workflow without any actions.

 

Step 4: Press Save in the top right corner of your browser to save the workflow

  • If your Workflow is ready to be enabled, make sure the toggle switch under Save is set to Publish
  • Be sure to test your Workflow to ensure it is set up correctly using the Test Workflow button next to the Publish toggle switch. 
    • For an in-depth overview of Workflow Testing, see our article, “Using the Testing Features in Workflows”

Your workflow is ready to go with the Twilio Validation Error Workflow Trigger.


Was this article helpful?