QuvanticBook free audit

MakeChecked blueprint7 nodes

Moderate a webhook comment

Score a comment and ping Slack only when it should be blocked.

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

Pain

Replaces a brittle if/then chain with an assistant that can look something up, then stops before a sensitive send.

Solution

Score a comment and ping Slack only when it should be blocked.

Impact · From the blueprint

The obviously fine comments are not opened. The flagged ones still are.

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

Moderate a webhook comment 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: AI agents
Difficulty: advanced
Apps: Webhooks, OpenAI, Google Sheets, Slack
Test status: documented blueprint, structurally validated

Problem

A comment box needs a person for the bad ones and silence for the rest. This demo logs every comment and pings Slack when the model scores it as block. It does not delete the comment. Deletion stays a human action.

Who it's for

Community managers who can POST each new comment to a webhook.

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

The form posts JSON to this hook. Parameters stay empty so Make creates the hook on import.

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

2. Score the payload

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

Returns JSON with a numeric score and a one-sentence reason.

  • select: "chat"
  • model: "gpt-4o-mini"
  • max_tokens: "300"
  • temperature: "0.2"
  • messages: [{"role": "system", "content": "Moderate a comment. Return JSON only: score (100 to block, 0 to allow), reason. Block means harassment, a scam link, or private data. Ordinary criticism is allow."}, {"role": "user", "c...

3. Alert scoring — error handler

slack:CreateMessage · Send a message · Slack

Scoring failed.

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

4. Retry (Break) — error handler

builtin:Break · Retry (Break) · Flow control

Scoring failed. Retry before the router picks a side.

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

5. Parse the score

json:ParseJSON · Parse JSON · JSON

Exposes the numeric field the routes compare.

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

6. Log it

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

The row is written before the route, so both outcomes have an audit line.

  • from: "drive"
  • mode: "select"
  • spreadsheetId: ""
  • sheetId: ""
  • includesHeaders: true
  • insertDataOption: "INSERT_ROWS"
  • valueInputOption: "USER_ENTERED"
  • values: {"0": "{{now}}", "1": "{{1.author}}", "2": "{{5.score}}", "3": "{{5.reason}}", "4": "{{1.comment}}"}

7. Branch on the score

builtin:BasicRouter · Router · Flow control

The two number filters are mutually exclusive.

8. Flag the comment — route High

slack:CreateMessage · Send a message · Slack

A person decides whether to remove it. The scenario does not.

Filter At or above the line: [[{"a": "{{5.score}}", "o": "number:greaterorequal", "b": "50"}]]

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "*Review comment* by {{1.author}}: {{5.reason}}\n{{1.comment}}"
  • mrkdwn: true
  • parse: false

9. Note the low score — route Low

slack:CreateMessage · Send a message · Slack

So the channel can see the lead was stored and not contacted.

Filter Below the line: [[{"a": "{{5.score}}", "o": "number:less", "b": "50"}]]

  • channelWType: "list"
  • channelType: "public"
  • channel: ""
  • text: "Comment allowed from {{1.author}}."
  • mrkdwn: true
  • parse: false

Diagram

flowchart LR
  lead(("1 · Catch the webhook"))
  model(("2 · Score the payload"))
  lead --> model
  model -->|"error"| model_alert
  model_alert(("3 · Alert scoring"))
  model_directive(("4 · Retry (Break)"))
  model_alert --> model_directive
  parsed(("5 · Parse the score"))
  model --> parsed
  log(("6 · Log it"))
  parsed --> log
  band{"7 · Branch on the score"}
  log --> band
  high(("8 · Flag the comment"))
  band -->|"High"| high
  low(("9 · Note the low score"))
  band -->|"Low"| low

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 author
    • C score
    • D reason
    • E comment
  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

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

  • Routes compare {{parsed.score}} with 50 using number operators, so the two routes do not both run.

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 (Score the payload) handles errors with builtin:Break. Scoring failed. Retry before the router picks a side.
  • Router 7 (Branch on the score) The two number filters are mutually exclusive.
    • High. The score cleared the line. Filter: At or above the line.
    • Low. The score stayed under the line. Filter: Below the line.
  • Module 8 runs only when filter At or above the line passes. A blocked bundle stops on that path. It is not an error.
  • Module 9 runs only when filter Below the line passes. A blocked bundle stops on that path. It is not an error.

Customization

  • Edit the rubric in the system prompt before you reuse this for a different offer.
  • The webhook parameters are empty. Make creates the hook when you import.
  • Duplicate the scenario before you change the prompt, so you can diff against this demo later.

Time saved

The obviously fine comments are not opened. The flagged ones still are.

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.