{
  "name": "Project: Error Generator",
  "nodes": [
    {
      "parameters": {
        "path": "error",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        0,
        0
      ],
      "id": "b75233bb-fa91-490f-99ab-559ec328db31",
      "name": "Webhook",
      "webhookId": "d8a94b05-53e3-46c4-a2e8-dd95b9fd8c93"
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "Write me a poem",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 2.2,
      "position": [
        224,
        0
      ],
      "id": "a47fcd24-4c5d-4320-b2f3-178c7ff741e3",
      "name": "AI Agent",
      "retryOnFail": false
    },
    {
      "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": "1504c4a0-0cda-4390-b51f-5972e3f61493",
      "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": "209fef06-6d40-4fc0-b6a2-110b49eef2d7",
      "name": "Send a message",
      "webhookId": "780ef38c-383c-46e5-8330-729cfdfe36e9",
      "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",
    "errorWorkflow": "lUqdLQuscnWDIYA7"
  },
  "versionId": "18c02110-aebc-4b2a-b203-6e8a44e3d4ce",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "281c34c03b9c41f054c536eeb966e9e503918cf7f00e3bc32a5ff9cca85ca255"
  },
  "id": "vF5fXdu3psNanryd",
  "tags": []
}