QuvanticBook free audit

MakeChecked blueprint4 nodes

Stripe refund webhook to the sheet

Log a Stripe refund and post the id.

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

Pain

Month-end stops being a full matching exercise between Stripe, invoices, and the sheet. The blueprint lists the mismatches.

Solution

Log a Stripe refund and post the id.

Impact · From the blueprint

About 4 minutes a refund of exporting it later.

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

Stripe refund webhook to the 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: Finance
Difficulty: beginner
Apps: Webhooks, Google Sheets, Slack
Test status: documented blueprint, structurally validated

Problem

Refunds need to sit next to the charges in the reconciliation sheet. This demo appends the refund id, amount, and charge id. A person still matches it to the bank. The scenario does not create the refund.

Who it's for

The same finance operator who imports the balance-transaction scenario.

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. Catch the webhook

gateway:CustomWebHook · Custom webhook · Webhooks

Stripe event charge.refunded, flattened.

No mapped fields. Configure the module after import, or it only passes the bundle through.

2. Placeholder fetch

http:ActionSendData · Make a request · HTTP

The webhook is the event. The GET is a marker you can replace with a balance transaction retrieve.

  • url: "https://example.com"
  • serializeUrl: false
  • method: "get"
  • headers: [{"name": "Accept", "value": "application/json"}]
  • qs: []
  • bodyType: "raw"
  • parseResponse: true
  • contentType: "application/json"
  • data: ""
  • timeout: ""
  • shareCookies: false
  • ca: ""
  • rejectUnauthorized: true
  • followRedirect: true
  • useQuerystring: false
  • gzip: true
  • useMtls: false
  • followAllRedirects: false

3. Alert API — error handler

slack:CreateMessage · Send a message · Slack

API call failed.

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "API call failed."
  • mrkdwn: true
  • parse: false

4. Retry (Break) — error handler

builtin:Break · Retry (Break) · Flow control

The API call failed.

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

5. Log the call

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

A row even when the later Slack filter blocks.

  • from: "drive"
  • mode: "select"
  • spreadsheetId: ""
  • sheetId: ""
  • includesHeaders: true
  • insertDataOption: "INSERT_ROWS"
  • valueInputOption: "USER_ENTERED"
  • values: {"0": "{{now}}", "1": "{{1.refund_id}}", "2": "{{1.charge_id}}", "3": "{{1.amount}}", "4": "{{1.currency}}"}

6. Tell Slack

slack:CreateMessage · Send a message · Slack

The channel sees the outcome.

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "Refund {{1.refund_id}} on {{1.charge_id}} for {{1.amount}} {{1.currency}}."
  • mrkdwn: true
  • parse: false

Diagram

flowchart LR
  hook(("1 · Catch the webhook"))
  call(("2 · Placeholder fetch"))
  hook --> call
  call -->|"error"| call_alert
  call_alert(("3 · Alert API"))
  call_directive(("4 · Retry (Break)"))
  call_alert --> call_directive
  log(("5 · Log the call"))
  call --> log
  ping(("6 · Tell Slack"))
  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: Immediately.
  4. Create the spreadsheet tab this scenario expects, with a header row in row 1:
    • A received_at
    • B refund
    • C charge
    • D amount
    • E currency
  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

  • 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.

  • The HTTP module uses parseResponse. Map the id from the output bundle you see on the first run if the path differs.

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 (Placeholder fetch) handles errors with builtin:Break. The API call failed.

Customization

  • Replace every YOUR_* token before the first live call. Do not commit the filled-in blueprint.
  • Duplicate the scenario before you change the prompt, so you can diff against this demo later.

Time saved

About 4 minutes a refund of exporting it later.

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.