How Can We Help?

Handle “Outgoing SMS with error code” through Triggers

You are here:
< All Topics

aNinja allows you to automatically handle the outgoing SMS with an error code through Triggers. You can set a trigger action to set those leads as “do not contact”.

SMS with Error code

When you attempt to send a text through aNinja, the system uses the primary phone number saved in the lead contacts to send your text.

If the phone number saved in the lead contacts is wrong, landline, or blocked by the carrier, your sent SMS will return with an error code.

Setting a trigger to automatically mark leads as “do not contact”

You can configure automatically marking a lead as “do not contact” and handle outgoing SMS with an error code through triggers. You don’t want to keep on sending texts to an invalid phone number.

  • On the left sidebar, click on Automations > Triggers
  • Hit + Add Trigger
  • In the Trigger Event:
    • Choose “Outgoing SMS with error code
    • From the dropdown, choose the error message you want to execute the trigger action.handle incoming SMS with error code
  • In the Trigger Action:

Set “Add all lead contacts to do not contact list

Regarding the leads that that were added to the “do not contact” list, they do get included in the bulk sequence, but their texts get blocked from our side so it doesn’t get actually sent.
You can check them by clicking on the blocked leads count in ‘Bulk Sequences’ widget.

Also, set “Break after Trigger executes” to YES / true so that no other triggers execute after this match on that Lead.

It’s good to give this trigger a high priority level (e.g. 100). This indicates which trigger should be processed first.

Table of Contents