Build Your First Appian AI Agent
Click by click, in Appian Designer. We'll build an agent that reads a customer email, looks up their account, checks policy, and either replies or escalates to a human — then drop it into a process model with the Execute AI Agent smart service.
Before you start: it has to be switched on
Your progress
0 of 6 done1Create the agent
Open your application in Appian Designer, stay in the Build view, and click NEW > AI Agent.
The create dialog asks for a Name, an optional Description, and — new in 26.x — an Agent Type. That choice decides where the agent can run, so get it right now:
Process Agent
Runs inside a process model via the Execute AI Agent smart service. No human in the loop while it works — it takes an input, reasons, acts, and returns structured outputs. This is what we're building, because inbox triage should happen without anyone watching.
Create AI Agent
Name it like a design object, not a robot
TTC_CustomerRequestIntake. You'll be reading this name in a process model node and an audit trail later — “Aiden” will not help you then.2Write the instructions
This is the whole brain of the agent, and it's just text. In 26.7 the Instructions field takes Markdown, and there's a Preview tab to see it rendered. Structure beats prose — headings give the model clean boundaries between who it is, what it does, and what it must never do.
## Role
You are a customer service agent for a telecom provider.
## Task
Read an inbound email from an existing customer, gather what you
need using your tools, and take exactly one action.
## Steps
1. Look up the customer record before anything else.
2. Read their account type and the packages they hold.
3. Check the request against the relevant policy document.
4. Choose ONE action plan:
- **Answer** — a general question. Reply with the answer.
- **Refund** — verify eligibility against the refund policy
first. If eligible, raise it and return the refund ID.
If not, explain why, quoting the policy.
- **Service ticket** — something is broken or needs changing.
Raise the ticket and return its ID.
- **Escalate** — meets the escalation criteria. Flag for a
human and do not reply on your own.
## Rules
- Verify the customer exists before taking any action.
- Never issue a refund without checking eligibility first.
- If the request fits no plan cleanly, escalate rather than guess.Write the escape hatch first
3Add tools
A prompt with no tools is a chatbot. Tools make it an agent. Click ADD TOOL, pick the design object, and it appears in the Tools list with its description — which the agent reads to decide when to use it. There's also an External Tools tab for MCP servers, if you need the agent to reach something outside Appian.
Knowledge tools — read only
Documents hold your policies, so the agent quotes real rules instead of inventing plausible ones. Record types are how it finds out who is emailing and what they already have.
Action tools — they write
Process models let it actually do things — raise a refund, open a ticket, update a record. The agent decides whether to run one; your process still controls how, including validation and security.
Keep action processes boring
The description is part of the prompt
4Define inputs and outputs
Click + ADD in each section. Inputs are what the agent receives; outputs are the structured values it must produce. Outputs are what turn free-form reasoning into something a process model can branch on — without them you'd be parsing prose.
Name them for the process model, not the prompt
manualReviewRequired reads clearly as a gateway condition six months from now. flag does not. These become process variables — you're naming them for whoever debugs this later.5Test it — and read the reasoning
Paste an input in the Test pane and click TEST. It may take a couple of minutes. What comes back is the most useful thing in Agent Studio: a step-by-step trace of every tool it called and why it chose what it did. Save each run with SAVE AS TEST CASE — that set becomes your regression suite.
I've had enough. I've been with you for years and I've been double charged AGAIN this month. Every time I call I get passed around for an hour and told someone is "looking into it". - Y. Tanaka
Step 5 — Run Completed ✓
Reasoning
- 1. Retrieved the customer record from a partial signature (“Y. Tanaka”)
- 2. Retrieved their active package and billing history
- 3. Analysed the request against the Escalation Policy
- 4. Matched two escalation criteria:— recurring billing fault across cycles— long-tenured customer expressing strong frustration
- 5. Set outputs:customerId: 1manualReviewRequired: trueemailResponse: <explains escalation>
Note what it did not do: issue the refund. Repeat billing failure from a loyal customer is a retention conversation, not a transaction.
It won't do the same thing twice
6Drop it into a process model
An agent on its own is a clever test pane. Grab its UUID from Settings > Properties, then add an Execute AI Agentnode to your process model and paste it into the Agent UUID input.
Passing inputs in
Map keys must match your agent's input names exactly.
a!map(customerRequestEmail: pv!customerRequestEmail)
Unpacking outputs
The node returns Agent Outputs (a Map), Run Summary and Run ID. A script task splits the map into process variables.
rule!getCustomerById(pv!AgentOutputs.customerId) pv!AgentOutputs.emailResponse pv!AgentOutputs.manualReviewRequired
The branch that matters
A gateway on pv!manualReviewRequired routes to a human task or straight to the customer.
if(
pv!manualReviewRequired,
"Thanks for contacting us. Here's what happens next: "
& pv!manualReviewNextSteps & ". " & pv!manualReviewRationale,
pv!emailResponse
)Pass the Run Summary to your reviewer
Common questions
Getting asked about Appian AI in interviews?
Practise the questions that actually come up — agents, Data Fabric, Copilot and the rest.
Browse Appian interview questionsSources & further reading
- Appian Docs 26.7 — Create and Configure an AI Agent — the authoritative reference for every screen above, with Appian's own screenshots.
- Appian Docs — Agent Studio — process vs chat agents, monitoring, and governance.
- Agent Studio: Build an Appian AI Agent in 10 Minutes — the video embedded above (Appian, Nov 2025).
- Appian AI — YouTube playlist — the full Appian Community AI series.
- Appian Academy Online — Create Your First AI Agent — the official hands-on course, with a downloadable app and sample data to build against.
- AppianVerse — Appian AI Features Explained — where agents sit among Appian's other AI capabilities.
The UI walkthroughs on this page are our own illustrations built from the official documentation, not Appian screenshots — follow the “see the real screen” links for those. AppianVerse is an independent community platform, not affiliated with or endorsed by Appian Corporation. Appian® is a trademark of Appian Corporation.