Using a Workflow and Smart List To Track Failed SMS Contacts

If you are sending SMS communications in our software, and the SMS fails to go through, you may want to track those contacts for a variety of reasons (i.e. perhaps you want to call or email them to confirm their mobile number for SMS communications.) You can create and save a smart list to compile Contacts with failed SMS actions and use a Workflow to update this smart list in real-time.

Follow these steps to learn how to create a Smart List and Workflow to achieve this:

Step 1: Create a Smart List Based on a ā€œFailed SMSā€ tag

  • Navigate to Contacts > Contacts/Smart Lists.

  • Click More Filters

  • Choose ā€œTagā€ and then select ā€œIsā€ and choose the tag you will be using for failed SMS.

    • NOTE: You can use an existing tag or create a new one, such as ā€œFailed SMSā€.

  • Click ā€œApplyā€ to save your filter.

  • At the bottom of the window, click ā€œSave as smart listā€ to save the filter(s) as a permanent list in our software. (You can always edit or delete this list later.)

Step 2: Create a Workflow to Apply Your Tag

  • Create a new Workflow in the builder, and set up a trigger for ā€œTwilio Validation Errorā€.

  • Filter by ā€œError Isā€ and choose ā€œSMS Incapableā€.

  • Save the trigger.

  • Add an action to the Workflow.

  • Choose ā€œAdd Contact Tagā€ and type in the name of the tag you created in Step 1 (such as ā€œFailed SMSā€.)

  • Save the action.

  • Save and publish your Workflow.

Now, anytime the Twilio system recognizes that an SMS fails/errors, our software will apply your ā€œFailed SMSā€ tag to the contact (because of the Workflow.) Your saved Smart List of Contacts will be updated in real-time with anyone who has that tag. You can then determine if you want to manually go through that list to resolve issues or create another workflow to automate another type of follow-up (perhaps a call or email) to those Contacts.

Last updated

Was this helpful?