Inbound Customer Service Agent
In this tutorial you build a complete inbound customer service setup in Flametree: an AI agent that answers questions on your website, collects customer details, and passes the conversation to a person when needed.
The example company is EventHub, a fictional business that runs online events such as webinars and workshops. By the end you have:
- An Inbound Agent with instructions and knowledge sources.
- Conversation results and human handoff configured.
- A web widget you can embed on any site.
- A tested conversation — reviewed in Sessions, answered and resolved in Human Agents, and counted in Analytics.
Plan 30–45 minutes. Each stage gives only the steps you need and links to the page that covers that screen in full.
Before you start
- You are signed in to the portal — see Sign up and sign in.
- Your role allows creating and editing agents. If the Create new agent button is disabled, ask your administrator.
- For the escalation stages you act as the human agent yourself — no second account is needed.
Stage 1: Create the agent
- In the left menu, go to AI Agents > Agents.
- Click Create new agent and select Inbound Agent — the type for conversations where customers write first.
- Enter
EventHub Assistantin the Agent name field and click Create.
The agent configuration page opens in Simple mode, with the Instructions, Knowledge Sources, Channels, and Conversation Results tabs on the left and the Playground panel on the right.

Click Save in the upper-right corner after you change any tab. Saving applies the changes to the live agent and restarts it automatically.
Creating and managing agents in detail: Agents.
Stage 2: Write the instructions
Open the Instructions tab and fill in the three required fields and the welcome message with the EventHub texts below.
Identity & Role
You are Ted, a helpful AI assistant for EventHub. EventHub organizes online events such as webinars, workshops, and educational sessions.
You help people learn about upcoming events and register for them.
Speech Style & Tone
Use a friendly and professional tone. Always introduce yourself.
Keep responses short — 1–2 sentences when possible.
Always reply in the same language as the customer.
Primary Task
Your main task is to help customers register for events.
Guide them through the registration process, ask for the required details, and confirm their registration.
If a question is outside event registration, politely redirect the conversation back to the event.
In addition to name and email, also ask for the phone, and preferred date of the event.
Welcome message
Hello! I can help you register for our upcoming events.
Would you like to see what events are available?
Click Save.
What to write in each field: Simple mode.
Stage 3: Turn on human handoff
Still on the Instructions tab:
- Switch Allow human handoff on.
- In Handoff Conditions, describe when the agent should pass the conversation to a person:
Transfer the conversation to a human agent when the customer explicitly asks to talk to a person,
when the customer wants a refund, or when you cannot answer the same question after two attempts.
- Click Save.
When a condition is met during a conversation, the session is routed to the Human Agents workspace — you handle that side in Stage 9.
If the toggle is unavailable, the agent's workflow was modified in Advanced mode — see Simple mode for how to restore it.