{
  "name": "Discover buying-intent leads on Twitter and Instagram with GPT-4o-mini and send summaries to Slack and Notion",
  "nodes": [
    {
      "id": "2359407b-d3f5-4d25-a828-3659d16faf0e",
      "name": "Receive User Lead Discovery Query (Chat Trigger)",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -496,
        -160
      ]
    },
    {
      "id": "4fcbb1cb-79cf-43c2-98d7-347665f8585b",
      "name": "Maintain Short-Term Conversation Context",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -528,
        112
      ]
    },
    {
      "id": "c2b2bd6e-09f1-40a6-bb31-d2021b52a6e6",
      "name": "Discover Buying-Intent Leads from Social Platforms (AI)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -144,
        -160
      ]
    },
    {
      "id": "d8f7fd0a-ea86-4615-b4fb-b125b0381ae8",
      "name": "External Social Search & Enrichment Tool (MCP Client)",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        256,
        304
      ]
    },
    {
      "id": "d3990fae-d632-4b68-b80b-420de73a3293",
      "name": "LLM Reasoning Engine for Lead Qualification",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        -144,
        80
      ]
    },
    {
      "id": "17898590-56f2-40c0-ad32-a524f5718ec3",
      "name": "Generate CRM-Ready Lead Discovery Response",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "position": [
        352,
        -160
      ]
    },
    {
      "id": "b42d1d16-08e9-41d5-ae6b-a0be2c725a55",
      "name": "Generate Slack & Notion Lead Insight Summary (AI)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        656,
        -160
      ]
    },
    {
      "id": "8672bb06-a852-4b2e-af8d-81714b28257e",
      "name": "LLM Reasoning Engine for Insight Structuring",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        608,
        144
      ]
    },
    {
      "id": "2cba8bbd-555f-402d-94c1-4d815852334e",
      "name": "Enforce Structured Lead Insight Output Schema",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        864,
        112
      ]
    },
    {
      "id": "12d5f450-f067-47d2-9db5-c2a03e574e7c",
      "name": "Send Lead Discovery Summary to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1216,
        16
      ]
    },
    {
      "id": "5bdeeea8-eddf-4d12-b3ca-3e3624e2d7d9",
      "name": "Store Lead Discovery Insight in Notion CRM",
      "type": "n8n-nodes-base.notion",
      "position": [
        1200,
        -304
      ]
    },
    {
      "id": "36c8b529-fcf8-4d13-b176-9d401b724afb",
      "name": "Workflow Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -480,
        752
      ]
    },
    {
      "id": "530ce89c-fa94-4d80-8bf4-acdb6e96f471",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -128,
        752
      ]
    },
    {
      "id": "43013288-7b0d-4eb3-ae97-7c87ed64abe2",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -560,
        592
      ],
      "parameters": {
        "width": 672,
        "height": 336,
        "content": "## Error Handling\nSends alerts when the workflow fails\n"
      }
    },
    {
      "id": "a8f95436-ee83-4281-b589-6adfd4e8b944",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1536,
        -1040
      ],
      "parameters": {
        "width": 768,
        "height": 768,
        "content": "## 🔎 Identify Buying-Intent Leads on Twitter & Instagram using GPT-4o-mini with Slack Alerts and Notion CRM\n\n### How it works\nThis workflow enables on-demand lead discovery from social platforms using"
      }
    },
    {
      "id": "c10fa3ac-2454-4456-9eb0-aeb408496329",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -368
      ],
      "parameters": {
        "width": 288,
        "height": 704,
        "content": "## User Input & Context\nReceives user lead queries and maintains short-term conversation memory\n"
      }
    },
    {
      "id": "c5d45c1d-e2e4-4de7-9d94-a9b75b825090",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        80
      ],
      "parameters": {
        "width": 320,
        "height": 400,
        "content": "## Social Search & Enrichment\nFetches and enriches social posts from external platforms\n"
      }
    },
    {
      "id": "926e3cd6-4477-4b1c-a506-3e4f99096672",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -496
      ],
      "parameters": {
        "width": 480,
        "height": 816,
        "content": "## Distribution & CRM Storage\nDelivers insights to Slack and stores them in Notion\n"
      }
    },
    {
      "id": "c3ec7a66-f141-4725-aedf-ebcbbfda925a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        -304
      ],
      "parameters": {
        "width": 496,
        "height": 640,
        "content": "## Insight Structuring & Validation\nTransforms raw leads into structured, validated insight\n"
      }
    },
    {
      "id": "ce44b94e-5913-4cb7-a2ea-e7d5e76a0dca",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -320
      ],
      "parameters": {
        "width": 304,
        "height": 576,
        "content": "## AI Lead Discovery & Qualification\nIdentifies real buying-intent leads and classifies intent\n"
      }
    },
    {
      "id": "8c3de142-e340-423c-9e58-bc40577de286",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        -304
      ],
      "parameters": {
        "width": 320,
        "height": 336,
        "content": "## CRM-Ready Response Preparation\nConverts discovered leads into a clean, user-facing response\n"
      }
    },
    {
      "id": "5ccd5a52-f6fd-445b-9f4c-a5ca53e747d1",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        -1200
      ],
      "parameters": {
        "width": 768,
        "height": 656,
        "content": "## 🎥 Workflow Demo Video\n\nWatch a short walkthrough explaining:\n• What this automation does  \n• How the data flows  \n• How to set up credentials  \n• Common mistakes to avoid  \n\n@[youtube](pj4GfvdUa6k)"
      }
    }
  ],
  "connections": {
    "Workflow Error Handler": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Maintain Short-Term Conversation Context": {
      "ai_memory": [
        [
          {
            "node": "Discover Buying-Intent Leads from Social Platforms (AI)",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Generate CRM-Ready Lead Discovery Response": {
      "main": [
        [
          {
            "node": "Generate Slack & Notion Lead Insight Summary (AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM Reasoning Engine for Lead Qualification": {
      "ai_languageModel": [
        [
          {
            "node": "Discover Buying-Intent Leads from Social Platforms (AI)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "LLM Reasoning Engine for Insight Structuring": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Slack & Notion Lead Insight Summary (AI)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Enforce Structured Lead Insight Output Schema": {
      "ai_outputParser": [
        [
          {
            "node": "Generate Slack & Notion Lead Insight Summary (AI)",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Receive User Lead Discovery Query (Chat Trigger)": {
      "main": [
        [
          {
            "node": "Discover Buying-Intent Leads from Social Platforms (AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Slack & Notion Lead Insight Summary (AI)": {
      "main": [
        [
          {
            "node": "Send Lead Discovery Summary to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Store Lead Discovery Insight in Notion CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "External Social Search & Enrichment Tool (MCP Client)": {
      "ai_tool": [
        [
          {
            "node": "Discover Buying-Intent Leads from Social Platforms (AI)",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Discover Buying-Intent Leads from Social Platforms (AI)": {
      "main": [
        [
          {
            "node": "Generate CRM-Ready Lead Discovery Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}