Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Validate AI or OCR quote items against a fixed exact-match price catalog

Webhook checks untrusted extracted quote items against a fixed catalog, computes totals deterministically, and returns NEEDS_REVIEW for unknown references.

What it does

## Setup and safety boundary - The catalog, prices, labor rate, travel fee, and VAT are synthetic fixtures. Replace them with an authenticated source and approved business rules. - The webhook has no authentication in this template. Add Header Auth or JWT Auth before publishing it. - Treat extracted_items as untrusted AI or OCR output. Prices supplied by that input are ignored. - Unknown references return NEEDS_REVIEW with totals: null. Keep a human approval step before sending a quote. - Test concurrency, rounding, taxes, discounts, audit storage, and retries against your own acceptance cases.

The steps

  1. Build Rejected Response
  2. Receive Synthetic Request
  3. Validate Untrusted Extraction
  4. Is Input Valid
  5. Exact Match and Calculate
  6. Is Quote Ready
  7. Respond Quotable
  8. Respond Needs Review
  9. Respond Rejected

Similar automations