Is it for you?
- ✅ Ideal if you need to
- ❌ Not ideal if
- You have a complex process that you want AI to manage.
- There are multiple paths within the same conversation.
- You need to define different exit or escalation rules.
- You want to advance a sales process.
- You want to reduce response time to prospects.
Use cases
- Advanced lead qualification with multiple exit routes.
- Automated post-sale information delivery.
- Communication with attendees after registering for a webinar.
- Assistance to help the user choose a product among several options.
- Automatic follow-up for abandoned carts.
How to read the generated instructions
The instructions Treble writes follow a consistent structure. Knowing it helps you quickly locate what to modify when the agent doesn’t behave as you expect:Writing the instructions yourself
If you’d rather start from a blank page, or want to understand what the generator is doing, this is the recommended structure:- Context and objective
- Explain what the agent must accomplish and in which scenario it is used.
- Tone and style
- Indicate the desired register (for example, professional and clear).
- Available knowledge
- Indicate when to consult the knowledge base and when not to.
- Available tools
- Name, purpose, parameters, preconditions, and limits of each tool.
- Usage rules: when to call it, what to validate beforehand, and what to return afterwards.
- Task description with explicit rules
- Steps to follow, priorities, completion and success criteria.
- What to do if information is missing and how to request it.
- Capabilities and limitations
- What the agent can do and what it cannot do (and must not promise).
- Concrete examples
- Samples of correct inputs and outputs, plus one or two counterexamples.
- Reasoning
- Reminder to think step by step before responding.
- Escalation and exits
- When to finish, when to escalate, and which data to log.

Tools
The AI Agent can use different tools to perform actions inside or outside the conversation. These tools expand its capabilities, allowing it to consult information, create tickets, or update properties in external systems like HubSpot, in addition to interacting with Treble’s native functions. When you generate an agent, Treble picks the tools it needs and inserts them into the instructions. The ones that require data from you are flagged as pending configuration; you can complete them and add others from the editor.General
- Search the Web — Searches the internet for updated or contextual information.
- Send document — Sends a file to the user during the conversation.
- Send image — Sends an image to the user during the conversation.
Treble
- Read variable — References the value of a variable inside the instructions.
- Save answer as variable — Stores the contact’s answer in a Treble variable.
- Transfer to an agent — Escalates the conversation to a human agent in Treble.
- Send conversation — Sends the contact to another Treble flow.
- Close conversation — Ends the interaction after the time you define.
HubSpot
- Transfer to an agent — Sends the conversation to another agent or team within HubSpot.
- Create ticket — Generates a new ticket with the collected information.
- Read Contact Property — Consults the value of a specific property of a contact.
- Save / Edit property — Updates a contact property with data from the conversation.
Advanced
- API Call — Makes a call to an external API with fixed values or with variables the agent has collected. See the API tool guide.
- Connected Apps — Executes actions in the applications you connected to Treble, such as Google Calendar or Shopify.
HubSpot tools only appear if you have the integration connected, and Connected Apps shows only the applications you already linked to your account.
Frequently asked questions
What is the AI Agent?
What is the AI Agent?
It is an AI agent designed to handle conversational flows with multiple possibilities, integrating tools and advanced logic to execute automated tasks.
Do I have to write the prompt myself?
Do I have to write the prompt myself?
No. You describe what you need, answer a few questions, and Treble drafts the instructions, picks the tools and builds the knowledge base. Your job is to review the result, complete the pending tools and test it.
Do I need to know how to code to configure it?
Do I need to know how to code to configure it?
No. All the setup is done from the Treble interface.
Can the agent understand WhatsApp voice messages?
Can the agent understand WhatsApp voice messages?
Yes. The agent can understand voice messages sent by users through WhatsApp and will automatically reply with text in the conversation.
What happens if the agent doesn't behave as expected?
What happens if the agent doesn't behave as expected?
Review the instructions and try to make them more explicit. Locate the matching section in the table above and add the case that failed as a concrete example.
Can I combine this agent with other flow nodes?
Can I combine this agent with other flow nodes?
Yes. The agent can be integrated into a broader flow and can activate or close conversations, save responses, or call external tools according to your rules.
Which tools can the agent use?
Which tools can the agent use?
General, Treble, HubSpot and advanced tools, including actions such as creating tickets, reading or editing properties, sending documents, transferring conversations, calling an API, or searching for information on the web.
How do I test my setup before launching it?
How do I test my setup before launching it?
Use the playground to run controlled tests with different inputs, and send yourself a test conversation on WhatsApp. Iterate until the agent responds correctly in every scenario.
Can the agent understand images?
Can the agent understand images?
Yes. The agent can understand images sent through WhatsApp and use what it sees to guide its actions. For example, it can recognize objects, read text in screenshots, or interpret elements in the image to decide what to do.However, the agent does not generate or create images. Its visual capability focuses on interpreting and acting on existing images, not producing new ones.
How do I handle complex or exceptional cases?
How do I handle complex or exceptional cases?
Define clear exit or escalation rules. If the agent cannot resolve a situation, transfer the conversation to a human agent or log the event in a ticket.
Can the agent learn or adapt over time?
Can the agent learn or adapt over time?
It does not automatically learn from each interaction, but you can improve its behavior by iterating on the instructions and adjusting the tools or exit conditions.
Important considerations
Privacy: Inform users that their data will be stored and comply with applicable regulations (GDPR, etc.).