{
  "openruna_format": "flow-graph-v1",
  "title": "0696_Code_Webhook_Create_Webhook",
  "slug": "0696-code-webhook-create-webhook",
  "source_filename": "0696_Code_Webhook_Create_Webhook.json",
  "nodes": [
    {
      "id": "Event Type",
      "name": "Event Type",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Get Prompt Fields",
      "name": "Get Prompt Fields",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get File Data",
      "name": "Get File Data",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Extract from File",
      "name": "Extract from File",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Get Result",
      "name": "Get Result",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Row Reference",
      "name": "Row Reference",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Generate Field Value",
      "name": "Generate Field Value",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Fields to Update",
      "name": "Fields to Update",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Loop Over Items1",
      "name": "Loop Over Items1",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Row Ref",
      "name": "Row Ref",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get File Data1",
      "name": "Get File Data1",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Extract from File1",
      "name": "Extract from File1",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Get Result1",
      "name": "Get Result1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Generate Field Value1",
      "name": "Generate Field Value1",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Filter Valid Rows",
      "name": "Filter Valid Rows",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Filter Valid Fields",
      "name": "Filter Valid Fields",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Event Ref",
      "name": "Event Ref",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Event Ref1",
      "name": "Event Ref1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model1",
      "name": "OpenAI Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Get Webhook Payload",
      "name": "Get Webhook Payload",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Parse Event",
      "name": "Parse Event",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get Table Schema",
      "name": "Get Table Schema",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Fetch Records",
      "name": "Fetch Records",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Update Row",
      "name": "Update Row",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Get Row",
      "name": "Get Row",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Add Row ID to Payload",
      "name": "Add Row ID to Payload",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Update Record",
      "name": "Update Record",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Airtable Webhook",
      "name": "Airtable Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Set Airtable Vars",
      "name": "Set Airtable Vars",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get Table Schema1",
      "name": "Get Table Schema1",
      "integration": "airtable",
      "kind": "action"
    },
    {
      "id": "Get \"Input\" Field",
      "name": "Get \"Input\" Field",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "RecordsChanged Webhook",
      "name": "RecordsChanged Webhook",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "FieldsChanged Webhook",
      "name": "FieldsChanged Webhook",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Get Row",
      "to": "Filter Valid Rows"
    },
    {
      "from": "Row Ref",
      "to": "Get File Data1"
    },
    {
      "from": "Event Ref",
      "to": "Filter Valid Fields"
    },
    {
      "from": "Event Ref1",
      "to": "Get Row"
    },
    {
      "from": "Event Type",
      "to": "Event Ref1"
    },
    {
      "from": "Event Type",
      "to": "Event Ref"
    },
    {
      "from": "Event Type",
      "to": "Event Ref"
    },
    {
      "from": "Get Result",
      "to": "Update Row"
    },
    {
      "from": "Update Row",
      "to": "Loop Over Items"
    },
    {
      "from": "Get Result1",
      "to": "Add Row ID to Payload"
    },
    {
      "from": "Parse Event",
      "to": "Event Type"
    },
    {
      "from": "Fetch Records",
      "to": "Loop Over Items"
    },
    {
      "from": "Get File Data",
      "to": "Extract from File"
    },
    {
      "from": "Row Reference",
      "to": "Get File Data"
    },
    {
      "from": "Update Record",
      "to": "Loop Over Items1"
    },
    {
      "from": "Get File Data1",
      "to": "Extract from File1"
    },
    {
      "from": "Loop Over Items",
      "to": "Row Reference"
    },
    {
      "from": "Airtable Webhook",
      "to": "Get Table Schema"
    },
    {
      "from": "Fields to Update",
      "to": "Generate Field Value1"
    },
    {
      "from": "Get Table Schema",
      "to": "Get Prompt Fields"
    },
    {
      "from": "Loop Over Items1",
      "to": "Row Ref"
    },
    {
      "from": "Extract from File",
      "to": "Generate Field Value"
    },
    {
      "from": "Filter Valid Rows",
      "to": "Loop Over Items1"
    },
    {
      "from": "Get \"Input\" Field",
      "to": "RecordsChanged Webhook"
    },
    {
      "from": "Get Prompt Fields",
      "to": "Get Webhook Payload"
    },
    {
      "from": "Get Table Schema1",
      "to": "Get \"Input\" Field"
    },
    {
      "from": "Set Airtable Vars",
      "to": "Get Table Schema1"
    },
    {
      "from": "Set Airtable Vars",
      "to": "FieldsChanged Webhook"
    },
    {
      "from": "Extract from File1",
      "to": "Fields to Update"
    },
    {
      "from": "Filter Valid Fields",
      "to": "Fetch Records"
    },
    {
      "from": "Get Webhook Payload",
      "to": "Parse Event"
    },
    {
      "from": "Generate Field Value",
      "to": "Get Result"
    },
    {
      "from": "Add Row ID to Payload",
      "to": "Update Record"
    },
    {
      "from": "Generate Field Value1",
      "to": "Get Result1"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Set Airtable Vars"
    }
  ]
}