{
  "name": "Get multimodal AI dating advice on Telegram with Google Gemini and Sheets",
  "nodes": [
    {
      "id": "c142f5dd-fbeb-4b25-a0fe-f684546e6eff",
      "name": "Download Voice Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2144,
        1072
      ]
    },
    {
      "id": "68f15a08-cbe2-4ad9-9cfe-8b7a7c60787c",
      "name": "get_message (text)",
      "type": "n8n-nodes-base.set",
      "position": [
        2144,
        912
      ]
    },
    {
      "id": "b975dcce-68d8-4e3d-b50e-330f3f63812d",
      "name": "Analyze image",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2368,
        1248
      ]
    },
    {
      "id": "04b43855-1600-424d-a2ae-458fb72a0525",
      "name": "Analyze voice message",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        2368,
        1072
      ]
    },
    {
      "id": "3d5d43cc-4639-4d46-a095-b6de79d3aede",
      "name": "get_message (Audio/Video message)",
      "type": "n8n-nodes-base.set",
      "position": [
        2544,
        1072
      ]
    },
    {
      "id": "60e92d69-3fd6-4311-ba91-ea445adf9727",
      "name": "get_message (Media  message)",
      "type": "n8n-nodes-base.set",
      "position": [
        2544,
        1248
      ]
    },
    {
      "id": "563fd16d-25d2-4496-94eb-d6a8be600e92",
      "name": "Typing…",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1264,
        960
      ]
    },
    {
      "id": "29051108-72c1-49da-8b51-25350affe0de",
      "name": "get_error_message1",
      "type": "n8n-nodes-base.set",
      "position": [
        2144,
        1408
      ]
    },
    {
      "id": "41cf82ed-b4f4-4224-93b2-e2c96f4c0f4c",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        3600,
        1184
      ]
    },
    {
      "id": "938dbd1b-a566-4bcf-9c9c-7abf90174f8b",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        3024,
        1056
      ]
    },
    {
      "id": "ad29c874-9686-41aa-af26-5db22169f1dd",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        3344,
        1072
      ]
    },
    {
      "id": "dcbd0b50-3cb5-4e3e-be26-026199676bb7",
      "name": "MarkdownV2",
      "type": "n8n-nodes-base.code",
      "position": [
        3440,
        1184
      ]
    },
    {
      "id": "4dc3eac9-6640-4cd8-b07d-44254df59f48",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1040,
        1184
      ]
    },
    {
      "id": "6561a9a0-2d00-424d-ba86-8852dcb7e935",
      "name": "Download Image",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2144,
        1248
      ]
    },
    {
      "id": "53cdd022-332a-4e7f-b2a8-405a450efbe1",
      "name": "Send a text message3",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2528,
        2176
      ]
    },
    {
      "id": "b3b521db-9919-4d51-a2f0-a8816d0f7f45",
      "name": "Google Gemini Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        2048,
        2032
      ]
    },
    {
      "id": "7cd91bbb-b625-4c9c-ac03-06925fa6734e",
      "name": "MarkdownV1",
      "type": "n8n-nodes-base.code",
      "position": [
        2368,
        2176
      ]
    },
    {
      "id": "e8e8f9dc-461c-4aa5-b862-de736e74ee4d",
      "name": "Get Rizzler Profile",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1264,
        1184
      ]
    },
    {
      "id": "192384a8-e622-4e30-b907-30677654fb1e",
      "name": "Registered?",
      "type": "n8n-nodes-base.if",
      "position": [
        1488,
        1184
      ]
    },
    {
      "id": "a2d8609c-529d-4646-9960-71c78ecd1e5e",
      "name": "Register Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2048,
        2176
      ]
    },
    {
      "id": "5b6d393c-dcc4-4671-87c6-ac856b45d5bb",
      "name": "get_message (register)",
      "type": "n8n-nodes-base.set",
      "position": [
        1776,
        2176
      ]
    },
    {
      "id": "9bf762cf-2fb1-4887-8bc1-b02d9e0917f8",
      "name": "create_rizzler_profile",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2192,
        2384
      ]
    },
    {
      "id": "50970112-2ce1-4aa9-b299-01072dc69e98",
      "name": "search_leads",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2928,
        1456
      ]
    },
    {
      "id": "1d28fd69-f708-42ba-96b3-44838f9a6c82",
      "name": "get_lead_history",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3072,
        1456
      ]
    },
    {
      "id": "aaf798c4-e749-4210-ac58-dc1d4caa13b0",
      "name": "create_new_lead",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3216,
        1456
      ]
    },
    {
      "id": "ca096be1-3098-41f0-867b-e46177bf4bd3",
      "name": "update_profile",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3632,
        1456
      ]
    },
    {
      "id": "c827b987-5992-41af-a5e2-b4d497bf91a2",
      "name": "update_lead",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3504,
        1456
      ]
    },
    {
      "id": "e15bb617-61da-4620-936d-15b0b5cf9c59",
      "name": "Input Message Router",
      "type": "n8n-nodes-base.switch",
      "position": [
        1776,
        1136
      ]
    },
    {
      "id": "5b34cd3b-168a-4e51-b096-2a8a1c4f8e6a",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2208,
        2032
      ]
    },
    {
      "id": "496bf2a8-3a7d-4fa6-bfcb-d985950743bb",
      "name": "Append Log",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        3376,
        1456
      ]
    },
    {
      "id": "6d4404a0-3993-4719-b830-e5786e0a4ab5",
      "name": "Rizz AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        3120,
        1184
      ]
    },
    {
      "id": "3930702e-db5f-436e-a447-46ad5a2da383",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        720
      ],
      "parameters": {
        "width": 688,
        "height": 768,
        "content": "## 🚦 Auth & User Check\n**1. Trigger:** Listens for any message (Text, Photo, Voice) from Telegram.\n**2. Check Profile:** Queries the `Users` sheet to see if the Telegram ID exists.\n**3. Gatekeeper:** "
      }
    },
    {
      "id": "e628cb69-0597-4b1b-895c-2c11353415fe",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1696,
        720
      ],
      "parameters": {
        "width": 1056,
        "height": 928,
        "content": "## 👁️ Input Processing\n**1. Router:** Detects if the message is Text, Image, or Audio.\n**2. Vision (Images):** Uses `Google Gemini` to analyze screenshots (e.g., \"Analyze this Tinder bio\") and extract"
      }
    },
    {
      "id": "e00e7b1b-a5ac-4f77-93ee-ec7385ab0a63",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        1808
      ],
      "parameters": {
        "width": 1056,
        "height": 816,
        "content": "## 👶 Onboarding Agent\n**Role:** Interviews new users to build their \"Rizz Profile\".\n**Tasks:**\n- Asks for Name, Dating Style (e.g., \"Mystery\", \"Funny\"), and Goals.\n- Saves the profile to `Google Sheet"
      }
    },
    {
      "id": "33b917b7-0a01-4322-a240-49305eda33ec",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2816,
        720
      ],
      "parameters": {
        "width": 1056,
        "height": 928,
        "content": "## 🧠 The Rizz Agent (Brain)\n**Model:** Google Gemini (with System Instruction).\n**Capabilities:**\n- **Memory:** Remembers conversation context.\n- **Tools:**\n  - `search_leads`: Checks if a match exist"
      }
    },
    {
      "id": "4a2cd6bc-1cdd-4f1f-9b77-4848796e3e72",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        784
      ],
      "parameters": {
        "width": 608,
        "height": 656,
        "content": "### Rizz AI: Your AI Dating Assistant on Telegram 💘\n\nThis advanced AI Agent acts as your personal \"Wingman\" on Telegram. It uses **Google Gemini Vision & Audio** to analyze screenshots of chats, liste"
      }
    },
    {
      "id": "0ce73af8-d485-414c-9ad6-6a37e4523274",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        1584
      ],
      "parameters": {
        "width": 1280,
        "height": 864,
        "content": "\n![Rizz AI Workflow](https://raw.githubusercontent.com/AlejandroSIlvaRodriguez/Assets/main/Assets/Onboarding.png)\n![Rizz AI Workflow](https://raw.githubusercontent.com/AlejandroSIlvaRodriguez/Assets/m"
      }
    },
    {
      "id": "1a0772e9-8b7e-4c20-af47-afe23648a39e",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2800,
        1792
      ],
      "parameters": {
        "width": 752,
        "height": 832,
        "content": "![Chat Response Example](https://raw.githubusercontent.com/AlejandroSIlvaRodriguez/Assets/main/Assets/ChatResponse.png)\n"
      }
    },
    {
      "id": "28082ed1-6889-49ec-869b-9e738ed2be98",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        192
      ],
      "parameters": {
        "width": 608,
        "height": 432,
        "content": "![Menu Response Example](https://raw.githubusercontent.com/AlejandroSIlvaRodriguez/Assets/main/Assets/MenuResponse.png)"
      }
    },
    {
      "id": "560ffac2-59fc-4c8d-89cd-37410ba37f35",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1856,
        -176
      ],
      "parameters": {
        "width": 736,
        "height": 864,
        "content": "![Profile Response Example](https://raw.githubusercontent.com/AlejandroSIlvaRodriguez/Assets/main/Assets/ProfileResoponce.png)"
      }
    },
    {
      "id": "7019c169-a465-420b-b852-acca2ef7effa",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2816,
        480
      ],
      "parameters": {
        "width": 368,
        "height": 208,
        "content": "## 💡 Need Assistance?\n\nIf you’d like help customizing or extending this workflow, feel free to reach out:  \n\n📧 Email: [johnsilva11031@gmail.com](mailto:johnsilva11031@gmail.com)  \n🔗 LinkedIn: [John Al"
      }
    }
  ],
  "connections": {
    "Rizz AI": {
      "main": [
        [
          {
            "node": "MarkdownV2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Typing…": {
      "main": [
        []
      ]
    },
    "Append Log": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "MarkdownV1": {
      "main": [
        [
          {
            "node": "Send a text message3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MarkdownV2": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Registered?": {
      "main": [
        [
          {
            "node": "Input Message Router",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_message (register)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "update_lead": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "search_leads": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Analyze image": {
      "main": [
        [
          {
            "node": "get_message (Media  message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Analyze image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Register Agent": {
      "main": [
        [
          {
            "node": "MarkdownV1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Register Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "update_profile": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "create_new_lead": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Typing…",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Rizzler Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_lead_history": {
      "ai_tool": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "get_error_message1": {
      "main": [
        [
          {
            "node": "Rizz AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_message (text)": {
      "main": [
        [
          {
            "node": "Rizz AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Rizzler Profile": {
      "main": [
        [
          {
            "node": "Registered?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Input Message Router": {
      "main": [
        [
          {
            "node": "get_message (text)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download Voice Message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_error_message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze voice message": {
      "main": [
        [
          {
            "node": "get_message (Audio/Video message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Voice Message": {
      "main": [
        [
          {
            "node": "Analyze voice message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "create_rizzler_profile": {
      "ai_tool": [
        [
          {
            "node": "Register Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "get_message (register)": {
      "main": [
        [
          {
            "node": "Register Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Rizz AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Register Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "get_message (Media  message)": {
      "main": [
        [
          {
            "node": "Rizz AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_message (Audio/Video message)": {
      "main": [
        [
          {
            "node": "Rizz AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}