Document Templates — collect and validate candidate documents with AI
A document template is a reusable definition of one document you ask candidates for — a national ID, a passport, proof of address, a diploma — together with an AI that checks each upload is the right document and pulls out the fields you care about.
You build the template once under Templates → Documents, teach the AI from a sample, then attach it to a file-upload question on any requisition's apply form. From then on, every candidate who reaches that question uploads their document, gets an instant verdict, and — if you asked for it — has their name, ID number, or expiry date read off the document automatically. Your workflow can then route the candidate on whether the document was valid.
Document Templates live alongside Question Sets — reusable screening questions across campaigns: both are reusable pieces you configure once and reuse across many requisitions.

Create a document template
- Go to Templates → Documents and choose New document.
- Upload a sample. This is the first and most important step — drop in one clean example of the document (a blank specimen, not a real person's). The AI reads it right away and does three things for you:
- Names the document and writes a short candidate-facing description — both editable.
- Sets the country, when it's an official government document, so the AI can tell one nation's ID from another.
- Learns what to check — it derives a checklist of markers a genuine document always shows.
- Everything auto-saves as you go. The name, the description candidates read, and the country all sit in the Details panel and are yours to edit.
You never start with a blank form and a "save first" wall — the sample comes first, and the rest fills in from it.

Teach the AI what to check
The teach-the-AI panel is where you shape how strict the check is.
- Samples. You can add up to five samples (one is the primary that candidates see as the example). More samples help the AI handle different versions of the same document.
- Callouts. Click anywhere on the sample image to drop a numbered callout — "photo is visible", "ID number", "not expired" — and say what must be visible there. Each callout becomes something the AI insists on seeing in a candidate's upload. Callouts are saved with Save changes, like the rest of the template; a callout left blank is marked, and the template is not saved until you write it or remove it.
- What the AI checks for. Below the sample is the checklist the AI derived. You can reword a check, turn one off, or add your own.
- Always turned away. Under the checklist is what the AI turns away whatever the checks say: another type of ID, a screenshot of a screen, a CV. The AI writes this list from your samples; an upload that is any of these is not a match even when every check passes. Remove one you do not want, or add your own (for example "A photocopy of the card"): yours stay when you retrain the AI, while the AI's are written again. On a document with two sides, "Only one side of the document is shown" comes with the switch and cannot be removed.
- Retrain the AI. Whenever you change your samples or callouts, use Retrain the AI in the top bar to have it re-read everything and refresh the checklist and the Details. Callouts you have not saved yet are saved first, so the AI reads what you see.
- Two sides. For a document with a front and a back, like an ID card, turn on This document has two sides, the first thing in the panel, before you upload anything: the first sample is then the front. Every example is a pair: its front and its back. The Front and Back buttons above the sample show a small picture of each side of the example candidates see, or say which side is still empty; pick Back to upload the back and drop callouts on it. Add up to five examples (each with its own back) for other versions of the document. Data fields are grouped under Front and Back too: a field added under one is read from that side, and the arrows beside it move it to the other. The AI is retrained on the spot: its checklist covers both sides, grouped under Front and Back (a check you add under one of them is checked on that side, so there is nothing to type to say which), an upload that shows only one is turned away with which side is missing, and the description candidates read is rewritten to ask for both (edit it afterwards if you like). Turning it off keeps the sample of the back, marked "Back (not used)", but the AI stops reading it until you turn two sides on again. To replace a sample, front or back, click its picture and pick another file: it keeps its place in the pair and its callouts. Add example, at the end of the list, adds another pair, and the bin beside Show this one removes an example, front and back. An example without its back is marked, because the AI then learns only its front, and a picture of the front uploaded as the back (or the other way round) is turned away. While a question uses the template, the example candidates see can be replaced but not removed. Candidates see both samples, labelled Front and Back, and every question that uses the template asks them for a photo of each side (at least two files, sent together as one PDF), whatever the question’s own number of files says.


Keep the primary sample a blank specimen. Candidates see it as the example of what to submit, and if the AI thinks a sample holds a real person's data it warns you so you can swap it out.
Write what candidates see
The What candidates see field is shown to the candidate right next to the upload box. The AI drafts it from your sample, but make it specific and reassuring — name the document, say which side or page you need, and tell them what makes a good photo. For example:
Please upload the front of your National ID. Make sure the whole card is in frame with all four corners visible, and that your photo, name, and ID number are easy to read. A clear phone photo or a scan both work.
Data to extract (optional)
Under Data to extract you list the fields you want pulled off every accepted upload — a name, an ID number, an expiry date. Mark each one Required or Optional. The AI suggests fields from your sample as add-chips; accept the ones you want.
Anything you list here is extracted from each candidate's document and shown on their profile, so you don't have to read it off by hand. Add no fields and the template simply validates the document without extracting anything.

Expected format
Under a Text or Number field, Expected format? sets a rule the value must meet before the candidate can continue. It checks the value the AI read as well as anything the candidate types, so a misread is caught on the confirm step instead of on the candidate's profile.
- Text field: a validation pattern (regex), the same as on a Short text question. For a PhilSys card number,
^[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{4}$. When the pattern is a fixed format like this one, the editor shows what candidates see ("Candidates see XXXX-XXXX-XXXX-XXXX"), the dashes are added as they type, and the AI is told to write the value that way. - Number field: a smallest and a largest value. For an examination year, 1980 to 2026. Leave either empty for no limit.
Inside it, Help the AI find it on the document? is a note only the AI reads: the words the document uses ("printed as Apellido"), or which of two similar values to read ("the date after Fecha de expedición"). A Date field's Expected format? is that note alone, for example DD/MM/YYYY, because the candidate already picks a date from a calendar.
Need the document to be recent, like a certificate issued in the last 30 days? Mark its date field as the issue date and set a maximum age. See Ask only for recently issued documents (issue date).
Test it before you use it
Use the Test bench on the right to try a file against your template without saving or storing anything. It shows the file you uploaded next to its verdict — Valid, Not a match, or Unreadable — how sure the AI is of that verdict, which checks passed, and any fields it extracted. When a file is turned away by something on the "Always turned away" list, the bench says which ("Turned away: The document is a screenshot of a computer screen"), and so does the candidate's profile. It tests the template as you see it on screen, saved or not: turn a check off and test again before you save. Tweak your checklist and re-test until it behaves the way you want. For a document with two sides, the Test bench has a slot for the Front and one for the Back: add both and choose Test both sides to try exactly what a candidate sends (the two files go to the AI as one document), or test one side alone to see it turned away. If the front and the back are the same file, the bench says so: that tests a candidate who sends the front twice, which the AI turns away.

Collect the document from candidates
A template does nothing on its own until you attach it to a question:
- Open the requisition's apply form (see The form builder — customizing what each workspace captures and Step 5 — Building application questions).
- Add a file-upload question, or edit an existing one.
- In the question's settings, bind it to your document template.
A template is only bindable once it's active and has been trained on a sample.
A question can also accept several types, up to four, and the candidate sends any one. See Accept several document types on one question.
What the candidate sees
When a candidate reaches a bound file-upload question, they get a focused two-panel screen: the upload zone on one side, and on the other your description plus the sample as a thumbnail they can tap to enlarge.

Tapping the sample enlarges it with your callouts shown as numbered labels, so the candidate can see exactly what to include.
For a two-sided document the sample of the back sits under the front, and the upload zone has a slot for each side, Add the front and Add the back. Nothing is sent until both are there: Send both sides says which one is missing, and the same photo picked for both sides is refused before it is sent. After an upload that does not look right, both photos stay in their slots, so the candidate can swap just the one that was wrong.

As soon as they upload:
- The AI validates it in real time and tells them whether it looks right, so they can retry before moving on.
- If you asked for extracted fields, the candidate confirms the details read off their document — correcting anything the AI misread — before continuing. A value that breaks its field's expected format is marked, says what is wrong ("Must be at most 2026.", "Enter it in this format: XXXX-XXXX-XXXX-XXXX."), and holds Continue until it is fixed.

Afterwards the question shows the document as uploaded, with Replace it under it while the document hasn't been accepted. A replacement is checked and moves the candidate like a first upload. See What candidates see when they come back to a document question.
Route on the verdict
Every upload produces a verdict — valid, invalid, or needs review. In the The Workflows editor — building and editing reusable hiring workflows, a stage action or connector can use the document verdict condition to branch on it: advance the candidates whose document is valid, hold or reject the ones whose document is invalid, and send the borderline "needs review" ones to a human. This is the same routing idea as the The Hand Off node — moving candidates from one campaign to another, automatically, keyed on the document result.
Review and override in the CRM
Open a candidate in the CRM and the Documents section shows each document they submitted, the AI's verdict, and the extracted fields. From there you can override the verdict (the AI is advisory — you own the call) or re-run the check, for example after you've refined the template.
Marking a document valid makes it final: the candidate can no longer replace it from the application.
In Activity, a decision replaced by a recruiter's override stays visible with a line through it. Point to it or focus it to see why it was replaced. The recruiter's decision appears separately with their name and time; a replacement upload starts a new decision.
What can go wrong
- The AI keeps rejecting good uploads. Your checklist is too strict, or the primary sample doesn't match what real candidates carry. Loosen or turn off individual checks, add a second sample, and Retrain the AI.
- "A sample may show real personal data." The AI thinks your sample is a real person's document. Swap in a blank specimen — candidates see the primary sample, so it should never be someone's real ID.
- A field always comes back empty. That field isn't reliably visible on the document. Mark it Optional, or remove it.
- Candidates can't get past the confirm step. A field's expected format refuses values their real documents carry. Open the field's Expected format?, check the pattern or the range against a real document, and loosen it.
- You can't bind the template to a question. It needs to be active and trained on at least one sample first.
- The document type changed. Update the sample and callouts, Retrain the AI, then re-run the check on affected candidates from their CRM Documents section.
See also
- Question Sets — reusable screening questions across campaigns — the other reusable template you attach to requisitions.
- The form builder — customizing what each workspace captures — where file-upload questions are added to the apply form.
- The Workflows editor — building and editing reusable hiring workflows — where you route candidates on the document verdict.
- Step 5 — Building application questions — configuring apply questions when you set up a requisition.