{
  "openruna_format": "flow-graph-v1",
  "title": "0363_HTTP_Executeworkflow_Automate_Webhook",
  "slug": "0363-http-executeworkflow-automate-webhook",
  "source_filename": "0363_HTTP_Executeworkflow_Automate_Webhook.json",
  "nodes": [
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "AI Agent",
      "name": "AI Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model1",
      "name": "OpenAI Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "When Executed by Another Workflow",
      "name": "When Executed by Another Workflow",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "QUERY_PARAMS",
      "name": "QUERY_PARAMS",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "CONFIG",
      "name": "CONFIG",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "HTTP Request",
      "name": "HTTP Request",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Is error?",
      "name": "Is error?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Stringify error message",
      "name": "Stringify error message",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Exctract HTML Body",
      "name": "Exctract HTML Body",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Remove extra tags",
      "name": "Remove extra tags",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Simplify?",
      "name": "Simplify?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Simplify output",
      "name": "Simplify output",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Convert to Markdown",
      "name": "Convert to Markdown",
      "integration": "markdown",
      "kind": "action"
    },
    {
      "id": "Send Page Content",
      "name": "Send Page Content",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "HTTP_Request_Tool",
      "name": "HTTP_Request_Tool",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "CONFIG",
      "to": "HTTP Request"
    },
    {
      "from": "Is error?",
      "to": "Stringify error message"
    },
    {
      "from": "Is error?",
      "to": "Exctract HTML Body"
    },
    {
      "from": "Simplify?",
      "to": "Simplify output"
    },
    {
      "from": "Simplify?",
      "to": "Convert to Markdown"
    },
    {
      "from": "HTTP Request",
      "to": "Is error?"
    },
    {
      "from": "QUERY_PARAMS",
      "to": "CONFIG"
    },
    {
      "from": "Simplify output",
      "to": "Convert to Markdown"
    },
    {
      "from": "Remove extra tags",
      "to": "Simplify?"
    },
    {
      "from": "Exctract HTML Body",
      "to": "Remove extra tags"
    },
    {
      "from": "Convert to Markdown",
      "to": "Send Page Content"
    },
    {
      "from": "When chat message received",
      "to": "AI Agent"
    },
    {
      "from": "When Executed by Another Workflow",
      "to": "QUERY_PARAMS"
    }
  ]
}