Who does what
Build a template
Open Templates

Platform > AI governance > Records, Templates tab. Shown with sample data.
Create it

A new template in the builder, before its first question. Shown with sample data.
Add questions
- Question: the text people answer.
- Answer type: one of the eight types in the table below.
- Required: the response cannot be submitted without an answer.
- Help text: optional, shown under the question.
- For One choice and Several choices: each choice and its Points. Add choice adds one.
- Counts toward the score and its Weight (for Number, One choice and Several choices).
Set the score and the tiers
Check it in Preview

The builder with Preview: 9 people (weight 1) and Internal data (3 points, weight 2) give a weighted score of 15, tier Medium. Shown with sample data.
Publish
Versions
A published version never changes. Every response keeps the exact questions it answered.- After a publish, the next edit starts the draft of version n+1. The list then reads, for example, Version 1 · draft of version 2. People keep filling version 1 until you publish version 2.
- A template has at most one draft.
- A response stays on the version it started on. Filling the template again later makes a new response on the version published then.
- Archive in a row’s menu stops new answers. Answers people already gave stay on their records. A template that has responses cannot be deleted, only archived.
Built-in templates
Four templates come with xpander:
A duplicated built-in template, editable as Draft of version 1. Shown with sample data.
Fill a template with an agent
Any agent of your organization can fill a published template with a person in the app chat or in Slack, one question at a time. Ask it, for example: “Start the AI risk assessment on AIS-0007.”- The agent names the record by its id (such as
AIS-0007) or its exact title. For anything else it lists close records to choose from and starts nothing. - It asks one question at a time, with its answer type, whether it is required, its help text and its choices.
- It reads answers as people say them: a number, yes or no, a choice by its label, several choices separated by commas, and “me” for a person question. A wrong type, such as “abc” for a number, is refused, nothing is saved, and the agent asks again.
- An empty answer skips an optional question. A required question cannot be skipped.
- Before it submits, the agent states the score and the tier and asks you to confirm. It submits only after you confirm.
- A draft stays. Ask again later (“continue my risk assessment”) and the agent starts at the first unanswered question.
Turn it on or off
The agent uses four built-in tools:xpgovernance_list_templates, xpgovernance_start_response, xpgovernance_answer and xpgovernance_submit. They are on for every agent of an organization that has AI governance records.
- For the whole organization: Platform > AI governance > Policies > Agent tools > Governance templates.
- For one agent on Claude Code, Codex or OpenCode: Agent settings > Skills > Core Skills > xpander built-in tools > Governance templates (Built-in tools).

Agent settings, Core Skills: Governance templates under xpander built-in tools. Shown with sample data.
Fill a template on a surface
Atemplate-form block shows a published template as a form on one record, on any surface. Ask the agent that builds the surface to add it, for example: “Add the AI risk assessment form for AIS-0007 to this surface.” The block in the surface manifest:
"version": <n> to pin the form to a version. When the pinned version is not the published one, the form takes no answers and asks the surface owner to update it.
The form reads and writes as the person who views the surface, with their own role. It shows the template name, the record it is on and the version.
- Required questions carry a red mark. Submit stays off until every required question has an answer. The footer counts them, for example “1 of 4 required answered”. Clicking Submit too early marks each missing question Required.
- Answers save as a draft while the person types, and the draft is there when they come back.
- After submit, the form shows Submitted with the Score and the Tier. Fill in again makes a new response; the earlier one stays.

A template-form block with required questions left: Submit stays off. Shown with sample data.

The same block after submit: score and tier. Shown with sample data.

The form for a person with no access to the record. Shown with sample data.
API
The public API has the same routes underhttps://api.xpander.ai/v1/governance. Send your key in x-api-key.
definition holds sections, each with questions. A question has an id, a label, a type (text, long_text, number, boolean, date, select, multi_select or user), optional required, help and weight, and for select and multi_select the options with their points. score_formula is {"op": "sum" | "weighted_sum" | "min" | "max", "questions": [...]}, tier_bands is a list of {"name", "min", "max"} (max null for “and above”), and field_mapping is {"score": "<field>", "tier": "<field>"}. An invalid definition answers 422 invalid_definition with the problem.
Example: start, answer and submit the built-in AI risk assessment. The answers give a score of 14, tier Medium.
- A personal API key acts as its person, with that person’s role, under the same rules as the app.
- The organization API key acts for the organization with an owner or admin’s rights. Its drafts and writes name no person.
- Any other key, such as a key made for one agent, is refused with 403.
What a submit records
- The response with its answers, score and tier, under the person who submitted it.
- When the template writes to the record: the new field values, as a record version marked as set by the template, with the note
Set by <template> v<n>. A value that does not change makes no new version. - An entry
template_response_submittedin the Audit log, with the record, template, version, score and tier. - An answer saved after the submit is refused. A submitted response never changes.

