{
  "name": "Qualify Idealista leads via WhatsApp with Superchat and GPT-4o",
  "nodes": [
    {
      "id": "be20ceb6-bfab-48c0-9e76-ece594aa90a1",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -960,
        64
      ]
    },
    {
      "id": "d2aa66f3-60d4-4f3f-a216-06edf20fe429",
      "name": "Microsoft Outlook Trigger",
      "type": "n8n-nodes-base.microsoftOutlookTrigger",
      "position": [
        -960,
        240
      ]
    },
    {
      "id": "abe1118d-948b-4225-a606-1c422ba5930d",
      "name": "Email Trigger (IMAP)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        -960,
        432
      ]
    },
    {
      "id": "8a4600c0-3d7b-4c2e-bff0-43a742f38578",
      "name": "from Idealista?",
      "type": "n8n-nodes-base.filter",
      "position": [
        -736,
        224
      ]
    },
    {
      "id": "f7a019b1-3b82-4af8-9793-a9f538de7508",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -800
      ],
      "parameters": {
        "width": 1056,
        "height": 448,
        "content": "## How to Automatically Qualify Idealista Leads via WhatsApp Using an AI Agent\n\nThis workflow automates the process of capturing incoming **property leads from Idealista** one of the leading real esta"
      }
    },
    {
      "id": "be408c95-3690-4fed-8283-4337ff4e5109",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -304
      ],
      "parameters": {
        "width": 272,
        "height": 192,
        "content": "## STEP 1\nConnect your email inbox\n- Gmail OR\n- Outlook OR\n- IMAP (All email providers)\n\nDelete/Remove the others"
      }
    },
    {
      "id": "2dc47cf7-d703-4696-b0b6-9873049f738b",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -576,
        528
      ]
    },
    {
      "id": "e346e541-605c-4b83-95fc-954d230cb87b",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -400,
        432
      ]
    },
    {
      "id": "fe74439c-d630-42d6-b4b2-b808252c5d99",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -304
      ],
      "parameters": {
        "width": 272,
        "height": 96,
        "content": "## STEP 2\nConnect your OpenAI API Key or connect a different LLM"
      }
    },
    {
      "id": "cccf993d-4461-4276-b4e5-306af19b21f1",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -304
      ],
      "parameters": {
        "width": 272,
        "height": 96,
        "content": "## STEP 3\nConnect your Superchat Workspace [through an API Key.](https://help.superchat.com/en/articles/213219-introduction-to-integrations#h_56604e4ec3)"
      }
    },
    {
      "id": "a713d62f-abe6-4709-aee8-a97355e5a9d1",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -192
      ],
      "parameters": {
        "width": 272,
        "height": 256,
        "content": "## STEP 4\n[Create a WhatsApp Template](https://help.superchat.com/en/articles/25035-get-started-whatsapp-templates) to reach out to your Idealista Leads.\n\n1. Select your WhatsApp Channel in the Superc"
      }
    },
    {
      "id": "61175179-b8b0-4cbd-8b84-07ab90ff249a",
      "name": "Send WhatsApp Template",
      "type": "n8n-nodes-superchat.superchat",
      "position": [
        -144,
        224
      ]
    },
    {
      "id": "8e5da037-2e73-413d-ac6f-5a13de755d34",
      "name": "AI Agent extracts Lead Information",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -544,
        224
      ]
    },
    {
      "id": "3fc1957b-5f02-4eed-ba5f-7c3de56f8e95",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        480
      ],
      "parameters": {
        "width": 224,
        "height": null,
        "content": "## STEP 2"
      }
    },
    {
      "id": "e4b6365f-a13c-4c76-8ea7-63049f88d670",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        48
      ],
      "parameters": {
        "width": 272,
        "height": 528,
        "content": "## STEP 1"
      }
    },
    {
      "id": "621b6311-1091-43c5-ab5f-bcc1ca152917",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        144
      ],
      "parameters": {
        "width": 224,
        "height": 288,
        "content": "## STEP 3 & 4"
      }
    },
    {
      "id": "662fa97a-96e4-4b51-bf3a-a51bd64388c8",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        128
      ],
      "parameters": {
        "width": 272,
        "height": 368,
        "content": "## Example Template\n\nHola {{firstName}}, gracias por tu interés en la referencia {{propertyTitle}} en la direccion {{propertyAddress}}.\n\nAquí tienes el enlace del anuncio: {{propertyLink}}.\n\nPara pode"
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "from Idealista?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "from Idealista?": {
      "main": [
        [
          {
            "node": "AI Agent extracts Lead Information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent extracts Lead Information",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Email Trigger (IMAP)": {
      "main": [
        [
          {
            "node": "from Idealista?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent extracts Lead Information",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Microsoft Outlook Trigger": {
      "main": [
        [
          {
            "node": "from Idealista?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent extracts Lead Information": {
      "main": [
        [
          {
            "node": "Send WhatsApp Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}