Skip to content
agents/en vrai

Turn a job estimate into a supplier material order, with your approval before it goes out

Drop a job's estimate (PDF or typed list) into a form: the agent extracts the materials with AI, matches them to your Google Sheets catalog, adds the waste allowance and rounds up to pack sizes, then sends you the order to approve. Once you approve, it tracks the supplier's confirmation, nudges them once if needed and, the day before delivery, emails your crew a delivery-check link.

L2 semi-autonomousVerified sourceBased on official documentation we checked; not tested by us yet.Updated
Difficulty
Advanced
Setup time
≈ 2 h (estimate), plus the time to enter your catalog
Estimated cost
Free template. n8n: free self-hosted or from €20/month; OpenAI API billed by usage (GPT-4.1-mini model); Gmail and Google Sheets: free
Category
Small business & freelancers

⏱ Trigger

Whenever an estimate is submitted through the n8n form, plus a scheduled check every morning at 7am (supplier nudges and delivery checks)

✋ Human approval

Nothing reaches the supplier until you click "send" on the order page: you review the quantities the AI proposed, then correct or cancel. Automatic nudges only apply to orders you have already sent.

→ Output

One order per job in the Orders tab (items, rounded quantities, status), a tracking page shared with the supplier and crew, and Gmail emails: order to approve, order to the supplier, nudge, delivery check

Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.

01Connected tools

02What the agent does on its own

  1. step 01

    Receives a material-order request through an n8n form: the job estimate as a PDF, a typed list of materials, or both.

  2. step 02

    Reads the Suppliers, Catalog and Orders tabs of your Google Sheets file to know which supplier to use and which items you stock.

  3. step 03

    If a PDF is attached, extracts its text and combines it with the typed list.

  4. step 04

    Sends that text and your catalog item names to an OpenAI model (GPT-4.1-mini in the template), which returns a structured list: material, quantity, unit and, when it finds one, the matching catalog item.

  5. step 05

    Builds the order: matches each line to the catalog, applies the item's waste percentage and rounds up to the pack size, saves the order to the Orders tab and emails you a link to the order page through Gmail.

  6. step 06

    On that page you send or cancel the order. The supplier confirms the delivery date and flags shortages there; the crew marks what arrived. Every action updates the sheet and triggers the matching emails.

  7. step 07

    Every morning, nudges a supplier once if a sent order is still unconfirmed (adjustable delay) and, the day before delivery, emails the crew the delivery-check link.

03Agent instructions

$ instructions.txt · replace the {VARIABLES}
> No instructions to write: AI is only used to turn the estimate into a materials list. Settings to fill in "Your settings": owner_email = {YOUR_EMAIL}; crew_email = {CREW_EMAIL} (optional); n8n_url = {YOUR_N8N_INSTANCE_URL}; default_supplier_id = {DEFAULT_SUPPLIER}; confirm_nudge_hours = {HOURS_BEFORE_NUDGE}; timezone = {YOUR_TIMEZONE}. In the Catalog, one row per item: name, unit, pack_size, waste_pct, supplier_id, and optionally SKU and price.

04Limits and legal points

Order quality depends on your catalog: an item that is missing or badly named will not be matched. The AI can misread a quantity or unit on a scanned estimate: check every line before sending. The order page links go through your n8n instance, which must be reachable from the internet (webhook paths "material-order" and "material-order-action"); do not forward those links beyond the supplier and crew. The template is written in English: adapt the emails and page to your suppliers' language. The estimate text (including the client's name) is sent to OpenAI: check what you are willing to share (GDPR).

05In short

When does the agent run, and what does it produce?
Trigger: Whenever an estimate is submitted through the n8n form, plus a scheduled check every morning at 7am (supplier nudges and delivery checks). Output: One order per job in the Orders tab (items, rounded quantities, status), a tracking page shared with the supplier and crew, and Gmail emails: order to approve, order to the supplier, nudge, delivery check.
What stays under your control?
Nothing reaches the supplier until you click "send" on the order page: you review the quantities the AI proposed, then correct or cancel. Automatic nudges only apply to orders you have already sent. Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
How much does it cost and how long does setup take?
Estimated cost: Free template. n8n: free self-hosted or from €20/month; OpenAI API billed by usage (GPT-4.1-mini model); Gmail and Google Sheets: free. Setup time: ≈ 2 h (estimate), plus the time to enter your catalog, difficulty "advanced". Tools: n8n template 22953 (Michael Matthews, 16 Nov 2026), n8n – Form Trigger, n8n – Schedule Trigger, n8n – Webhook, n8n – Extract From File, n8n – OpenAI Chat Model, n8n – Google Sheets, n8n – Gmail.

Answers taken from this recipe · updated 19 November 2026

06Source

https://n8n.io/workflows/22953-turn-estimates-into-supplier-material-orders-with-openai-gmail-and-sheets/

07Related recipes

Same category or same connected tools.

All recipes in "Small business & freelancers" →

→ monthly newsletter

3 agents en vrai.
Every month.

Three reproducible, sourced autonomous agents. No hype, no "top 100 tools". One-click unsubscribe.