Skip to main content

Workflow Trigger: Messaging Error Code - SMS

Overview

The Messaging Error - SMS trigger in Stack allows you to automatically start workflows whenever an SMS message is undelivered due to specific error codes. This feature helps you manage and clean your contact list, ultimately improving your SMS delivery rates.

Common Error Codes

Here are some common error codes you might encounter:

  • 30007 - Carrier Violation
  • 30034 - A2P Registration Pending on Number
  • 30032 - Toll Free Number not Verified
  • 30005 - User Inactive/Number does not exist
  • 30003 - Unreachable/Out of Service Number
  • 30004 - Do not want SMS/DND enabled
  • 30006 - Landline/Incapable to receive SMS

Trigger Name

Messaging Error - SMS

Trigger Description

This trigger activates a workflow based on the error received from an undelivered message. It can be used to take appropriate actions, such as cleaning up your contact list, to enhance future message delivery success.

How to Configure

  1. Choose a Workflow Trigger:

    • Select Messaging Error - SMS from the dropdown list.
  2. Workflow Trigger Name:

    • Provide a descriptive name for the trigger to easily identify it within your workflow.
  3. Filters:

    • Add filters to focus the trigger on specific error codes. You can use the following codes:
      • 30007 - Carrier Violation
      • 30034 - A2P Registration Pending on Number
      • 30032 - Toll Free Number not Verified
      • 30005 - User Inactive/Number does not exist
      • 30003 - Unreachable/Out of Service Number
      • 30004 - Do not want SMS/DND enabled
      • 30006 - Landline/Incapable to receive SMS

Example

Imagine you're running an SMS campaign to promote a new product. You want to automatically remove contacts who are unlikely to receive messages in the future or add a tag to retry sending an SMS later.

  • Choose a Workflow Trigger:

    • Trigger: Messaging Error - SMS
  • Workflow Trigger Name:

    • Name: Messaging Error - SMS
  • Filters:

    • Filter Type: Error Code is
    • Error Name: 30007 - Carrier Violation

Furthermore, you can set up conditional actions using "if-else" statements if different responses are needed based on the error code.