AutomationFlowsWeb Scraping › Reference Workflow V2 - Guardrails

Reference Workflow V2 - Guardrails

Reference Workflow V2 - Guardrails. Uses sqlite, httpRequest. Webhook trigger; 6 nodes.

Webhook trigger★★★★☆ complexity6 nodesSqliteHTTP Request
Web Scraping Trigger: Webhook Nodes: 6 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Reference Workflow V2 - Guardrails",
  "nodes": [
    {
      "parameters": {
        "path": "social-bot-scheduler-v2-template",
        "responseMode": "lastNode",
        "options": {}
      },
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "fingerprint",
              "value": "={{$json.body.post_id}}_{{$json.body.target}}"
            }
          ]
        },
        "options": {}
      },
      "name": "Set Fingerprint",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT hash FROM idempotency WHERE hash = :fingerprint",
        "additionalFields": {
          "queryParams": "fingerprint={{$node[\"Set Fingerprint\"].json[\"fingerprint\"]}}"
        }
      },
      "name": "Check Idempotency",
      "type": "n8n-nodes-base.sqlite",
      "typeVersion": 1,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "conditions": {
          "boolean": [
            {
              "value1": "={{$node[\"Check Idempotency\"].json.hash ? true : false}}",
              "value2": true
            }
          ]
        }
      },
      "name": "Is Duplicate?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        850,
        300
      ]
    },
    {
      "parameters": {
        "options": {
          "retryOnFail": true,
          "maxRetries": 3,
          "waitBetweenRetries": 1000
        }
      },
      "name": "Social API Logic",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1100,
        200
      ],
      "onError": "oErrorNode"
    },
    {
      "parameters": {
        "operation": "insert",
        "table": "failed_posts",
        "columns": "payload, error, timestamp",
        "values": "={{JSON.stringify($json.body)}}, {{$json.error}}, {{Date.now()}}"
      },
      "name": "Dead Letter Queue (DLQ)",
      "type": "n8n-nodes-base.sqlite",
      "typeVersion": 1,
      "position": [
        1350,
        450
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Set Fingerprint",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Fingerprint": {
      "main": [
        [
          {
            "node": "Check Idempotency",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Idempotency": {
      "main": [
        [
          {
            "node": "Is Duplicate?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Duplicate?": {
      "main": [
        null,
        [
          {
            "node": "Social API Logic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "description": "Conceptual workflow template illustrating Idempotency (SQLite) and DLQ logic."
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Reference Workflow V2 - Guardrails. Uses sqlite, httpRequest. Webhook trigger; 6 nodes.

Source: https://github.com/vladimiracunadev-create/social-bot-scheduler/blob/main/docs/templates/workflow-v2.template.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di

n8n, Execute Workflow Trigger, HTTP Request +1
Web Scraping

This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .

HTTP Request, Ssh
Web Scraping

eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.

HTTP Request
Web Scraping

This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia

HTTP Request
Web Scraping

This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c

HTTP Request