Skip to main content

Set Up Post-Chat Analysis

Every chat your agent handles is full of usable data — budget, location, timeline, outcome — that shouldn't be left buried in a transcript. Post-chat analysis reads the conversation once it ends and writes structured outputs (a summary, an outcome label, qualification fields, a lead score) straight into the contact record, your reports, and any downstream workflow waiting on them.

Entry pointAutomation → AI Assistants → Post-Conversation Tools

Article summaryDetails
RequiresPermission to manage post-conversation tools and edit agents.
Where to goAutomation → AI Assistants → Agents → Post-Conversation Tools (to create), or Build → Agent Details → Post-Chat Analysis card (to attach).

What Post-Chat Analysis Extracts

A post-chat analysis tool defines what to pull from the conversation and where to put it. Typical extractions:

OutputWhat it captures
Conversation summaryA short paragraph the next human can read in 10 seconds.
Outcome labelSingle category — Qualified, Not interested, Wrong number, Handoff requested, Spam.
Qualification fieldsThe structured answers — budget, location, timeline, preferred next step.
Lead scoreNumeric or banded score (Hot / Warm / Cold) based on prompt-defined criteria.
Customer sentimentPositive / Neutral / Negative for QA tracking.
Custom fieldsAny other structured field your CRM cares about.

The exact list is per-tool — define one or many outputs, and the LLM fills them after the conversation closes.


Create a Post-Chat Tool

  1. Open Automation → AI Assistants → Agents and switch to the Post-Conversation Tools tab.
  2. Select + Create Tool in the top-right.
  3. Fill the Basics section:
    • Name — snake_case, e.g. lead_qualification_output.
    • Display Name — human-readable label.
    • Description — what this tool extracts and why, in plain English.
  4. Fill the Configuration section:
    • Outputs — add each output field one by one. For each:
      • Name (snake_case identifier).
      • Type (text / number / single-choice / multi-choice / boolean).
      • Description — what the LLM should extract for this field.
      • Choices — if single- or multi-choice.
    • Mapping (optional) — where each output writes back: contact custom field, deal field, tag, lead status.
  5. Select Create Tool. The tool appears under the Post-Conversation Tools list.

Keep the output list tight — 3 to 6 fields. The LLM's accuracy drops as the list grows, and downstream consumers (reports, workflows) prefer a small, consistent schema.


Attach to a Chat Agent

A post-chat tool only runs when it's attached to an agent.

  1. Open the chat agent at Automation → AI Assistants → Agents → [agent name].
  2. On the Build → Agent Details view, find the Post-Chat Analysis card on the right rail. Its subtitle reads "Outputs after each chat."
  3. Select the + button on the card. A picker opens listing every post-conversation tool in the workspace.
  4. Select Add next to the tool. It moves into the card's attached list.
  5. Select Save in the agent header.

Attaching a Post-Chat Analysis tool to a chat agent — open the picker, pick Summary (or another tool), click Add.

Multiple post-chat tools can be attached to one agent if you need different extractions for different downstream consumers.


Remove from a Chat Agent

  1. Open the agent and expand the Post-Chat Analysis card.
  2. Find the tool row and select the remove (×) control.
  3. Confirm.
  4. Select Save.

The tool stays in the workspace's Post-Conversation Tools list — it's only detached from this chat agent.


Example: Qualification Output

A lead-qualification chat agent should capture the answers needed for the sales handoff.

Tool configuration

  • Namelead_qualification_output.
  • Display Name — Lead Qualification.
  • DescriptionExtract the qualification details captured during the conversation: budget, location, timeline, and the customer's preferred next step.
  • Outputs:
NameTypeDescription
budgettextThe budget the customer mentioned, in lakhs / crores. Empty if not provided.
locationtextCity and locality. Empty if not provided.
timelinesingle-choiceOne of: Within 1 month, 1–3 months, 3–6 months, 6+ months, Unknown.
next_stepsingle-choiceOne of: Site visit, Callback, Email follow-up, No follow-up.
qualifiedbooleanTrue if budget, location, and timeline are all captured.

Mapping

  • budget → contact custom field budget_band.
  • location → contact city and tag.
  • timeline → deal field expected_close.
  • next_step → triggers a workflow to schedule the action.
  • qualified → updates the contact's lead status.

Example: Outcome Label

A second tool tags every conversation with one outcome category for reporting.

Tool configuration

  • Nameconversation_outcome.
  • Display Name — Conversation Outcome.
  • DescriptionCategorize every conversation with a single outcome label for reporting.
  • Outputs:
NameTypeDescription
outcomesingle-choiceOne of: Qualified, Not interested, Wrong contact, Handoff requested, Stop requested, Inconclusive.
summarytextOne-sentence summary of why the conversation ended this way.

Mapping

  • outcome → contact tag (so the reports table can group by it).
  • summary → contact note (visible to whoever follows up).

Where Outputs Show Up

Once attached and running, post-chat outputs appear in:

WhereWhat's visible
Contact detail pageCustom fields, tags, notes that the tool wrote.
Deal detail pageDeal fields the tool mapped to.
Inbox conversation footerA short summary card if the tool produced one.
Agent Activity ReportsOutcome distribution per chat agent, per period.
WorkflowsThe mapped outputs are available as workflow trigger conditions.

Design Rules

  • One tool, one purpose. A qualification output and an outcome label belong in two tools, not one.
  • Few outputs per tool (3–6). More than that, LLM accuracy drops.
  • Use enums (single-choice) wherever you can. Free-text outputs are harder to filter on in reports.
  • Always include a fallback — e.g., Inconclusive, Unknown, empty string — so the LLM has somewhere to put answers it didn't catch.
  • Test extraction with Test before relying on the outputs in workflows. See Test a Chat Agent.

Troubleshooting

ProblemWhat to check
Outputs are blankConversation ended too early, or the agent didn't capture the underlying answer. Run a test session and confirm.
Output is wrongDescription is ambiguous — rewrite it to be more specific. Add explicit examples in the description.
Outputs aren't reaching the contactMapping isn't set. Re-open the tool config and assign each output to a destination.
Free-text output varies wildlySwitch to a single-choice enum and list the categories.
Lead status not updatedMapping for the boolean / outcome field isn't pointing at the right contact field.
Reports group everything as "Unknown"The agent isn't reaching the end of the conversation. Check Maximum number of messages and the prompt's exit conditions.

Mapping outputs to contact and deal fields depends on those custom fields existing — if a field you want to write to isn't in the mapping picker, your admin needs to create it in the CRM first. The same admin owns the Post-Conversation Tools permission if the tab itself is hidden.

Contact Brixi support if outputs extract correctly (you can see them on the conversation) but the mapped values never land on the contact, deal, or workflow trigger. Include the tool name, one affected conversation, and which destination field stayed empty.

Related articlesAI Chat Agents (overview)Create and Configure a Chat AgentWrite the Chat Agent PromptChat ToolsAgent Activity ReportsPost-Conversation Tools (Voice Agent)
Was this article helpful?If something is unclear or out of date, email support@brixi.ai with the article title — or see Getting Help for what to check first.