AutomationFlowsData & Sheets › Operation5

Operation5

operation5. Uses httpRequest, supabase. Webhook trigger; 6 nodes.

Webhook trigger★★☆☆☆ complexity6 nodesHTTP RequestSupabase
Data & Sheets Trigger: Webhook Nodes: 6 Complexity: ★★☆☆☆ Added:

This workflow follows the HTTP Request → Supabase recipe pattern — see all workflows that pair these two integrations.

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": "operation5",
  "nodes": [
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "009f2fc8-54cf-4789-bd8f-5e9cc0b3abf4",
              "leftValue": "={{ $json.event_type }}",
              "rightValue": "extract.success",
              "operator": {
                "type": "string",
                "operation": "equals",
                "name": "filter.operator.equals"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.filter",
      "typeVersion": 2.2,
      "position": [
        288,
        0
      ],
      "id": "68891482-0e11-4b98-ad97-62c009cd3c67",
      "name": "Filter"
    },
    {
      "parameters": {
        "url": "=https://api.cloud.llamaindex.ai/api/v1/extraction/jobs/{{ $json.job_id }}/result",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/json"
            },
            {
              "name": "Authorization",
              "value": "<redacted-credential>"
            }
          ]
        },
        "options": {
          "redirect": {
            "redirect": {}
          }
        }
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        512,
        0
      ],
      "id": "e8b73360-435d-4274-a5f2-4eafed18c87f",
      "name": "get_schema"
    },
    {
      "parameters": {
        "operation": "get",
        "tableId": "documents",
        "filters": {
          "conditions": [
            {
              "keyName": "schema_job_id",
              "keyValue": "={{ $('edit_fields').item.json.job_id }}"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.supabase",
      "typeVersion": 1,
      "position": [
        720,
        0
      ],
      "id": "d3d6d3c3-4e68-4800-94d8-4e6e118d782f",
      "name": "Get a row",
      "credentials": {
        "supabaseApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "schema2",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -128,
        0
      ],
      "id": "77963c85-2170-47f5-9b20-b88d4ecc990e",
      "name": "catch_extract_alert"
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "14fae4f3-9e4f-42e2-bb89-a8b774dc693a",
              "name": "job_id",
              "value": "={{ JSON.parse($json.body).data.job_id }}",
              "type": "string"
            },
            {
              "id": "e57cd324-274c-4396-b0c5-7dedbaf924de",
              "name": "event_type",
              "value": "={{ $json.headers['x-webhook-event-type'] }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        80,
        0
      ],
      "id": "ebb6d66a-537f-4f0f-b162-680d8542d051",
      "name": "edit_fields"
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://vnhauomvzjucxadrbywg.supabase.co/functions/v1/statement-schema-intake",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            },
            {
              "name": "X-Webhook-Secret",
              "value": "clearscrub_webhook_2025_xyz123"
            }
          ]
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "document_id",
              "value": "={{ $json.id }}"
            },
            {
              "name": "extracted_data",
              "value": "={{ $('get_schema').item.json.data.statement.toJsonString() }}"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        928,
        0
      ],
      "id": "9638a0de-1ae4-4698-8b1b-e6c2becf1ba8",
      "name": "statement-schema-intake"
    }
  ],
  "connections": {
    "Filter": {
      "main": [
        [
          {
            "node": "get_schema",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_schema": {
      "main": [
        [
          {
            "node": "Get a row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a row": {
      "main": [
        [
          {
            "node": "statement-schema-intake",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "catch_extract_alert": {
      "main": [
        [
          {
            "node": "edit_fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "edit_fields": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "17ce0912-7323-4ac1-8900-26c54acebced",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "VmBlDnQfpBni7ECc",
  "tags": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

operation5. Uses httpRequest, supabase. Webhook trigger; 6 nodes.

Source: https://github.com/brickdatalab/clearscrubdash2/blob/1be6687b50a589bf33529517aeadbbd4a5dcdb8b/n8n/operation5.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

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

Data & Sheets

Resume Optimizer Webhook. Uses httpRequest, supabase. Webhook trigger; 5 nodes.

HTTP Request, Supabase
Data & Sheets

operation34. Uses supabase, httpRequest. Webhook trigger; 4 nodes.

Supabase, HTTP Request
Data & Sheets

fluxo-ingestao. Uses httpRequest, supabase. Webhook trigger; 3 nodes.

HTTP Request, Supabase
Data & Sheets

booking no duplicate. Uses httpRequest, supabase. Webhook trigger; 38 nodes.

HTTP Request, Supabase
Data & Sheets

01-intake-storage. Uses airtable, supabase, stopAndError, httpRequest. Webhook trigger; 33 nodes.

Airtable, Supabase, Stop And Error +2