Guide
How to build and deploy your first AI agent in 15 minutes
A step-by-step tutorial to create, test, and deploy a customer support agent that actually resolves tickets — not just responds to them.
Published on
Written by

Priya Sharma

Most AI support bots are frustrating. They give generic responses, can't actually solve problems, and end up creating more work for human agents. But it doesn't have to be this way.
In this guide, we'll build a support agent that can actually resolve customer issues. It will understand context, take actions in your systems, and know when to escalate to humans. Total time: about 15 minutes.
Step 1: Define the agent's scope
Before building anything, get clear on what your agent should handle. For this tutorial, we'll build an agent that can: reset passwords, check order status, process refunds under $50, and answer FAQs. Everything else gets escalated.
Start by creating a new agent in your dashboard. Give it a name like "Support Agent v1" and select the Support template as your starting point.
Step 2: Connect your tools
An agent is only as useful as the actions it can take. Head to the Integrations tab and connect: your customer database (we support Postgres, MySQL, MongoDB, and most CRMs), your order management system, and your knowledge base or help docs.
For each integration, you'll define what actions the agent can take. For example, for your database, you might allow "read customer info" and "update password" but not "delete account."
Step 3: Configure the LLM
In the Model tab, select your preferred LLM. We recommend Claude 3.5 Sonnet for support use cases — it's fast, accurate, and great at following instructions. Set the system prompt to define your agent's personality and boundaries.
A good system prompt includes: the agent's role, what it can and can't do, how it should handle edge cases, and when to escalate. We provide templates, but customize them for your brand voice.
Step 4: Build the workflow
Open the Visual Builder and you'll see a basic support flow. The default template includes: greeting, intent classification, action execution, and resolution confirmation. Customize each node for your use case.
For example, click on the "Intent Classification" node and add your specific intents: password_reset, order_status, refund_request, faq, and escalate. The agent will automatically route conversations based on detected intent.
Step 5: Test in sandbox
Before going live, test extensively. Use the Sandbox tab to simulate real conversations. Try edge cases: what happens if a customer asks for a $500 refund? What if they're angry? What if they ask something completely off-topic?
The sandbox shows you exactly what the agent is thinking at each step. You can see which intent it detected, what tools it called, and why it made each decision. Use this to refine your prompts and logic.
Step 6: Deploy
When you're confident, hit Deploy. Your agent is now live. You can embed it on your website, connect it to your helpdesk, or integrate via API. All conversations are logged with full traces for review.
Start with a soft launch: route 10% of tickets to the agent and monitor closely. Check resolution rates, customer satisfaction, and escalation frequency. Iterate based on real data.
Within a week, most teams see 40-60% of simple tickets fully resolved by the agent. That's hours of human agent time saved every day.
OTHER BLOGS
Explore other blogs
Apr 12, 2026
The future of work is agentic and it's already happening
AI agents aren't coming — they're already transforming how companies operate. Here's what we've learned from powering millions of agent interactions every day.
Apr 11, 2026
How Acme Corp cut their costs by 60% using AI agents
A deep dive into how one fast-growing startup automated their customer support without sacrificing quality — and actually improved customer satisfaction.
Apr 25, 2026
Advanced agent patterns: working with loops and more
Take your agents to the next level with advanced workflow patterns — from conditional logic to approval workflows to multi-agent orchestration.
Apr 25, 2026
Why we're betting everything on the future of AI agents
The future isn't chatbots or copilots — it's autonomous agents that get work done. Here's why we're building the infrastructure to make that happen.
Apr 25, 2026
How we scaled our platform to 50 million agent runs daily
A deep dive into the infrastructure decisions that let us handle massive scale without breaking a sweat — or the bank.
Apr 18, 2026
Introducing the new visual workflow builder for AI agents
Design complex agent workflows with drag-and-drop simplicity. Connect LLMs, tools, and APIs visually — no infrastructure code required.
