{
  "name": "Generate job automation analysis with GPT-4, Tavily & Telegram",
  "nodes": [
    {
      "id": "fd824f00-391e-42d8-94d4-e9894511e6a9",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -160,
        -60
      ]
    },
    {
      "id": "20d50f76-c100-4054-b9d2-ad26df1a5f79",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1300,
        -80
      ]
    },
    {
      "id": "8caaf94f-5241-41a0-940f-3bd4698af3f6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1860,
        -300
      ],
      "parameters": {
        "width": 500,
        "height": 640,
        "content": "## HAS matrix bot\n\nThis template helps users assess which tasks in their profession can already be automated using AI, and which are better done by humans. It uses the Human Agency Scale (HAS), a 5-le"
      }
    },
    {
      "id": "5423585d-1369-4508-b6f8-1e996950adb3",
      "name": "OpenAI Transcribator",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -500,
        220
      ]
    },
    {
      "id": "85cd5ce9-a85d-4b32-b903-b6042e6255ce",
      "name": "OpenAI LLM",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -220,
        360
      ]
    },
    {
      "id": "ad62ba43-7799-450e-8282-b1ee49803783",
      "name": "Memory module",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -80,
        360
      ]
    },
    {
      "id": "ef941453-e6c1-4801-9b6f-d76f3985d53b",
      "name": "Answer to user",
      "type": "n8n-nodes-base.telegram",
      "position": [
        320,
        -60
      ]
    },
    {
      "id": "6b04c6d4-a2fa-476a-8971-f827fa2c8a26",
      "name": "Text edit fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -600,
        -260
      ]
    },
    {
      "id": "ba7fd1e1-160f-453e-9772-61c2e399d942",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1340,
        -100
      ],
      "parameters": {
        "width": 640,
        "height": 480,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Telegram Trigger\n\nListens for text or voice messages from Telegram.\nSwitch node routes:\n1. Text to GPT\n2. Voice to transcription"
      }
    },
    {
      "id": "61f9e733-58c1-41ec-a1e1-5dbb2376a881",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -680,
        40
      ],
      "parameters": {
        "width": 320,
        "height": 340,
        "content": "## Voice-to-Text\n\nUses OpenAI Whisper to transcribe voice messages before sending them to the AI agent."
      }
    },
    {
      "id": "4dd138ff-221a-41f7-96fd-4b9d4a838490",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -340
      ],
      "parameters": {
        "width": 460,
        "height": 440,
        "content": "## AI Agent\n**AI Agent builds the 4-zone matrix using GPT-4 and Tavily search when needed**\n\nTakes text input and analyzes tasks using:\n• Custom persona prompt\n• GPT-4.1-mini model\n• Session memory\n• "
      }
    },
    {
      "id": "92302210-1da6-4e4f-8a30-efca981942a0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -340
      ],
      "parameters": {
        "width": 320,
        "height": 440,
        "content": "## Answer to User\n\nSends generated matrix and feedback back to the Telegram chat.\nAll messages are routed via chat_id from Telegram Trigger."
      }
    },
    {
      "id": "399f05bd-f68f-4db6-892e-28aae072d5f3",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        220
      ],
      "parameters": {
        "width": 460,
        "height": 440,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## AI Tools & Context\n\n• Tavily: AI-powered web search for live context\n• Memory module: preserves context for back-to-back analysis"
      }
    },
    {
      "id": "8d3306d3-87bd-415b-a829-facc60fd1d85",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        -340
      ],
      "parameters": {
        "width": 340,
        "height": 220,
        "content": "## Typing feature\n"
      }
    },
    {
      "id": "2c52c71d-d781-4def-a921-f55350d595fb",
      "name": "Message Router",
      "type": "n8n-nodes-base.switch",
      "position": [
        -860,
        -80
      ]
    },
    {
      "id": "abb2a859-bb7c-4822-a5cc-d1fe68f386e0",
      "name": "Fetch Voice File",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -660,
        220
      ]
    },
    {
      "id": "2b3d44ce-2f9e-4468-81f5-46cee66710ba",
      "name": "Search in Tavily",
      "type": "@tavily/n8n-nodes-tavily.tavilyTool",
      "position": [
        80,
        360
      ]
    },
    {
      "id": "6c37a8ae-bc93-41cb-b641-6e9cf5286503",
      "name": "Send a chat action",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1120,
        -280
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Answer to user",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI LLM": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Memory module": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Message Router": {
      "main": [
        [
          {
            "node": "Text edit fields",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Fetch Voice File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Voice File": {
      "main": [
        [
          {
            "node": "OpenAI Transcribator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search in Tavily": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Message Router",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a chat action",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text edit fields": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Transcribator": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}