QuvanticBook free audit

MakeChecked blueprint5 nodes

Parse an order confirmation email into a sheet

Turn a supplier order confirmation into order number, total, and ETA.

Portfolio reference build with demo data and placeholder credentials, not a client deployment.

Pain

Stops the inbox from taking the first two hours of the morning. The blueprint tags threads, flags urgent ones to Slack, and writes a draft.

Solution

Turn a supplier order confirmation into order number, total, and ETA.

Impact · From the blueprint

About 2 minutes an order. Twenty a week is about 40 minutes.

Library status: documented blueprint, structurally validated. Checked against Make's blueprint shape and a module allowlist. Not imported into a Make account.

Parse an order confirmation email into a sheet scenario diagram
Scenario diagram

Step inspector

The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.

Guardrails

No approval, retry, or demo-gate node was detected by name. Read the README before connecting live credentials.

Credential ids in the JSON are placeholders. These files are portfolio demos.

Deploy this for your business

Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.

README

Portfolio demo by Mustafa (mustafaautomation). Not client work. Connect your own accounts after import. Live walkthroughs, when published, sit on a subdomain of quvantic.com.

Category: Email
Difficulty: beginner
Apps: Gmail, OpenAI, Google Sheets, Slack
Test status: documented blueprint, structurally validated

Problem

A buyer confirms orders from a distributor by email, and the warehouse still asks what is coming. This demo reads the orders label and logs number, total, and the ETA sentence. Slack fires when an ETA was found, so a confirmation with no date stays only in the sheet.

Who it's for

Small warehouses that buy from distributors who will not send EDI.

Module-by-module walkthrough

Ids match the blueprint. A router runs every route whose filter passes. An error handler runs only when that module throws.

1. Watch order confirmations

google-email:TriggerWatchEmails · Watch emails · Gmail

A Gmail filter on the distributor's from-address applies the label.

  • q: "label:supplier-orders newer_than:14d"
  • maxResults: 5

2. Read the confirmation

openai-gpt-3:CreateCompletion · Create a completion · OpenAI

Order number, total, currency, and eta as a short string or empty.

  • select: "chat"
  • model: "gpt-4o-mini"
  • max_tokens: "400"
  • temperature: "0.2"
  • messages: [{"role": "system", "content": "Extract a supplier order confirmation. Return JSON only: order_number, total (number), currency, eta (string or empty). Do not invent an ETA."}, {"role": "user", "content": "Email follo...

3. Alert the model failure — error handler

slack:CreateMessage · Send a message · Slack

Model failed for {{mail.subject}}.

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "Model failed for {{1.subject}}."
  • mrkdwn: true
  • parse: false

4. Retry (Break) — error handler

builtin:Break · Retry (Break) · Flow control

The model failed. Retry before writing a bad row.

  • retry: true
  • count: 3
  • interval: 15

5. Parse the JSON

json:ParseJSON · Parse JSON · JSON

The prompt asks for one JSON object. This module exposes its keys.

  • json: "{{2.result}}"

6. Log the row

google-sheets:addRow · Add a row · Google Sheets

Every message is logged, whether or not Slack fires.

  • from: "drive"
  • mode: "select"
  • spreadsheetId: ""
  • sheetId: ""
  • includesHeaders: true
  • insertDataOption: "INSERT_ROWS"
  • valueInputOption: "USER_ENTERED"
  • values: {"0": "{{now}}", "1": "{{1.from}}", "2": "{{5.order_number}}", "3": "{{5.total}}", "4": "{{5.currency}}", "5": "{{5.eta}}"}

7. Post the result

slack:CreateMessage · Send a message · Slack

The channel sees the extracted fields, not the whole email.

Filter ETA present: [[{"a": "{{5.eta}}", "o": "exist"}]]

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "Inbound order {{5.order_number}} ETA {{5.eta}}"
  • mrkdwn: true
  • parse: false

Diagram

flowchart LR
  mail(("1 · Watch order confirmations"))
  model(("2 · Read the confirmation"))
  mail --> model
  model -->|"error"| model_alert
  model_alert(("3 · Alert the model failure"))
  model_directive(("4 · Retry (Break)"))
  model_alert --> model_directive
  parsed(("5 · Parse the JSON"))
  model --> parsed
  log(("6 · Log the row"))
  parsed --> log
  ping(("7 · Post the result"))
  log --> ping

Setup

  1. In Make, create a scenario, open the three-dot menu at the bottom of the editor, and choose Import Blueprint. Select blueprint.json.
  2. Open every red module and pick or create the connection. Red means the account is not selected yet.
  3. Schedule: Every 15 minutes.
  4. Create the spreadsheet tab this scenario expects, with a header row in row 1:
    • A received_at
    • B from
    • C order_number
    • D total
    • E currency
    • F eta
  5. Select that spreadsheet and sheet on every Google Sheets module. The ids are blank in the file.
  6. Run once with the bundled sample-input.json. Fictional payload. Paste it into the first module when you run the scenario once.
  7. Check the output bundle of each module before you turn the schedule on.

Connections

  • Gmail — create a connection and select it on every Gmail module. The blueprint leaves __IMTCONN__ unset on purpose.
  • OpenAI — create a connection and select it on every OpenAI module. The blueprint leaves __IMTCONN__ unset on purpose.
  • Slack — create a connection and select it on every Slack module. The blueprint leaves __IMTCONN__ unset on purpose.
  • Google Sheets — create a connection and select it on every Google Sheets module. The blueprint leaves __IMTCONN__ unset on purpose.

Nothing in the file is a live connection id, webhook URL, or API key. Make rejects another team's connection id at import, so the slots are empty on purpose.

Data mapping

References use the module id: {{1.subject}} is the subject field of module 1. Sheets columns are zero-based and backticked ({{1.0}} is column A) so a renamed header does not break the map.

  • Parsed JSON keys match the prompt. Sheet columns are positional, starting at values["0"].
  • The Slack filter is on the last module, so the sheet row is written even when Slack does not fire.

Error handling

Scenario settings: maxErrors 3, dlq true, sequential false, autoCommit true. After this many consecutive failed runs Make deactivates a scheduled scenario.

  • Module 2 (Read the confirmation) handles errors with builtin:Break. The model failed. Retry before writing a bad row.
  • Module 7 runs only when filter ETA present passes. A blocked bundle stops on that path. It is not an error.

Customization

  • Point the Gmail query at your label. The demo uses label:supplier-orders newer_than:14d.
  • Keep the model on JSON-only output. A preamble breaks Parse JSON.
  • Duplicate the scenario before you change the prompt, so you can diff against this demo later.

Time saved

About 2 minutes an order. Twenty a week is about 40 minutes.

Files

FileWhat it is
blueprint.jsonImport this into Make.
sample-input.jsonFictional bundle for the first run.
diagram.pngFlow diagram.
diagram.mmdMermaid source for the same flow.