MakeChecked blueprint5 nodes
Receipt email to an expense sheet
Pull merchant, date, and total from a receipt email and flag anything over 200.
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
Pull merchant, date, and total from a receipt email and flag anything over 200.
Impact · From the blueprint
About 90 seconds a receipt. Sixty receipts a month is about an hour and a half.
- Beginner
- Validated
- Draft / approval
- 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
- Draft or approval gate described in the README
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: beginner
Apps: Gmail, OpenAI, Google Sheets, Slack
Test status: documented blueprint, structurally validated
Problem
Card receipts land in a Gmail label and someone retypes the merchant and total into an expenses tab. This demo extracts those three fields and posts to Slack only when the total is over 200, which is the approval line this fictional studio uses.
Who it's for
Freelance bookkeepers who already forward receipts to a label and keep the ledger in Sheets.
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 receipts label
google-email:TriggerWatchEmails · Watch emails · Gmail
Only mail that a filter already filed under receipts.
q:"label:receipts newer_than:30d"maxResults:5
2. Extract the receipt
openai-gpt-3:CreateCompletion · Create a completion · OpenAI
Merchant, date, currency, and total. Nothing else.
select:"chat"model:"gpt-4o-mini"max_tokens:"400"temperature:"0.2"messages:[{"role": "system", "content": "You extract card receipts. Return JSON only with keys merchant, spent_on (YYYY-MM-DD or empty), currency, total (number). Never guess a total."}, {"role": "user", "content": "Email foll...
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.merchant}}", "3": "{{5.spent_on}}", "4": "{{5.currency}}", "5": "{{5.total}}"}
7. Post the result
slack:CreateMessage · Send a message · Slack
The channel sees the extracted fields, not the whole email.
Filter Over 200: [[{"a": "{{5.total}}", "o": "number:greater", "b": "200"}]]
channelWType:"list"channelType:"public"channel:""text:"Receipt over 200: {{5.merchant}} {{5.currency}} {{5.total}} from {{1.from}}"mrkdwn:trueparse:false
Diagram
flowchart LR
mail(("1 · Watch the receipts label"))
model(("2 · Extract the receipt"))
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 30 minutes.
- Create the spreadsheet tab this scenario expects, with a header row in row 1:
- A received_at
- B from
- C merchant
- D spent_on
- E currency
- F total
- 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 (Extract the receipt) handles errors with
builtin:Break. The model failed. Retry before writing a bad row. - Module 7 runs only when filter Over 200 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:receipts newer_than:30d. - 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 90 seconds a receipt. Sixty receipts a month is about an hour and a half.
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. |