{
  "openruna_format": "flow-graph-v1",
  "title": "🔍🛠️Perplexity Researcher to HTML Web Page",
  "slug": "perplexity-researcher-to-html-web-page",
  "source_filename": "1496_Telegram_Webhook_Automation_Webhook.json",
  "nodes": [
    {
      "id": "gpt-4o-mini",
      "name": "gpt-4o-mini",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "gpt-4o-mini1",
      "name": "gpt-4o-mini1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Structured Output Parser1",
      "name": "Structured Output Parser1",
      "integration": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "kind": "action"
    },
    {
      "id": "gpt-4o-mini2",
      "name": "gpt-4o-mini2",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Respond to Webhook",
      "name": "Respond to Webhook",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Telegram",
      "name": "Telegram",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "gpt-4o-mini5",
      "name": "gpt-4o-mini5",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Basic LLM Chain",
      "name": "Basic LLM Chain",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Do Nothing1",
      "name": "Do Nothing1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "gpt-4o-mini3",
      "name": "gpt-4o-mini3",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "If2",
      "name": "If2",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Prompts",
      "name": "Prompts",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Execute Workflow Trigger",
      "name": "Execute Workflow Trigger",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Telegram2",
      "name": "Telegram2",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "If",
      "name": "If",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "No Operation, do nothing",
      "name": "No Operation, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Perplexity Topic Agent",
      "name": "Perplexity Topic Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Call Perplexity Researcher",
      "name": "Call Perplexity Researcher",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    },
    {
      "id": "Do Nothing",
      "name": "Do Nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Do Nothing2",
      "name": "Do Nothing2",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Do Nothing3",
      "name": "Do Nothing3",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Do Nothing4",
      "name": "Do Nothing4",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get Topic",
      "name": "Get Topic",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "If Topic Exists",
      "name": "If Topic Exists",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Improve Users Topic",
      "name": "Improve Users Topic",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "If Topic",
      "name": "If Topic",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Chat Id",
      "name": "Chat Id",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Article",
      "name": "Article",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Extract JSON",
      "name": "Extract JSON",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "If Article",
      "name": "If Article",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Create HTML Article",
      "name": "Create HTML Article",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "If HTML",
      "name": "If HTML",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Contents",
      "name": "Contents",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Chat Id1",
      "name": "Chat Id1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Success Response",
      "name": "Success Response",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Error Response",
      "name": "Error Response",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Perplexity",
      "name": "Perplexity",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "If",
      "to": "Prompts"
    },
    {
      "from": "If",
      "to": "No Operation, do nothing"
    },
    {
      "from": "If2",
      "to": "Extract JSON"
    },
    {
      "from": "If2",
      "to": "Do Nothing"
    },
    {
      "from": "Article",
      "to": "If Article"
    },
    {
      "from": "Chat Id",
      "to": "Telegram"
    },
    {
      "from": "If HTML",
      "to": "Contents"
    },
    {
      "from": "If HTML",
      "to": "Do Nothing3"
    },
    {
      "from": "Prompts",
      "to": "Perplexity"
    },
    {
      "from": "Webhook",
      "to": "Get Topic"
    },
    {
      "from": "Chat Id1",
      "to": "Telegram2"
    },
    {
      "from": "Contents",
      "to": "Basic LLM Chain"
    },
    {
      "from": "If Topic",
      "to": "Perplexity Topic Agent"
    },
    {
      "from": "If Topic",
      "to": "Do Nothing4"
    },
    {
      "from": "Get Topic",
      "to": "If Topic Exists"
    },
    {
      "from": "Telegram2",
      "to": "If"
    },
    {
      "from": "If Article",
      "to": "Create HTML Article"
    },
    {
      "from": "If Article",
      "to": "Do Nothing2"
    },
    {
      "from": "Perplexity",
      "to": "Success Response"
    },
    {
      "from": "Extract JSON",
      "to": "Article"
    },
    {
      "from": "Basic LLM Chain",
      "to": "Respond to Webhook"
    },
    {
      "from": "If Topic Exists",
      "to": "Improve Users Topic"
    },
    {
      "from": "If Topic Exists",
      "to": "Do Nothing1"
    },
    {
      "from": "Create HTML Article",
      "to": "If HTML"
    },
    {
      "from": "Improve Users Topic",
      "to": "If Topic"
    },
    {
      "from": "Perplexity Topic Agent",
      "to": "If2"
    },
    {
      "from": "Perplexity Topic Agent",
      "to": "Chat Id"
    },
    {
      "from": "Execute Workflow Trigger",
      "to": "Chat Id1"
    },
    {
      "from": "No Operation, do nothing",
      "to": "Error Response"
    }
  ]
}