Create Your First AI Employee
This walkthrough takes you from an empty AI Employees page to a published, working AI Employee. You'll create a Chat AI Employee that answers questions from documents (the most common starting point) by beginning from a template, reviewing its workflow in the AI Employee builder, testing it, and publishing.
Time: about 15–30 minutes. You'll need: the Builder or System admin role (only these roles see Build an AI Employee), and, optionally, a document or two to use as a knowledge source.
Prefer to describe it instead of building it? Select Ask Ema to open Autopilot and tell it what you want. It can create the AI Employee, build the workflow, and set up a knowledge base for you. This page covers the manual path so you understand what Autopilot is doing.
Step 1: Start a new AI Employee
- From the sidebar, open AI Employees.
- Select Build an AI Employee at the top of the page. This opens the AI Employee templates page.
- It shows two ways to begin:
- Choose a template: browse templates by Hub (for example, HR Hub), narrow by area or by Who it's for, or use Search all hubs. Each card shows its interaction type.
- Start from scratch: the button at the top right. Select it to build a custom AI Employee from a blank workflow.
Option A: Use a template (recommended for your first build)
- Select a template card to open its detail view. Review the overview and, where available, the Configuration tab showing the workflow and recommended data sources.
- Select Use template. Ema creates your own copy and opens it. Or select Build with Autopilot to have Autopilot set it up with you.
Starting from a template gives you a working workflow you can run immediately, then customize.
Option B: Start from scratch
- Select Start from scratch. The create dialog opens.
- Fill in the fields:
- Name (required): for example, "Policy Assistant."
- Description (required): a short summary of what it does.
- Category (optional): the type of AI Employee, by the kind of work it does (for example, Leave and Absence). You can pick an existing category or type a new one.
- Interaction type: choose Chat, Dashboard, Voice (Beta), or Orchestrator. For this walkthrough, choose Chat. (See AI Employee Types for what each does.)
- Select Create.
Step 2: Land in the right place
What happens next depends on the interaction type:
- Chat and Dashboard AI Employees open directly in the AI Employee builder on the workflow editor, ready to edit.
- Voice AI Employees (Beta) open on the AI Employee's detail page, where the Voice Configuration tab lets you configure the voice agent.
- Orchestrator AI Employees have no workflow. They open on the Configuration tab, where you set them up. See Creating an Orchestrator AI Employee.
For a Chat AI Employee, you're now looking at the workflow: a directed acyclic graph (DAG) of typed nodes.
Step 3: Understand the workflow
An AI Employee's workflow is built from a small set of node types:
| Node type | What it does |
|---|---|
| Start | The workflow's entry point. Defines the input the AI Employee accepts (for a Chat AI Employee, the user's message, conversation history, and user context). |
| Agent | A reasoning step that calls an LLM. Each agent has a type: for example the Intent Classifier Agent (categorize the request), Data Extractor Agent (pull structured fields), Rule Validator Agent (check against rules), or Custom Agent (general-purpose reasoning, including search and answering). |
| Transform | Reshapes data between nodes by mapping fields. |
| Publish Results | Marks a value as the workflow's output: what the AI Employee returns to the user. |
A basic retrieval-and-respond Chat workflow connects Start to a Custom Agent, then to Publish Results:
Start → Custom Agent (with a Knowledge Base) → Publish Results
A new workflow from scratch has only Start and Publish Results, and the builder shows an issue until something fills the Answer field. To add your first agent:
- Select Add an Agent, open Frequently Used, and choose Custom Agent.
- In the agent's panel, under Input Mapping, select Add mapping. Give the input a name, set Source to Workflow inputs and Field to User message.
- On the canvas, drag from the agent's Result to Answer on Publish Results.
- Attach a Knowledge Base (Step 4) and write Instructions (Step 5) to answer from its documents with source citations.
Existing templates may contain older agent types that continue to run even though their presets are no longer offered in the library.
The deep mechanics of nodes, agents, conditions, and the editor live in Core Concepts and Builder Guides. This page keeps to what you need for a first working build.
Step 4: Connect a knowledge base
To ground answers in your own content, give the AI Employee a knowledge base:
- In the builder, select Save, then go back to the AI Employee's page.
- On its Configuration tab, find Knowledge Bases and select Add Knowledge Base, or Link knowledge base to use one you already have.
- Create a knowledge base and add sources: upload files or connect a data source through an integration.
- Select Open editor to return to the builder. Make sure your Custom Agent uses that knowledge base: in its panel, pick it under Knowledge Bases.
Knowledge bases and ingestion are covered in depth in Integrations & Data.
Step 5: Configure the agent's instructions
Open the agent node and review or write its Instructions: the natural-language guidance that shapes how it responds. If you started from scratch, the agent has none, and they're required. For a knowledge assistant, you might add:
- "Answer only from the provided sources; if the answer isn't there, say so."
- "Keep responses concise and cite the source for each claim."
Instructions are how you tune behavior without changing the workflow's structure.
Step 6: Test it
Before publishing, confirm the workflow behaves as expected:
- Chat AI Employee: in the AI Employee builder, select Save, then Test, and send a message. Test runs your saved draft, so you can check it before you publish. Ema streams back the answer with citations. Try a question your knowledge base should be able to answer, and one it shouldn't, to check both paths.
- Dashboard AI Employee: run the workflow against a sample input and inspect the resulting row, including its per-row execution history.
Iterate on the instructions and the knowledge base until the responses are right.
Step 7: Publish
When you're satisfied, publish so the AI Employee is live for the people you share it with:
- In the AI Employee builder, select Publish. It stays off until the builder shows no issues.
Publishing creates a new version. You can review and restore earlier versions later from Version history in the builder header.
Step 8: Share access
Leave the builder and open the AI Employee's Permissions tab to control who can view, run, and edit the AI Employee. Grant the right people access so they can find it on their AI Employees page. Permissions and roles are detailed in Administration.
What to do next
You now have a published AI Employee. From here you can:
- Add branching: route the workflow on conditions (for example, by intent) so it handles different request types differently. See Core Concepts.
- Connect Tools: let the AI Employee read from and write to external systems through integrations. See Integrations & Data.
- Evaluate quality: measure response accuracy and track it over time. See Testing & Operations.
- Hand the heavy lifting to Autopilot: describe a change in plain language and let Autopilot make it.