Deploy an SMS Agent to automate inbound and outbound SMS conversations
In this guide, we’ll walk you through deploying an AI SMS Agent to handle inbound and outbound SMS conversations. The SMS Agent can be used to engage with customers either by responding to inbound SMS or sending outbound SMS messages.
To deploy an SMS Agent that responds to inbound SMS messages:Step 1: Set up the Trigger for Inbound SMS Messages
In the agent flow, add the “When an SMS is received” trigger under Incoming Conversations. This trigger will activate the agent when an SMS is received on the assigned phone number.Step 2: Build and Test Your Agent FlowDesign and customize the agent flow to handle customer queries, such as responding to questions or providing assistance. Test the agent flow to ensure that the agent responds as expected to incoming SMS messages.Step 3: Configure SMS Agent in Settings
Go to Settings > Phone Numbers to select the phone number where you want the SMS agent to respond to messages.
In the “Message Agent” field, select the agent flow you’ve created for handling inbound SMS.
Ensure that the correct phone number is mapped to this flow.
A single phone number can only have one agent flow mapped for inbound SMS, but an agent flow can be mapped to multiple numbers.
Inbound SMS: When a customer sends an SMS to your phone number, the agent flow associated with that number will be triggered automatically to respond to the incoming SMS.
Outbound SMS: Outbound SMS can be triggered by API calls or initiated directly within your agent flow using the “Send Message” node.
Agent Flow Flexibility: Your agent flow can be designed to dynamically respond based on conditions such as message received, or different scenarios like failed or successful message deliveries.