8
n8n 中文网amn8n.com

使用Gemini 2.5-pro和Telegram的落地页转化优化器

中级

这是一个Market Research, AI Summarization领域的自动化工作流,包含 15 个节点。主要使用 Code, Telegram, FormTrigger, HttpRequest, Agent 等节点。 使用Gemini 2.5-pro和Telegram的落地页转化优化器

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "38d0d7f6096fb39a4fbc64fdb5646d2b333f9242fae81ce6cac66910ed46a7ba",
    "templateId": "3100",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "870260b1-758f-4729-9e0e-fb41bb6503d7",
      "name": "Landing Page Url",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        288,
        240
      ],
      "webhookId": "e568ddd8-cb8d-4b81-87e0-3774d230d533",
      "parameters": {
        "options": {},
        "formTitle": "Conversion Rate Optimizer",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Landing Page Url",
              "placeholder": "https://yuzuu.co",
              "requiredField": true
            }
          ]
        },
        "formDescription": "Your Landing Page is Leaking Sales—Fix It Now"
      },
      "typeVersion": 2.2
    },
    {
      "id": "7affbd49-5ea8-4dad-900e-49b46b2b996a",
      "name": "Scrape Website",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        832,
        240
      ],
      "parameters": {
        "url": "={{ $json['Landing Page Url'] }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "3474686f-7b80-4540-8b98-4a706bb7114b",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1040,
        240
      ],
      "parameters": {
        "text": "=You are a professional expert in Conversion Rate Optimization who helps business founders & CMOs improve their landing pages. You are a world-class expert in analysing landing pages, roasting them, and providing valuable Conversion Rate Optimization Ideas to help businesses increase conversions.  \n\nGOAL\nI want you to roast my landing page and deliver recommendations to improve the Conversion Rate. I will use this roast to understand what's wrong with my landing page and make improvements based on your recommendations. \n\nROAST STRUCTURE\nThis framework consists of 2 blocks of insights: \nRoast: a detailed roast of my landing page.\nRecommendations: 10 conversion rate optimization ideas based on your roast and analysis.\n\nROAST & RECOMMENDATIONS CRITERIA\nFor the Roast: Be friendly & casual. Talk like a human to another human. \nFor the Roast: Be unconventional & fun. I don't want to be bored. A roast must agitate the reader's feelings. \nFor the Roast: You will make a full landing page analysis, and explain what's wrong. You will use this analysis to make recommendations for The Recommendations.  \nFor the Recommendations: Be specific. Write exactly what I need to do. Your detailed description for each Conversion Rate Optimization Idea should be self-explanatory. For example, instead of saying “Rewrite your headline”, give me improved ideas for the headline. Your job is to return advanced insights personalised only for my specific landing page. This is a critical law for you.\nFor the Recommendations: Be creative. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\nFor the Recommendations: Prioritise Conversion Rate Optimization Ideas that are relevant in the 2024 digital marketing space. \nFor the Recommendations: Your Conversion Rate Optimization ideas must be impactful. Prioritise Conversion Rate Optimization Ideas that adds a wow effect.\nFor the Recommendations: Your Conversion Rate Optimization ideas must be easy to implement.\nFor the Recommendations: Personalise your ideas with references to the Roast you made. I don’t want to read 10 generic ideas that can work for anyone (for example, “add a live chat” or “offer a free trial”). I need a 100% personalised response.\n\nHere is the content of my landing page: {{ $json.data }}\n\nIMPORTANT OUTPUT RULES (MUST READ):\n- Your entire response MUST be written in **English**.\n- Your response MUST NOT exceed **3000 characters (including spaces)**. This is mandatory; do NOT violate this limit.\nGOAL\nI want you to roast my landing page and deliver recommendations to improve the Conversion Rate. I will use this roast to understand what's wrong with my landing page and make improvements based on your recommendations. \n\nROAST STRUCTURE\nThis framework consists of 2 blocks of insights: \nRoast: a detailed roast of my landing page.\nRecommendations: 10 conversion rate optimization ideas based on your roast and analysis.\n\nROAST & RECOMMENDATIONS CRITERIA\nFor the Roast: Be friendly & casual. Talk like a human to another human. \nFor the Roast: Be unconventional & fun. I don't want to be bored. A roast must agitate the reader's feelings. \nFor the Roast: You will make a full landing page analysis, and explain what's wrong. You will use this analysis to make recommendations for The Recommendations.  \nFor the Recommendations: Be specific. Write exactly what I need to do. Your detailed description for each Conversion Rate Optimization Idea should be self-explanatory. For example, instead of saying “Rewrite your headline”, give me improved ideas for the headline. Your job is to return advanced insights personalised only for my specific landing page. This is a critical law for you.\nFor the Recommendations: Be creative. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\nFor the Recommendations: Prioritise Conversion Rate Optimization Ideas that are relevant in the 2024 digital marketing space. \nFor the Recommendations: Your Conversion Rate Optimization ideas must be impactful. Prioritise Conversion Rate Optimization Ideas that adds a wow effect.\nFor the Recommendations: Your Conversion Rate Optimization ideas must be easy to implement.\nFor the Recommendations: Personalise your ideas with references to the Roast you made. I don’t want to read 10 generic ideas that can work for anyone (for example, “add a live chat” or “offer a free trial”). I need a 100% personalised response.\n\nHere is the content of my landing page: {{ $json.data }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "626c2f1d-af30-4b71-9f65-f5f2c52b7e52",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1040,
        464
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.5-pro"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "mUxErzix1yHoLqL7",
          "name": "Google Gemini(PaLM) Api account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a2248c3a-19da-4b50-ae94-7d436b56b7d4",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1472,
        240
      ],
      "webhookId": "0482e2c9-4564-4ba3-92f9-76f874420b98",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "AYGsey4Qm9PniPrS",
          "name": "MertSiteRaporBot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c48fc36e-d65e-4e07-b662-bbf2fc38664f",
      "name": "Scrape Website1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        816,
        784
      ],
      "parameters": {
        "url": "={{ $json.message.text }}",
        "options": {}
      },
      "typeVersion": 4.2
    },
    {
      "id": "e93333b5-fd30-4558-8465-809457e1c0bf",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1040,
        784
      ],
      "parameters": {
        "text": "=You are a professional expert in Conversion Rate Optimization who helps business founders & CMOs improve their landing pages. You are a world-class expert in analysing landing pages, roasting them, and providing valuable Conversion Rate Optimization Ideas to help businesses increase conversions.  \n\nGOAL\nI want you to roast my landing page and deliver recommendations to improve the Conversion Rate. I will use this roast to understand what's wrong with my landing page and make improvements based on your recommendations. \n\nROAST STRUCTURE\nThis framework consists of 2 blocks of insights: \nRoast: a detailed roast of my landing page.\nRecommendations: 10 conversion rate optimization ideas based on your roast and analysis.\n\nROAST & RECOMMENDATIONS CRITERIA\nFor the Roast: Be friendly & casual. Talk like a human to another human. \nFor the Roast: Be unconventional & fun. I don't want to be bored. A roast must agitate the reader's feelings. \nFor the Roast: You will make a full landing page analysis, and explain what's wrong. You will use this analysis to make recommendations for The Recommendations.  \nFor the Recommendations: Be specific. Write exactly what I need to do. Your detailed description for each Conversion Rate Optimization Idea should be self-explanatory. For example, instead of saying “Rewrite your headline”, give me improved ideas for the headline. Your job is to return advanced insights personalised only for my specific landing page. This is a critical law for you.\nFor the Recommendations: Be creative. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\nFor the Recommendations: Prioritise Conversion Rate Optimization Ideas that are relevant in the 2024 digital marketing space. \nFor the Recommendations: Your Conversion Rate Optimization ideas must be impactful. Prioritise Conversion Rate Optimization Ideas that adds a wow effect.\nFor the Recommendations: Your Conversion Rate Optimization ideas must be easy to implement.\nFor the Recommendations: Personalise your ideas with references to the Roast you made. I don’t want to read 10 generic ideas that can work for anyone (for example, “add a live chat” or “offer a free trial”). I need a 100% personalised response.\n\nHere is the content of my landing page: {{ $json.data }}\n\nIMPORTANT OUTPUT RULES (MUST READ):\n- Your entire response MUST be written in **English**.\n- Your response MUST NOT exceed **3000 characters (including spaces)**. This is mandatory; do NOT violate this limit.\nGOAL\nI want you to roast my landing page and deliver recommendations to improve the Conversion Rate. I will use this roast to understand what's wrong with my landing page and make improvements based on your recommendations. \n\nROAST STRUCTURE\nThis framework consists of 2 blocks of insights: \nRoast: a detailed roast of my landing page.\nRecommendations: 10 conversion rate optimization ideas based on your roast and analysis.\n\nROAST & RECOMMENDATIONS CRITERIA\nFor the Roast: Be friendly & casual. Talk like a human to another human. \nFor the Roast: Be unconventional & fun. I don't want to be bored. A roast must agitate the reader's feelings. \nFor the Roast: You will make a full landing page analysis, and explain what's wrong. You will use this analysis to make recommendations for The Recommendations.  \nFor the Recommendations: Be specific. Write exactly what I need to do. Your detailed description for each Conversion Rate Optimization Idea should be self-explanatory. For example, instead of saying “Rewrite your headline”, give me improved ideas for the headline. Your job is to return advanced insights personalised only for my specific landing page. This is a critical law for you.\nFor the Recommendations: Be creative. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\nFor the Recommendations: Prioritise Conversion Rate Optimization Ideas that are relevant in the 2025 digital marketing space. \nFor the Recommendations: Your Conversion Rate Optimization ideas must be impactful. Prioritise Conversion Rate Optimization Ideas that adds a wow effect.\nFor the Recommendations: Your Conversion Rate Optimization ideas must be easy to implement.\nFor the Recommendations: Personalise your ideas with references to the Roast you made. I don’t want to read 10 generic ideas that can work for anyone (for example, “add a live chat” or “offer a free trial”). I need a 100% personalised response.\n\nHere is the content of my landing page: {{ $json.data }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "e1b56c86-b958-4c55-9140-21a9f1b9b23c",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1040,
        992
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.5-pro"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "mUxErzix1yHoLqL7",
          "name": "Google Gemini(PaLM) Api account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "354c0e9f-e483-468d-b877-1b95b88b3fb1",
      "name": "Send a text message1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1472,
        784
      ],
      "webhookId": "489c3358-686a-4bb5-b1c9-b6ecdef5635b",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.from.id }}",
        "additionalFields": {
          "appendAttribution": false,
          "reply_to_message_id": "={{ $('Telegram Trigger').item.json.message.message_id }}"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "AYGsey4Qm9PniPrS",
          "name": "MertSiteRaporBot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d8d291cb-88a3-4865-93f6-073ce4caf9da",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        288,
        784
      ],
      "webhookId": "0454c6b4-3347-420d-bc46-8e2621d0809c",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "AYGsey4Qm9PniPrS",
          "name": "MertSiteRaporBot"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9d02ed31-831b-46af-946f-afe32726653e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        64
      ],
      "parameters": {
        "width": 1456,
        "height": 608,
        "content": "## Entry via Form"
      },
      "typeVersion": 1
    },
    {
      "id": "cc4cfa18-a094-4581-a4a8-beeb2d632c06",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        704
      ],
      "parameters": {
        "width": 1456,
        "height": 560,
        "content": "## Entry via Telegram (the easiest way)"
      },
      "typeVersion": 1
    },
    {
      "id": "22699324-e148-4543-ad2e-23f780b0a1ab",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        80
      ],
      "parameters": {
        "color": 3,
        "width": 496,
        "height": 1184,
        "content": "🛠️ Landing-Page Roast & CRO Ideas Bot – Quick Guide\nWhat this workflow does\n\n    Takes any public landing-page URL.\n\n    Scrapes the page content.\n\n    Uses Gemini 2.5-pro to\n    • Roast the page (friendly but brutally honest)\n    • Give 10 high-impact, 2024-ready CRO ideas – all in Turkish, max 3 000 characters.\n\n    Sends the result back to you on Telegram.\n\nTwo ways to trigger it\n\n1. Web form\n• Open the form titled “Conversion Rate Optimizer.”\n• Paste your landing-page URL(with https or http in front of it).\n• Click Submit.\n\n2. Telegram (fastest)\n• Send the URL in a DM to @MertSiteRaporBot.\n• Forgot the “https://”? No worries—the bot adds it automatically.\nBehind the scenes\n\n• Code node normalises the URL.\n• HTTP Request scrapes the page HTML.\n• AI Agent (Gemini) produces the Roast + Recommendations.\n• Telegram node sends the formatted reply to you.\nUsage tips\n\n• One URL per request.\n• Page must be publicly accessible (no login).\n• Very long pages may be trimmed to fit model limits.\n• Output language is always Turkish."
      },
      "typeVersion": 1
    },
    {
      "id": "af2a3efe-e7a8-4035-8cdc-016504dde188",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        544,
        784
      ],
      "parameters": {
        "jsCode": "/**\n *  Gelen JSON’da URL olabilecek alanları buraya yaz.\n *  Telegram mesajı => \"text\"\n *  İstersen diğer adlar da kalsın.\n */\nconst urlFields = ['text', 'url', 'link', 'address'];\n\nitems.forEach(item => {\n  urlFields.forEach(field => {\n    const original = item.json[field];\n    if (typeof original !== 'string' || original.trim() === '') return;\n\n    // http:// veya https:// ile başlıyor mu?\n    const hasScheme = /^(https?:\\/\\/)/i.test(original);\n\n    // Yoksa başa https:// ekle\n    if (!hasScheme) {\n      item.json[field] = `https://${original}`;\n    }\n  });\n});\n\nreturn items;"
      },
      "typeVersion": 2
    },
    {
      "id": "62e885e8-37ac-4be3-a333-993bc324e100",
      "name": "Code1",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        240
      ],
      "parameters": {
        "jsCode": "/**\n *  Gelen JSON’da URL olabilecek alanları buraya yaz.\n *  Telegram mesajı => \"text\"\n *  İstersen diğer adlar da kalsın.\n */\nconst urlFields = ['text', 'url', 'link', 'address'];\n\nitems.forEach(item => {\n  urlFields.forEach(field => {\n    const original = item.json[field];\n    if (typeof original !== 'string' || original.trim() === '') return;\n\n    // http:// veya https:// ile başlıyor mu?\n    const hasScheme = /^(https?:\\/\\/)/i.test(original);\n\n    // Yoksa başa https:// ekle\n    if (!hasScheme) {\n      item.json[field] = `https://${original}`;\n    }\n  });\n});\n\nreturn items;\n"
      },
      "typeVersion": 2
    }
  ],
  "pinData": {},
  "connections": {
    "af2a3efe-e7a8-4035-8cdc-016504dde188": {
      "main": [
        [
          {
            "node": "c48fc36e-d65e-4e07-b662-bbf2fc38664f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62e885e8-37ac-4be3-a333-993bc324e100": {
      "main": [
        [
          {
            "node": "7affbd49-5ea8-4dad-900e-49b46b2b996a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3474686f-7b80-4540-8b98-4a706bb7114b": {
      "main": [
        [
          {
            "node": "a2248c3a-19da-4b50-ae94-7d436b56b7d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e93333b5-fd30-4558-8465-809457e1c0bf": {
      "main": [
        [
          {
            "node": "354c0e9f-e483-468d-b877-1b95b88b3fb1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7affbd49-5ea8-4dad-900e-49b46b2b996a": {
      "main": [
        [
          {
            "node": "3474686f-7b80-4540-8b98-4a706bb7114b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c48fc36e-d65e-4e07-b662-bbf2fc38664f": {
      "main": [
        [
          {
            "node": "e93333b5-fd30-4558-8465-809457e1c0bf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "870260b1-758f-4729-9e0e-fb41bb6503d7": {
      "main": [
        [
          {
            "node": "62e885e8-37ac-4be3-a333-993bc324e100",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d8d291cb-88a3-4865-93f6-073ce4caf9da": {
      "main": [
        [
          {
            "node": "af2a3efe-e7a8-4035-8cdc-016504dde188",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "626c2f1d-af30-4b71-9f65-f5f2c52b7e52": {
      "ai_languageModel": [
        [
          {
            "node": "3474686f-7b80-4540-8b98-4a706bb7114b",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e1b56c86-b958-4c55-9140-21a9f1b9b23c": {
      "ai_languageModel": [
        [
          {
            "node": "e93333b5-fd30-4558-8465-809457e1c0bf",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 市场调研, AI 摘要总结

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量15
分类2
节点类型8
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34