docs
/
AI skills

Set up an AI employee for a role

An AI employee hired for one job (sales, support, front desk) as a draft — its own user and groups, what it must ask a person before doing, its own mailbox and phone number — and switched on only after a yes.

An AI employee is a member of staff that is an AI. It has its own user, its own groups, a work queue, a daily budget, working hours, a supervisor, and a list of actions it must ask a person about first. Its "brain" runs outside the platform, on its runtime. This skill hires one and leaves it ready, but off. The how-to for people, with screenshots, is AI employees.

AI employee or AI assistant?

Both are AI. They are different things in the code:

AI assistant (ai_assistant)AI employee (ai_employee)
What it isA set of instructions the platform runs the moment a message, chat or call comes inA member of staff with its own user, who takes work from a queue
WhereAI, IVR, Automation › AI Assistant (/ai-assistant)AI, IVR, Automation › AI Employees (/ai-employees)
Who it is to the systemNo user. It acts with the tools you tick.Its own user. Everything it does is checked against its groups.
How work reaches itThe website chat it is set on, the number it answers, its triggers (message.received, sms.received)Records assigned to it, the channels it listens to, messages to it, Give work, regular check-ins
Asks before actingNever. A ticked tool runs at once.Asks for the kinds of action set to Ask me first
Spend limitNone of its ownA daily budget
Answers at onceYes, while the customer waitsOnly on the phone, in its own voice. Everything else waits in its queue.

Use an assistant to answer customers live on the website or the phone (AI assistant for the website chat or a phone line). Use an employee for a job someone does over a day: work tickets, chase leads, send reports.

Ask first

  • What is its job? Sales follow-up, support, front desk, accounts, or something else. Its name, the name people will call it (e.g. "Ava").
  • Who does it report to? A person's sign-in email. Its approvals and reports go to them, and they get a direct conversation with it in Workspace.
  • What may it touch? The same groups a person doing this job would have.
  • What must it ask about first? Deleting, messaging many people at once, placing phone calls, money (and above what amount), changing users and permissions. The safe answer is "all of them".
  • When does it work? Around the clock, or days and hours in a time zone. And its daily budget in USD.
  • Does it need its own mailbox or phone number? Which existing one. Buying a number is a person's job.

Steps

1. AI Employees: the settings it starts from

Read the organization's AI employee settings: call_appengine GET /ai-employees/config. The answer is resolved section by section, and from says where each came from (org, platform or none):

SectionWhat it holds
companyabout, tone, rules, neverDo: what every AI employee is told about the business
knowledgesources and entries it looks things up in
defaultswhat a new hire starts with: runtime.provider, workingHours, limits, approvals
escalationcontact (an email) and whenStuck: ask, fail or pause

Say which runtime a new hire will get (defaults.runtime.provider):

providerWhat it means
session-managerThe platform starts and runs the agent on its session manager. Real work, real cost.
externalA system you run yourself signs in as the employee.
stubA placeholder. It marks each job Done with "Stub runtime: nothing was done".

If company is empty, offer to fill it from what the person tells you (PUT /ai-employees/config with only the company section). A section sent as null goes back to the platform's. Don't change defaults without asking.

Hands on: the runtime the hire will get. Check: AI Employees › Settings (/ai-employees?tab=settings) shows each section as inherited or customized.

2. AI Employees: hire it, as a draft

Look at the templates first: GET /ai-employees/templates. Each has a name, jobTitle, jobDescription, summary, suggestedGroups and sometimes listensTo and approvals. The platform's include receptionist, sales-follow-up, support-triage, accounts-receivable, bookkeeping-assistant and social-media. The list is data, so read it rather than assume.

Hire it: call_appengine POST /ai-employees. Never create_record on ai_employee: only the endpoint makes its user, puts it in the AI group and opens the supervisor's conversation.

FieldValue
titlewhat people call it, e.g. Ava (required)
nameits handle: letters, digits, -, _. Left out, it is made from the title. Must not be taken.
templatea template's name, e.g. support-triage. Fills jobTitle, jobDescription, listensTo, limits, approvals.
jobTitle, jobDescriptionits role and its standing instructions, in plain words
supervisorthe person's email
workingHours{ alwaysOn, timezone, days: ["mon",…], start: "09:00", end: "17:00" }
limits{ budgetEnabled, dailyBudgetUsd, maxConcurrentJobs, maxAttempts }
listensToleave empty for now. Channels are a standing job: Give an AI employee a standing job.

It is always created with status: "draft". A draft takes no work. Its user is <handle>@<org>.ai-employee.local, in the AI group with the AI role, and locked.

The first hire also makes a private AI team workspace in Workspace, with the employee and the person who hired it.

Hands on: the employee's name (its handle) and its user email. Check: open it (/ai-employees?open=<name>). The badge says Draft. Its Connection tab shows the setup steps: only Created here is done.

3. User Management: its access

See what it can be given: GET /ai-employees/<name>/access. available lists the organization's groups. Set them: PUT /ai-employees/<name>/access with { "groups": ["<group>", …] }. The list replaces the old one. It always keeps the AI group too.

Only platform groups (Root…) are refused. Owner, ConfigAdmin and System are accepted. An AI employee holding Owner or ConfigAdmin can change AI employee settings, including its own approval rules, through the API. Give it the groups of the job, never an admin group.

Without a group it can do nothing, and Switch on refuses with NO_ACCESS: Give … access first.

