AI-Powered Support

Support doesn't scale when every ticket requires manual attention. AI-powered support in Mantle lets you create intelligent agents that automatically analyze tickets, suggest responses, and handle routine inquiries—so your team can focus on the conversations that truly need a human touch.

What are AI agents?

AI agents are intelligent assistants you configure to handle specific parts of your support workflow. Each agent has a mandate (instructions that define its purpose), tools (capabilities like searching docs or getting customer data), and jobs (automated tasks triggered by events).

Think of agents as specialized team members: one might handle tier-1 support questions using your documentation, while another analyzes customer sentiment across tickets to surface insights.

Key concepts

Mandate — The core instructions that define what your agent does. Write clear, specific guidance about the agent's role, tone, and responsibilities. For example: "You are a helpful customer support agent. Be empathetic, solution-focused, and always reference relevant documentation."

Tools — Capabilities you grant to your agent. Built-in tools include searching your docs, getting customer information, viewing subscriptions, and accessing ticket history. You can also connect external services through Model Context Protocols (MCPs).

Jobs — Automated tasks the agent performs when triggered by specific events. A job combines a trigger (like "customer message received") with actions (like "create ticket response suggestion" or "send Slack notification").

Rules — Additional guidelines that shape how your agent responds. Use rules to define tone, formatting preferences, or specific responses for common scenarios.

Creating your first agent

Navigate to Agents in your Mantle dashboard and click Add agent. You'll configure:

  • Name and handle — Give your agent a clear name and a short handle (like /support) for referencing it in chat and Flows.

  • Apps — Choose which apps this agent can access data from. Select "All apps" for a general-purpose agent, or limit to specific apps for specialized agents.

  • Chat enabled — Allow team members to interact with this agent directly in the Mantle chat interface.

  • Visibility — Control who can use this agent: everyone in your organization, specific roles, or just yourself.

Configuring agent context

The Context section defines everything your agent knows and can do.

Mandate

Write detailed instructions for your agent. Be specific about:

  • The agent's primary responsibilities

  • How it should interact with customers

  • What types of issues it should handle vs. escalate

  • Any specific procedures or policies to follow

Pro tip: Use the Generate button to have AI help draft your mandate based on a description of what you want the agent to do.

Tools

Click Manage tools to select which capabilities your agent has access to. Tools are organized by category:

CategoryExample tools
GeneralSearch Mantle docs, get customer, search customers, get apps, get subscriptions
Help deskSearch tickets, get ticket, search saved replies, create ticket response suggestion
MetricsMRR metrics, churn metrics, subscription analytics, customer analytics
ActionsCreate insight, send Slack notification, send email notification

Rules

Add rules to provide additional context or constraints. Rules are great for:

  • Response formatting guidelines (always include a greeting, sign off with agent name)

  • Tone and style preferences (friendly but professional, avoid jargon)

  • Handling specific scenarios (if customer mentions cancellation, always offer to connect with retention team)

Model Context Protocols (MCPs)

Connect external services and data sources through MCPs. This lets your agent access APIs, databases, and other tools beyond Mantle's built-in capabilities—like querying your own backend or accessing third-party services.

Setting up agent jobs

Jobs automate your agent's work by connecting triggers to actions. In the Jobs section, click Add job to create one.

Available triggers

TriggerWhen it fires
Customer message receivedWhen a customer sends a new message on a ticket
Help desk ticket createdWhen a new ticket is created
Help desk ticket updatedWhen a ticket is modified
Daily taskOnce per day at a scheduled time
Weekly taskOnce per week at a scheduled time
Customer uninstalledWhen a customer uninstalls your app
Docs page created/updatedWhen documentation changes

Common job patterns

Automatic ticket analysis: Trigger on "Customer message received" and have the agent analyze the ticket, then create a response suggestion for your team to review.

Daily saved replies analysis: Trigger daily to analyze recent tickets and suggest new saved replies that would help your team respond faster.

Churn risk alerts: Trigger on customer events to analyze accounts and send Slack notifications when high-value customers show signs of churning.

Using agents with Flows

For more complex automation, use the Run AI agent action in Flows. This gives you full control over when and how agents run, with the ability to:

  • Pass dynamic data to the agent using Liquid variables

  • Define a response schema to extract structured data

  • Use the agent's output in subsequent Flow steps

  • Combine with conditions to create sophisticated branching logic

The response schema lets you structure the agent's output so you can use specific values in your Flow. For example, have the agent return a sentiment field and urgency score, then route tickets differently based on those values.

AI-powered chat widget

Connect an AI agent to your chat widget to provide instant, automated responses to customer inquiries. When configured:

  1. Customer sends a message through your support widget

  2. The assigned AI agent analyzes the message and your documentation

  3. Agent generates and sends a response automatically

  4. If the agent can't resolve the issue, it can escalate to a human

To enable this, go to your chat channel settings and select an AI agent under the automation options. The agent will use its configured tools, mandate, and rules to respond to customers.

Response suggestions

When agents create ticket response suggestions, they appear directly in your help desk interface. Support agents can:

  • Review the AI-generated suggestion

  • Edit the response before sending

  • Use the suggestion as-is with one click

  • Dismiss suggestions that aren't helpful

This keeps humans in the loop while dramatically reducing the time spent drafting responses to common questions.

Best practices

Start with one focused agent. Rather than creating a single agent that does everything, start with a specific use case (like tier-1 support) and expand from there.

Write detailed mandates. The more specific your instructions, the better your agent performs. Include examples of good responses and explicit guidance on tone.

Use rules for consistency. If you have brand guidelines or specific formatting requirements, add them as rules so the agent follows them consistently.

Test before enabling. Use the test mode in job settings to see how your agent responds before enabling it on real tickets.

Review and iterate. Check the suggestions your agents create and refine their mandates based on what works well.

Go further