MakeChecked blueprint5 nodes
Possible duplicate invoice subjects
Extract the invoice number and ping Slack so a person can spot a duplicate.
Portfolio reference build with demo data and placeholder credentials, not a client deployment.
Pain
Stops opening PDFs, typing vendor totals, and hoping nobody pays the same bill twice.
Solution
Extract the invoice number and ping Slack so a person can spot a duplicate.
Impact · From the blueprint
The duplicate you catch is the whole save. The extract is about a minute.
- Intermediate
- Validated
- Auto path
- Gmail
- OpenAI
- Google Sheets
- Slack
Library status: documented blueprint, structurally validated. Checked against Make's blueprint shape and a module allowlist. Not imported into a Make account.

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: Invoices and documents
Difficulty: intermediate
Apps: Gmail, OpenAI, Google Sheets, Slack
Test status: documented blueprint, structurally validated
Problem
The same invoice gets forwarded twice and paid twice. This demo extracts the number and posts it. It does not search the sheet for a prior row. That search is a good follow-up. The ping is the reminder to look.
Who it's for
Bookkeepers who have been burned by a forwarded invoice.
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 the label
google-email:TriggerWatchEmails · Watch emails · Gmail
A Gmail filter already applied this label. The scenario does not try to classify the whole inbox.
q:"label:invoices newer_than:14d"maxResults:5
2. Read the message
openai-gpt-3:CreateCompletion · Create a completion · OpenAI
The system prompt is the rubric. The email is the only source.
select:"chat"model:"gpt-4o-mini"max_tokens:"400"temperature:"0.2"messages:[{"role": "system", "content": "Extract the invoice number. Return JSON only: vendor, number. If there is no number, number is empty."}, {"role": "user", "content": "Email follows.\n\nFrom: {{1.from}}\nSubject: {{1.su...
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:trueparse:false
4. Retry (Break) — error handler
builtin:Break · Retry (Break) · Flow control
The model failed. Retry before writing a bad row.
retry:truecount:3interval: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:trueinsertDataOption:"INSERT_ROWS"valueInputOption:"USER_ENTERED"values:{"0": "{{now}}", "1": "{{1.from}}", "2": "{{5.vendor}}", "3": "{{5.number}}"}
7. Post the result
slack:CreateMessage · Send a message · Slack
The channel sees the extracted fields, not the whole email.
Filter Number present: [[{"a": "{{5.number}}", "o": "exist"}]]
channelWType:"list"channelType:"public"channel:""text:"Invoice number {{5.number}} from {{5.vendor}}. Check the sheet before paying."mrkdwn:trueparse:false
Diagram
flowchart LR
mail(("1 · Watch the label"))
model(("2 · Read the message"))
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
- In Make, create a scenario, open the three-dot menu at the bottom of the editor, and choose Import Blueprint. Select
blueprint.json. - Open every red module and pick or create the connection. Red means the account is not selected yet.
- Schedule: Every 20 minutes.
- Create the spreadsheet tab this scenario expects, with a header row in row 1:
- A received_at
- B from
- C vendor
- D number
- Select that spreadsheet and sheet on every Google Sheets module. The ids are blank in the file.
- Run once with the bundled
sample-input.json. Fictional payload. Paste it into the first module when you run the scenario once. - 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 message) handles errors with
builtin:Break. The model failed. Retry before writing a bad row. - Module 7 runs only when filter Number 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:invoices 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
The duplicate you catch is the whole save. The extract is about a minute.
Files
| File | What it is |
|---|---|
blueprint.json | Import this into Make. |
sample-input.json | Fictional bundle for the first run. |
diagram.png | Flow diagram. |
diagram.mmd | Mermaid source for the same flow. |