AutomationFlowsWeb Scraping › Jarvis Approval Flow

Jarvis Approval Flow

50_550_JARVIS_APPROVAL_FLOW. Uses httpRequest. Webhook trigger; 5 nodes.

Webhook trigger★★★★☆ complexity5 nodesHTTP Request
Web Scraping Trigger: Webhook Nodes: 5 Complexity: ★★★★☆ Added:

This workflow corresponds to n8n.io template #50_550_JARVIS_APPROVAL_FLOW — we link there as the canonical source.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "50_550_JARVIS_APPROVAL_FLOW",
  "nodes": [
    {
      "id": "550-webhook-intent",
      "name": "Webhook: Jarvis Intent",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "jarvis-intent",
        "responseMode": "lastNode",
        "options": {}
      }
    },
    {
      "id": "550-plan",
      "name": "Nexus Core: Plan erstellen",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        460,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.automation-plus-ki.de/api/jarvis/plan",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "intent",
              "value": "={{ $json.body.intent || $json.intent }}"
            },
            {
              "name": "source",
              "value": "={{ $json.body.source || 'telegram' }}"
            },
            {
              "name": "tg_chat_id",
              "value": "={{ $json.body.tg_chat_id || '' }}"
            }
          ]
        },
        "options": {
          "timeout": 30000
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "550-format-message",
      "name": "Nachricht formatieren",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        680,
        300
      ],
      "parameters": {
        "jsCode": "const taskId = $json.task_id;\nconst action = $json.proposed_action || {};\nconst intent = $input.first().json.intent || action.description || '?';\nconst mcpServer = $json.mcp_server || action.mcp_server || '?';\nconst description = action.description || 'Keine Beschreibung';\nconst tool = action.tool || '?';\n\nconst baseUrl = 'https://n8n.automation-plus-ki.de/webhook/jarvis-callback';\nconst approveUrl = `${baseUrl}?task_id=${taskId}&action=approve`;\nconst rejectUrl  = `${baseUrl}?task_id=${taskId}&action=reject`;\n\nconst text = [\n  '\ud83e\udd16 *Jarvis Aktionsplan*',\n  '',\n  `*Intent:* ${intent}`,\n  `*Server:* \\`${mcpServer}\\``,\n  `*Tool:* \\`${tool}\\``,\n  `*Beschreibung:* ${description}`,\n  `*Task-ID:* ${taskId}`,\n].join('\\n');\n\nconst replyMarkup = JSON.stringify({\n  inline_keyboard: [[\n    { text: '\u2705 Ausf\u00fchren', url: approveUrl },\n    { text: '\u274c Ablehnen',  url: rejectUrl }\n  ]]\n});\n\nreturn [{\n  json: {\n    task_id: taskId,\n    tg_chat_id: $('Webhook: Jarvis Intent').item.json.body?.tg_chat_id || '',\n    text,\n    reply_markup: replyMarkup,\n  }\n}];"
      }
    },
    {
      "id": "550-telegram-send",
      "name": "Telegram: Approval-Nachricht senden",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        900,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "=https://api.telegram.org/bot{{ $env.TELEGRAM_BOT_TOKEN }}/sendMessage",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "chat_id",
              "value": "={{ $json.tg_chat_id }}"
            },
            {
              "name": "text",
              "value": "={{ $json.text }}"
            },
            {
              "name": "parse_mode",
              "value": "Markdown"
            },
            {
              "name": "reply_markup",
              "value": "={{ $json.reply_markup }}"
            }
          ]
        },
        "options": {}
      }
    },
    {
      "id": "550-respond",
      "name": "Respond: OK",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1120,
        300
      ],
      "parameters": {
        "respondWith": "json",
        "responseBody": "={ \"status\": \"ok\", \"task_id\": {{ $('Nexus Core: Plan erstellen').item.json.task_id }} }"
      }
    }
  ],
  "connections": {
    "Webhook: Jarvis Intent": {
      "main": [
        [
          {
            "node": "Nexus Core: Plan erstellen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Nexus Core: Plan erstellen": {
      "main": [
        [
          {
            "node": "Nachricht formatieren",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Nachricht formatieren": {
      "main": [
        [
          {
            "node": "Telegram: Approval-Nachricht senden",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram: Approval-Nachricht senden": {
      "main": [
        [
          {
            "node": "Respond: OK",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "saveDataSuccessExecution": "all",
    "saveDataErrorExecution": "all",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": ""
  },
  "tags": [
    {
      "name": "HUMAN"
    },
    {
      "name": "jarvis"
    }
  ],
  "meta": {
    "templateId": "50_550_JARVIS_APPROVAL_FLOW",
    "description": "Jarvis HITL \u2014 Intent \u2192 LLM Plan \u2192 Telegram Approval Request"
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

50_550_JARVIS_APPROVAL_FLOW. Uses httpRequest. Webhook trigger; 5 nodes.

Source: https://github.com/timo-goetz-ai/apki-core-platform/blob/main/automations/n8n-workflows/telegram/50_550_JARVIS_APPROVAL_FLOW.json — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

This n8n template provides enterprise-level version control for your workflows using GitHub integration. Stop losing hours to broken workflows and manual exports – get proper commit history, visual di

n8n, Execute Workflow Trigger, HTTP Request +1
Web Scraping

This flow creates dummy files for every item added in your *Arrs (Radarr/Sonarr) with the tag .

HTTP Request, Ssh
Web Scraping

eek-Go v2 (Batch-Then-Review). Uses httpRequest. Webhook trigger; 75 nodes.

HTTP Request
Web Scraping

This workflow receives webhook requests from a content calendar and uses the X API v2 to publish text posts, threads, image/video posts, and polls, as well as delete existing posts and run a credentia

HTTP Request
Web Scraping

This workflow acts as a central API gateway for all technical indicator agents in the Binance Spot Market Quant AI system. It listens for incoming webhook requests and dynamically routes them to the c

HTTP Request