{
  "name": "Project: Error Generator Node Errors",
  "nodes": [
    {
      "parameters": {
        "path": "node-error",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "id": "c43243c1-39ce-42b2-b82c-a9d6705e8e72",
      "name": "Webhook",
      "webhookId": "9f6ea539-89a7-4f51-b713-febc850a0762"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "Write me a poem",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        224,
        0
      ],
      "id": "af1d1131-627c-474d-b1da-b3bc6a297ed9",
      "name": "AI Agent",
      "retryOnFail": false,
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        144,
        224
      ],
      "id": "5ce6a9a7-83d9-4a00-8a80-6191ceebb430",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "oX5vGtm1wnedh8eG",
          "name": "OpenAi account 2"
        }
      }
    },
    {
      "parameters": {
        "sendTo": "bottribe.io@gmail.com",
        "subject": "workflow execution",
        "emailType": "text",
        "message": "=Poem:\n\n{{ $json.output }}",
        "options": {}
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        576,
        0
      ],
      "id": "b8bcfb21-4876-41aa-a0c1-8aac12a0311b",
      "name": "Send a message",
      "webhookId": "7021cb1b-691f-4dea-995d-4ea5e9f6fcc3",
      "credentials": {
        "gmailOAuth2": {
          "id": "9w1WufhB125H9kfV",
          "name": "Gmail account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "callerPolicy": "workflowsFromSameOwner",
    "executionTimeout": -1
  },
  "versionId": "c9fa2338-c6fb-41d7-9b47-dd6b90e6c76d",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "281c34c03b9c41f054c536eeb966e9e503918cf7f00e3bc32a5ff9cca85ca255"
  },
  "id": "GgdixlImf3QyGnCi",
  "tags": []
}