Skip to content
Back to workflows

Grounded document AI / Simple path

AI knowledge base

Index public PDFs, ask cited questions, cluster findings, and preserve source snippets for review.

Security, product, research, support, and knowledge teams

Example PDF

NIST Cybersecurity Framework 2.0 from National Institute of Standards and Technology

Screenshot

Cited document answer

API reference

Map routes to jobs, artifacts, and webhooks.

Toolbox

Browse every tool used in this pattern.

Workflow Steps

  1. 1Index the PDF text
  2. 2Ask a scoped question
  3. 3Review page-linked citations
  4. 4Cluster repeated themes
  5. 5Save an answer with sources

API Route Sequence

POST /v1/rag/searchPOST /v1/ai/chatPOST /v1/forensics/findings/cluster

Automation Blocks

Trigger

  • Index the PDF text
  • Single document run

Watch

  • Poll job status
  • Handle retry or timeout

Verify

  • Cited answer
  • Source snippets
Implementation notes

Idempotency

Send one stable key per document and operation.

Feedback

Surface queued, running, completed, and failed states.

Artifacts

Download outputs only after the job succeeds.