0892 Webhook Code Create Webhook

0892 Webhook Code Create Webhook

Webhook
High
20
Nodes
Webhook
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
20
Node Types
13

Node Types

filter
Optional filter for emails
1 node
open Ai
OpenAI
1 node
set
Configure
1 node
code
Iterate over email attachments, Aggregate attachments
2 nodes
no Op
Not a PDF
1 node
if
Is text within token limit?, Is matched, Send email with invoices?, Is attachment a PDF?
4 nodes
merge
Merge
1 node
google Drive
Upload file to folder, Create folder
2 nodes
webhook
Webhook
1 node
respond To Webhook
Respond to Webhook
1 node
gmail
Send to my accountant, Get emails with attachments
2 nodes
read P D F
Read PDF email attachments
1 node
sticky Note
Sticky Note, Sticky Note1
2 nodes

Workflow JSON

18.69 KB
{
  "meta": {
    "instanceId": "d1b60f1865ef6504ee3af5be4ef9a7387762b4132615a52de808456d52e8d336",
    "templateCredsSetupCompleted": true
  },
  "name": "0892 Webhook Code Create Webhook",
  "nodes": [
    {
      "id": "c84f3a9a-66b3-4a09-b06a-9b399ea574b8",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        420,
        -240
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini",
          "cachedResultName": "GPT-4.1-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Does this PDF file look like a {{ $(\"Configure\").first().json[\"Match on\"] }}? Return \"true\" if it is a {{ $(\"Configure\").first().json[\"Match on\"] }} and \"false\" if not. Only reply with lowercase letters \"true\" or \"false\".\n\nThis is the PDF filename:\n```\n{{ $binary.data.fileName }}\n```\n\nThis is t...

Showing first 1000 characters. Click "Expand" to view the full JSON.