A small delivery-state checklist for business text workflows
A text appearing in an agent’s sent folder is not proof that the customer received it. For a business texting workflow, treat the sent message, provider acceptance, delivery receipt, and human follow-up as separate events. This distinction matters most after hours, when the person who sent the message may not be the person who sees a reply. Model the message as a record Give each outbound message…
When a business uses text messaging as part of its workflow, it is crucial to understand that simply seeing a "sent" message in an agent's sent folder does not guarantee the customer received it. Instead, each step of the process should be treated as a distinct event: the sent message, provider acceptance, delivery receipt, and human follow-up. This is especially important after business hours when the sender may not be the same person who sees a reply.
To manage these steps efficiently, model the message as a record. Assign each outbound message a unique internal ID. Store details such as conversation ID, recipient, sender, submitted time, provider message ID, and current state. Limit the storage of full message content to what is permitted by your retention policy.
A simple state model could include these stages: queued → submitted → accepted → delivered. Branches should be included for both failed and unknown statuses. An "accepted" event indicates that the provider has received the request, but it does not confirm that the message has been delivered to the recipient's handset. If a receipt is missing, it should remain in the "unknown" state until your designated timeout or reconciliation step is completed.
Always verify that the status event comes from the expected provider before updating the record. Match the provider's message ID to the original outbound message. Keep any unmatched events for further investigation. Make updates idempotent to prevent duplicate tasks or customer notifications due to duplicate events, which providers may send as a result of webhook retries.
Separate the recorded event time from the processing time. A delayed callback may arrive after a staff member has already taken action. Clearly define which states are allowed to move forward and prevent turning a confirmed failure into a "delivered" status simply because an old event has arrived.
Before finalizing your workflow, test it. Send a test message to a controlled number, check the provider's event, and have a second staff member open the shared conversation. Confirm that they can see the latest state and determine if a reply requires an owner. Repeat this test with a simulated failed delivery and an after-hours reply. Document the expected owner, retry decision, and customer-facing language before deploying the workflow to production.
The exact event names and delivery guarantees depend on the provider and channel used, so it is essential to review the provider's current documentation. This checklist serves as a framework to test and refine the workflow around these events. An example of a calling and texting app for HighLevel teams using Telnyx is Phone Clover. Evaluate its current behavior against your own routing and receipt requirements to ensure it meets your business needs.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to