Hands on: its groups. Check: its Overview › Access lists the groups. Its User tab is the same user screen as any staff member's.

4. AI Employees: what needs a person's OK

Set its approval rule for each kind of action: PUT /ai-employees/<name> with { "approvals": { … } } (other fields are kept).

KeyWhat it coversrequire / allow
deletedeleting anythingdefault require
bulkSendmessages to more than a few people at oncedefault require
callsplacing a phone call from its numberdefault require
moneyrefunds, payments, charges, creditsdefault require
moneyThresholdUsdwith money: "allow", amounts above this still wait0
usersAndPermissionschanging users and accessdefault require

A key left out counts as require. Anything that fits none of these is asked as other, and other always waits for a person.

money: "allow" with moneyThresholdUsd: 0 lets it move any amount. Set a threshold above 0, or keep require.

The rule is checked when the employee's runtime asks before acting. It is not a filter on every API call. What it can touch at all is decided by its groups (step 3).

Hands on: the approval rules. Check: its Approvals tab shows Ask me first or Go ahead for each kind.

5. Email Accounts: its own inbox (if asked)

Find the business's email_account for the address (find_records, data.emailAddress). Add the employee's user email to its data.assignedUsers (update_record_partial, keeping the people already there). The Studio way is Email Accounts (/email-accounts) › Assign on that account.

Once it is switched on, an email to that address wakes only this employee, as mail to a person's own inbox. The account must receive mail into the platform (a hosted mailbox, or a connected one): see Hosted mailboxes.

An account given to a group counts for every member. If the shared support@ mailbox is assigned to a group the employee is in, every email to support@ wakes it.

Hands on: the address. Check: GET /ai-employees/<name> lists it under contact.emails. On Email Accounts, the account shows the employee as assigned.

6. Phone & SMS: its own number (if asked)

Its number list and the numbers it could take: GET /ai-employees/<name>, contact.phones and contact.numbers. Each number in contact.numbers says which AI answers it now (ai).

A number answers with the employee only when its voice is chosen. Set it first: PUT /ai-employees/<name> with { "voice": { "voice": "<voice id>", "platform": "elevenlabs" | "openai-realtime", "greeting": "…", "language": "en" } }. The voices come from GET /phone/voice/voices. Leave voice.tools as it is unless the person names what it may do on a call.

Stop. Assigning a number moves that number's live callers to the employee, from the next call. Show the person the number, who answers it now, and the greeting. After a yes: POST /ai-employees/<name>/phones with { "phoneId": "<phone sk>", "assign": true }. It saves at once.

  • A number can have only one AI. If an assistant or another employee already answers it, the call is refused with 409 NUMBER_HAS_AI and names who has it. Moving it is { "phoneId", "assign": true, "release": { "source": "phone" | "ivr" | "employee", "ref": … } }. Say who loses the number before doing it.
  • While the employee is paused or its voice is off, the number's failover decides what callers get. contact.phones[].whenOff says it in words.
  • Buying a number (Buy a number on its Phone & Voice tab) costs a monthly rental. That is the person's click, not yours.

Call routing in full is Business phone number and call routing.

Hands on: the number. Check: its Phone & Voice tab lists the number and says whether its voice is set up.

7. AI Employees: switch it on

Stop. Switching on is when it starts to work, as itself, on real customers and records. Show the person:

  • its job, its supervisor and its working hours;
  • its groups, and each approval rule;
  • its runtime (session-manager costs money; stub does nothing);
  • its daily budget;
  • its mailbox and number, if any;
  • that nothing reaches it yet unless something is assigned to it or it listens to a channel.

After a yes, the provider step comes first: Provision on its Connection tab (POST /ai-employees/<name>/provision). On session-manager this creates the agent and hands it its sign-in. On external, the person also clicks Issue sign-in: it shows a password and authenticator secret once, for the system they run. Don't call POST /ai-employees/<name>/handover/sign-in yourself, or the secret lands in your reply. Then POST /ai-employees/<name>/switch-on. Its login is unlocked and its check-ins start.

Hands on: the employee, switched on. Check: on Connection, Switched on is ticked. Signed in and said hello ticks when its runtime first signs in. The badge then reads Online.

When it's done

Tell the person:

  • its name, job title and supervisor;
  • its runtime, and whether it is on or still a draft;
  • its groups and its approval rules;
  • its mailbox and number, if any, and what callers get when it is off;
  • its working hours and daily budget;
  • that the next job is giving it work: a standing job, and how to review what it did.

Open the employee (/ai-employees?open=<name>).

What it can't do yet

  • The plan's AI employee count is not checked. Plans list how many AI employees they include, but hiring does not check it.
  • The Config tab has no runtime picker. Changing the settings' default runtime does not move an existing employee. Its own Connection › Provider shows what it is on.
  • A Done job on stub did nothing. The stub closes every job with "Stub runtime: nothing was done", and the setup's Finished its first job ticks anyway.
  • One approval covers more than one request. Once a kind of action is approved on a job, later requests of that kind on the same job are allowed without asking. The same request on its other jobs is allowed for 24 hours.

Don'ts

  • Don't create it with create_record. Use POST /ai-employees.
  • Don't give it Owner, ConfigAdmin or System.
  • Don't set money to allow without a threshold the person named.
  • Don't assign a number, provision it or switch it on without a yes.
  • Don't issue its sign-in or repeat its secret. Issuing a new one also stops the old one at once.