Handle “Outgoing SMS with error code” through Triggers
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:
- 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.