New to AI Agents? For the full guide to setting up, creating and turning on an AI agent, see AI Agents 2.0.
This guide walks you through building a Salesmsg AI Agent, from choosing a type and describing your agent to setting its trigger, writing its instructions, testing and activating it.
For info on Booking AI Agents click here.
Getting started
Find and click the AI & Automation icon located in the left menu (it looks like sparkles). Next click on the New AI Agent button in the top right.
Important: The AI Agent builder does not autosave. Changes are only kept when you click Save as draft (a new agent) or Save changes at the top of the builder. Refreshing the page or closing the tab before saving permanently discards any edits made since your last save, and they cannot be recovered. Save your progress frequently while building or testing an agent.
Step One: Choose a Type and Describe Your Agent
Click New AI Agent.
In the Choose type window, select Texting. To build an agent that answers phone calls, select Incoming calls instead and see AI Calling Agent.
Then, in the next window:
Under What would you like to create?, describe what your AI Agent should do, or click a starting point to prefill the description.
Edit the prefilled text if you need to, then send it.
Salesmsg uses your description to write starter instructions, then opens the builder where you can keep chatting or fine-tune every setting on the Configure tab. Give your AI Agent a clear and descriptive name that reflects its purpose.
Available starting points
Booking
Connect your agent to your Calendly account so it can book meetings with contacts or share your booking link.AI Data Collection
Gather key information from prospects and customers to qualify leads, capture contact details, collect feedback, or populate custom fields.Customer Support
Handle common customer inquiries, provide assistance, and help resolve support requests automatically before escalating to your team when needed.FAQ
Automatically answer questions about your business, products, services, policies, or any information you provide within the agent instructions.
For any other use case, such as a receptionist, product promotions or event coordination, type your own description instead of picking a starting point.
Create a Customer Support agent
Click the AI & Automation icon in the left menu.
Click AI Agents, then Agents.
Click New AI Agent in the top right.
Select Texting.
Click Customer Support, edit the description if needed, and send it.
Salesmsg fills in starter instructions for support conversations, including when to escalate to your team. Treat them as a starting point: edit them to match your product details, escalation contacts, troubleshooting steps, and brand voice.
You decide in your instructions what counts as a success or a fallback. For a support agent, you might treat it as a success when the contact confirms their issue is resolved, and as a fallback when the contact refuses help.
To let the agent answer from your own documents, open the Knowledge Base section on the Configure tab, choose Yes and select the documents it can use.
Step Two: Set the Trigger
On the Configure tab, the Trigger section sets how contacts get into your AI Agent and which inbox it texts from.
Run manually: Always on. You and your team can enroll contacts from Conversations, Contacts, Call flow, Broadcasts and Workflows.
Run automatically: Enrolls contacts that match your enrollment criteria. Click the Enroll contacts field to choose who to include or exclude, using tags, contacts, segments or contact filters.
Run via webhook: Enrolls a contact when a GET request is sent to the agent's webhook URL. The URL is available to copy once the agent is active.
Start conversations from: The inbox your AI Agent sends messages from.
When you activate the AI Agent, you choose whether to enroll existing contacts that already meet your criteria.
Enrollment and Re-enrollment Controls
You can enroll contacts based on inbound messages received in specific inboxes or on the content of the message body. These filters let you target exactly which contacts should be enrolled, using flexible conditions such as "is equal to," "contains text," or "is unknown."
The Allow contacts to re-enroll after completion switch decides whether contacts can go through the AI Agent again after they finish. By default, this is enabled for Agents and disabled for Campaigns, but you can adjust it as needed. To prevent infinite re-enrollment loops, a warning appears when re-enrollment and message-based filters are both on. There's also a one-hour grace period after a conversation is manually claimed, during which the contact will not be automatically re-enrolled.
To send AI Agent messages from each contact's owner instead of a fixed inbox, see Personalize AI Agent Messages with Contact Owner and Custom Fields.
Ability to Continue Conversation
Salesmsg's AI Agent can also initiate conversations with contacts by sending AI-generated messages. This can be used in two key scenarios:
First-time outreach – The AI Agent sends the initial message to a new contact.
Ongoing conversations – The AI Agent continues an existing thread with full context.
This feature is especially useful when a contact has asked multiple general or open-ended questions. Instead of crafting a reply manually, a human team member can pass the conversation to the AI Agent, allowing it to respond intelligently based on the conversation history.
Key benefits:
Allows the AI Agent to craft responses using existing conversation context (up to 20 prior messages)
Reduces time spent answering repetitive or general inquiries
Supports seamless handoff between human team members and the AI
Enables proactive engagement without needing human input for every reply
This capability helps streamline workflows while ensuring contacts receive timely and context-aware responses.
Step Three: Write Your Instructions
The Instructions section on the Configure tab is the bread and butter of your AI Agent. It tells the agent why the conversation is happening, and the agent uses it to answer questions, make decisions and follow your rules.
In your instructions, cover:
Your business: A brief overview of your services and how the AI Agent will help.
The topic of the conversation: The purpose of the conversation, such as "We have limited time offers on our great products."
How to open the conversation: We recommend starting with an invitation to chat about a specific topic.
Style and tone: How the agent should sound, for example "Keep messages brief and very friendly."
Type / to add contact fields and actions. Click Enhance to have Salesmsg improve your instructions, or the expand icon to edit them in a larger window. For how Enhance works, see AI Agents 2.0.
Some Quick Best Practices:
Do not mix "do" and "do not" prompts.
Try out different versions of your instructions and test the AI Agent thoroughly before launching it.
For more tips, see How to Write Instructions for Salesmsg AI Agents.
Step Four: Add Actions and Contact Fields
Within your prompt you can give instructions to your agent to use the values of contacts like in this first name example, if it's missing, you can have it collected and saved by the agent.
You can also deploy actions like if a contact is not engaging with your agent as expected you can summarize the conversation in a note, and end the AI agent interaction.
Setting it up
In your agent's prompt, type / and select Add conversation note.
In the modal that opens, decide how the note gets written:
Leave the AI-generated toggle off to write the note yourself in the text area.
Turn it on to have the agent write the note automatically based on the conversation.
If you're writing the note yourself, type your message. You can add emoji, and you can @mention teammates or an inbox to bring them into the loop.
Click Save.
Your note needs some text in it before you can save. If you close the modal without entering anything, the action won't be added.
Actions you can add with / include adding or removing a tag, leaving a contact or conversation note, sending an SMS, stopping the conversation and handing off to a human. For the full list, see Add Actions and Merge Fields to AI Agent Instructions.
Step Five: Review the Other Configure Settings
The rest of the Configure tab holds the settings that shape how your agent behaves:
Contact opt-out detection and Crisis / self-harm language detection: Safety switches, both on by default for new agents. See AI Agent Safety and Compliance Settings.
Knowledge Base: Lets the agent answer from your own documents. See Salesmsg AI Knowledge Base.
Booking: Connects the agent to your calendar so it can book meetings. See Booking AI Agent.
Auto Follow-Up: Follow-up messages when a contact stops replying. See Auto Follow-Up below.
Testing Your AI Agent
Test your AI Agent in the Test agent panel to make sure it behaves as expected before going live. Testing uses no credits and never reaches a real contact. We recommend multiple rounds of testing.
Steps to test your AI Agent
Click Start testing. If you have unsaved changes, click Save & Test (or Publish & Test for an active agent) when asked.
Reply as the contact and watch the agent respond.
Click Test follow-up to send a follow-up message. This is available when Auto Follow-Up is on.
Click Restart agent to reset the test conversation. If you edited the agent during the test, click Save & Restart.
In test mode, verify that your AI Agent:
Sends follow-up messages after the first message
Executes Success and Fallback actions correctly
Restarts properly and responds according to different follow-up frequencies (Subtle, Steady, Assertive)
When a test conversation ends, the panel tells you whether success or fallback actions would run for real contacts.
Activate Your AI Agent
Once satisfied, click the Activate button at the top of the page.
Salesmsg checks your setup first. If it has suggestions for your instructions, you can click Edit instructions or Skip for now.
If Run automatically is on and contacts already meet your criteria, you see how many and choose Enroll contacts or Don't enroll contacts. Opted-out and blocked contacts and contacts with an invalid phone number are never enrolled, and the count leaves them out.
While active, any new contact that matches your enrollment criteria is enrolled automatically.
Publishing Changes to an Active AI Agent
When you publish changes to an active AI Texting Agent, AI Calling Agent, Campaign, Workflow, or Survey, a "Publish changes?" confirmation appears. Changes apply only to contacts in new sessions. They do not apply to contacts already in an active session, which finish on the previous version.
Activating a disabled agent or workflow shows a confirmation that changes apply only to contacts in new sessions, not contacts already enrolled.
Activating a new or draft agent, campaign, workflow, or survey that has enrollment filters turned on shows a confirmation with the number of contacts that meet the enrollment criteria.
Auto Follow-Up
No more conversations left hanging, every new AI Agent you create comes with built-in follow-up reminders - automatically nudging your contacts to respond and keeping the conversation alive.
By default, your AI Agent will send 2 smart reminders over 3 days if a contact doesn't reply. It's a simple way to dramatically improve engagement without lifting a finger.
With this feature, your AI Agent becomes even more proactive - driving more responses, more conversions, and better outcomes for your business.
Table below describes what are the delays and number of reminders for each option:
Window | Subtle | Steady | Assertive |
3 Days | Min 1 follow-up Day 2 | Default Option 2 follow-ups Days 2, 3 | 3 follow-ups Days 1, 2, 3 |
7 Days | 2 follow-ups Days 3, 6 | 3 follow-ups Days 2, 4, 7 | 5 follow-ups Days 1, 2, 4, 6, 7 |
14 Days | 3 follow-ups Days 2, 6, 12 | 5 follow-ups Days 1, 3, 6, 9, 13 | Max 7 follow-ups Days 1, 2, 4, 6, 8, 10, 13 |
Turn Auto Follow-Up Off
You can control Auto Follow-up on a per-agent basis to prevent unnecessary messages from being sent. In the Auto Follow-up section, a toggle is available for every agent, allowing you to turn Auto Follow-up on or off depending on your needs. This feature is available for all agent types and helps you maintain more personalized communication.
Benefits include:
Prevents sending unwanted follow-up messages
Gives you control over each agent's messaging behavior
Helps maintain a more personalized experience for your contacts
Easy to enable or disable using a simple toggle
The End session setting decides when the session ends if the contact never replies. While Auto Follow-Up is on, the session ends 1 day after the follow-up window. While it is off, you choose 1 to 30 days.
More AI Agent settings
To enroll contacts in an active AI Agent and to pause and resume AI Agent sessions, see Manage and Monitor Active AI Agents.
For how opted-out or blocked contacts are handled, crisis and self-harm language guardrails, AI Agent permissions, and Quiet Hours, see AI Agent Safety and Compliance Settings.
To use custom CRM fields with your AI Agent through custom property mapping, see Personalize AI Agent Messages with Contact Owner and Custom Fields.
For how your AI Agent uses the contact's name, see Personalize AI Agent Messages with Contact Owner and Custom Fields.
To test your AI Agent on real devices, claim conversations, use silent notifications, review agent details, and track weekly performance, see Manage and Monitor Active AI Agents.
Frequently Asked Questions
How do I set up contact enrollment?
In the Trigger section on the Configure tab, check Run automatically and choose your criteria in Enroll contacts, using tags, contacts, segments or contact filters. You can choose to enroll existing contacts when you activate the AI Agent.
Can I enroll contact manually?
Yes. Run manually is always on, so you can enroll contacts from Conversations, Contacts, Call flow, Broadcasts and Workflows once the agent is active.
What is the purpose of the first message?
The first message starts the conversation. There is no separate first message field: describe in your instructions how the agent should open, and pick the inbox in Start conversations from. We recommend an invitation to discuss a specific topic.
How do I configure the AI Agent?
Use the Configure tab. Set the Trigger, write your Instructions (your business, the purpose of the conversation and the response style), and review the safety, Knowledge Base, Booking and Auto Follow-Up settings.
How do I make the AI Agent collect information?
List the fields the agent should collect in your instructions, such as email, phone number, and service interest, and type / to add contact fields. The AI Data Collection starting point gives you a head start.
What are Success Actions?
Success actions are what the AI Agent does after reaching its goal, such as sending a thank you message, adding a "Qualified Lead" tag, or leaving a note in the contact's profile. You define success and add these actions in your instructions with /.
Is there an additional cost to use the AI agent?
Yes, we charge 2 extra credits for every message being processed or generated by our agent.
Can the AI Agent answer questions from my uploaded files?
Yes. Add your files to the knowledge base under AI & Automation > AI Agents > Knowledge base. Then, in the agent's Knowledge Base section, choose Yes and select the documents it can use.
Can I edit the instructions that come with a template?
Yes. Template instructions are a starting point. Change them to match your product details, escalation contacts, troubleshooting steps, and brand voice.
Common Prompt Mistakes
"Do not respond" / silence instructions
Instead of negative instructions like "Do not respond if X," use affirmative redirection: "If the customer's message does not require a reply, respond only with: 'Thank you, I've noted that.' Do not leave any message unanswered."
Hard-promising timeframes or outcomes
Add an explicit constraint that prevents the agent from committing to any timeline:
"Never promise or imply a specific response timeframe. Instead of 'We'll get back to you today,' say: 'A team member will follow up with you as soon as possible.'"
or outcome:
Never promise or imply a refund or pricing structure. Reply "I understand that you're looking for a refund or special pricing. A member of our team will review and reply."
Missing escalation guardrails
Define a clear, deterministic handoff path so the agent never loops:
"If you cannot resolve the customer's request, say: 'Let me connect you with a team member who can help.' Then immediately trigger the handoff action. Do not attempt to resolve the issue further after initiating a handoff."
HTML tags / decorative styling in prompts
Strip all markup and keep prompts in plain natural language:
"Write all instructions in plain text. Do not use HTML tags, markdown formatting, or decorative characters (e.g., ★, ●, ═) in your system prompt. These can cause unpredictable output behavior."
No "thinking out loud" suppression
Add an explicit rule to keep internal reasoning invisible to the end user:
"Never reveal your internal reasoning, decision logic, or meta-commentary to the customer. Do not narrate what you are doing (e.g., 'The conversation has been concluded'). Only output the direct response intended for the customer."
Related Articles
Need Help? ✋🏻
Contact us on live chat or send an email to us at [email protected].












