Wetel
Go back

Writing an AI employee's persona: what goes in, and what belongs in the workflow

On a new starter’s first day they get two short documents and one thick binder. The short ones are the job description (who you are here, what you are for) and the code of conduct (how we speak to customers, what we never do). The binder is the procedures manual: how to process a return, when to call a supervisor, which form goes where.

Nobody writes the returns procedure into the job description. If they did, the new starter would have to remember it word for word, nobody could check which step they skipped, and changing the procedure would mean rewriting their identity.

An AI employee in Wetel has the same split. The persona is the job description and the code of conduct. The workflow is the procedures manual. Most persona trouble comes from mixing the two. This post covers what to write in a persona, what to leave to the workflow, and how a manager changes either safely.

The short answer

A persona should say who the AI employee is, how it speaks, what it is not for, and what it does when it does not know. Everything else (steps, decisions, lookups, approvals) belongs in the workflow.

That is not only style advice. In Wetel the persona and the procedure live in different places. The persona is a field on the agent. The procedure is a graph of steps that a person on your team builds, tests and publishes. A rule written in the persona is an instruction to a model, with no guarantee it is kept. A rule written as a step is applied every time the run reaches it.

flowchart LR
A["Agent: name, position, persona, use case"] --> W["Workflow: steps and arrows"]
W --> S1["llm step: read and write"]
W --> S2["condition / router: decide"]
W --> S3["tool / action: look things up"]
W --> S4["approval: a person decides"]

What the agent record holds

An agent in Wetel has a name, a position, a persona prompt and a use case, plus optional voice settings. In the docs’ own example, the name is “Library Assistant” and the position is “Library Concierge”. The use case is a fixed list (support, sales, onboarding, education, interview, or custom) and selects which built-in evaluation is used when a conversation is evaluated at the end. Pick the one that matches what the AI employee is for.

The persona prompt (personaPrompt) is the agent’s system prompt: its identity, tone and guardrails. The docs are direct that it says nothing about the agent’s logic. Which steps it takes and which systems it calls is the job of the workflow attached to the agent.

Agent configuration is done by a person with dashboard access, not by your product at runtime. That person is the one accountable for what the persona says.

The four questions a persona answers

Who is it, how does it speak, what is it not for, and what does it do when it does not know? The docs’ persona guide asks exactly these four, “and nothing more”.

Here is their weak example:

You are a helpful assistant. Answer questions about our library.

No tone, no boundary, no fallback. It will answer questions the library has no information on, in whatever tone the model defaults to.

And the strong one:

You are a friendly, knowledgeable library assistant. You help users find
books, check room availability, and navigate library services. Always be
concise. If you don't know, say so.

It names the role, sets a tone (“friendly”, “concise”), scopes the work (books, rooms, library services) and gives a fallback (“If you don’t know, say so”). It says nothing about how many turns a conversation takes or what happens next.

A few habits that follow:

What belongs in the workflow instead

Anything that is a step, a count, a decision or a lookup belongs in the workflow. The docs put it bluntly: a persona that tries to encode branching logic in prose is fighting the architecture, because the model has to work out where it is in the conversation from raw text on every turn instead of the graph routing there.

You are tempted to write in the persona…Put it in the workflow as…
“After four questions, wrap up”A condition step on the turn count
“If they ask about an order, look it up”A classifier step, a router, and a tool or action step
“Greet them with our standard welcome”A reply step for the first turn
“Ask for the order number if it’s missing”An extraction step, a condition gate, and a reply that asks
“Get a manager’s OK before any refund”An approval step

The greeting row has a documented reason too. An agent’s openingGreeting field is ignored once a workflow is attached; the workflow’s own graph produces the first reply, so a greeting belongs in the graph.

The docs give a simple test: whenever you are tempted to add “and after four questions, wrap up” to a persona, the logic usually belongs in a condition step. Procedures you can read explains why a graph is easier to trust than one long prompt.

Persona versus the prompts inside the workflow

Inside a workflow, each llm step has its own prompt template, and there are two kinds. They need opposite instincts.

One field to leave alone: an llm step’s systemPrompt. When it is set, the docs say it is used instead of the rendered prompt template, so any data you placed in the template never reaches the model. Put a step’s instructions and its data together in the prompt template, and leave systemPrompt unset unless the step needs no data at all.

Voice: let the platform add the spoken rules

If the AI employee speaks through the voice or avatar path, Wetel appends spoken-medium rules to your persona on every voice turn, so do not write them yourself. The documented rules: keep replies to one to three sentences, ask one question at a time and then stop and wait, never use bullet points, numbered lists or markdown, and speak the way a person would on a phone call.

So a persona written around identity, tone, scope and fallback works for an agent used in both text and voice: the spoken rules apply only on the voice path. Two limits on that wrapper, both documented:

A persona cannot enforce a business rule

A sentence in a persona is an instruction to a model, and the docs say prompt wording is inherently probabilistic. Hardening it reduces drift; it does not guarantee it. So a rule that must hold every time needs a step:

Keep “never do X” in the persona as well, as a second line of defence, but treat the step as the rule. What an AI employee should do on its own helps you decide which actions need the step.

Changing a persona without surprising your customers

Workflows have drafts; the docs describe no draft for agent settings. So test a new persona on a separate test agent before you change the live one. A practical sequence:

  1. Keep the current text. The agent’s change history (agentAuditLogs) records who changed which field and when, and for ordinary settings such as prompts it keeps the old and new value. Still, keep your own copy of each version with a note on why it changed.
  2. Create a test agent with the new persona and a copy of the workflow, and run test conversations against it with real phrasing from your customers: the awkward ones, the off-topic ones, the angry ones.
  3. Check the reply-writing steps in the workflow for tone that now clashes with the new persona. Those prompts live in the workflow, so you can test changes to them as a draft first, and save a real run as a regression scenario before touching a step that routes messages. See trying a workflow safely before customers see it.
  4. Then update the live agent, and read a few real conversations afterwards.

A person on your team decides when the change goes live and owns the result. That is the point of separating the persona from the procedure: each can be read, changed and checked on its own.

What a persona does not do

A persona does not make the model’s answers correct, and we publish no figure for how often a model keeps to one. It sets identity, tone and boundaries for the text the model writes. Decisions, lookups and sign-offs are steps in the workflow, where they can be tested and read back afterwards. The job description tells the new starter who they are. The binder, and the supervisor, keep the work right.

If you are writing the first persona for a role, tell us which work you’d hand over first and we will help you split it into a persona and a procedure.


Share this post:

Next Post
A skill file that teaches your AI coding assistant to build on Wetel
Previous Post
An AI employee that starts on its own: scheduled work, and what stops it running away