Tools, notifications and automatic tags

Who this is for: whoever manages the account.

What it is for

Besides chatting, an agent can run actions. That turns a chatbot into an assistant that operates. They are set up in the Tools step.

💡
Tip:Describe each tool well: the agent decides when to use it by reading your description. "Gets the status of an order from the order number" works better than "gets orders".

Calling your API (external API)

The agent queries one of your systems (stock, prices, order status, a service record). You configure:

➡️
Step:Fill in the tool with its parameters.
➡️
Step:Click Test tool and enter test values to see the real response from your API.
➡️
Step:Save only when the test returns what you expect.

System actions

ActionWhat it does
Escalate to a personMoves the conversation to the human team
TagApplies a tag to the conversation
Close the conversationCloses it with a summary
WebhookNotifies an external system
Notify a user or departmentNotifies the team inside TalkAI and the agent keeps answering
Notify the owner outside TalkAINotifies a person through an external channel
Consult another agent (consult_agent)Asks a transactional agent something without handing over the conversation
Send a template (send_template)Sends a WhatsApp template without variables, for example a button menu
Read attachments (read_attachment)Reads PDF, Word, Excel, CSV, text and photos of documents
Edit images and PDFs (edit_media)Redacts, crops, retouches, rotates or converts. See Attachments
Verify receipts with AFIPVerifies invoices (Argentina only). See AFIP validation
CalendarOffer slots, book, list, reschedule and cancel appointments. See Calendar

If send_template sends nothing

The tool rejects the template, and the agent seems silent, in three typical cases:

Agent editor with the switches to transfer to and consult other agents.

Automatic triggers

Some actions can fire on their own on an event, without the agent deciding: on start, on close, on transfer to another AI agent or on escalation to a person.

Arguments accept variables that are replaced with real data: {{customerName}}, {{customerPhone}}, {{conversationId}}, {{lastUserMessage}}, {{summary}}.

Automatic notifications

In the General step you can make the agent notify your team on each event (start, close, escalation, transfer). For each one you choose whether to notify, which department or user, and a summary with variables.

Automatic tags

In the same way, the agent can tag the conversation depending on the event. For each one you choose the tag.

💡
Tip:Combine automatic tags with inbox filters to measure: for example, "Resolved by AI" on close or "Needs human" on escalation.

Common mistakes