Document Processing: Ask a question about a document

Ask AI a question about a document, such as its total, its VAT or how many line items it has.

Help Centre › Building Processes

Ask AI a question about a document, such as its total, its VAT or how many line items it has.

Add it to a process

In the process designer, open the Add step tab. Find Ask a question about a document under Document Processing, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
DocumentYesThe file to ask about: PDF, Word, Excel, CSV, a picture, an email and more.
QuestionYesAsk one thing the document says. Variables can be used, such as {supplier}.
Answer typeNoNumber, amount and count give a number; yes or no gives true or false; a date comes as YYYY-MM-DD. Choices: Text, Number, Amount, Date, Yes or no, Count, List.
PagesNoFor a PDF: only read these pages. Leave empty for every page.
Save the answer inNoThe words the answer came from are saved in the same name with _quote on the end.

What it gives back

  • {answer} – The answer, in the answer type asked for. The step fails when the document does not answer the question, or when the AI's answer is not in the document
  • {answer_quote} – The words in the document the answer came from (empty for a count or a list)

See all Document Processing steps.

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.