Bitrix24 Chatbot Event Handler and Manager

a04e81ab-826b-4963-92fb-435b1f792793

Latency
1685ms
Cost
$0.0000
Tokens
0
Status
success
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "ddd802bb-0da0-474d-b1e9-74f247e603e0",
    "timestamp": 1780866195133
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780866195133
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "ddd802bb-0da0-474d-b1e9-74f247e603e0",
    "timestamp": 1780866195133
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "5676a53e-6758-4ad5-ace6-e494fa10b6c3",
    "timestamp": 1780866195135
  },
  {
    "data": {
      "inputKeys": [
        "body",
        "CLIENT_ID",
        "application_token",
        "access_token",
        "domain",
        "webhookUrl",
        "DOMAIN",
        "AUTH",
        "handler_back_url",
        "DIALOG_ID",
        "MESSAGE"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780866195135
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "5676a53e-6758-4ad5-ace6-e494fa10b6c3",
    "timestamp": 1780866195135
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "b72c00cf-9f8c-4c2a-9093-b80d82bab85b",
    "timestamp": 1780866195136
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780866195136
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "b72c00cf-9f8c-4c2a-9093-b80d82bab85b",
    "timestamp": 1780866195136
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "f0feb392-873a-4643-b7ad-0e6d9f877e82",
    "timestamp": 1780866195138
  },
  {
    "event": "matched rule 0 -> ONIMBOTMESSAGEADD",
    "nodeId": "switch",
    "timestamp": 1780866195138
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "f0feb392-873a-4643-b7ad-0e6d9f877e82",
    "timestamp": 1780866195138
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "a19f3b0b-496f-4f3d-a9c2-044356070e32",
    "timestamp": 1780866195140
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866195140
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "a19f3b0b-496f-4f3d-a9c2-044356070e32",
    "timestamp": 1780866195140
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "56fcdc5f-d509-4c9f-a437-79c53add49f8",
    "timestamp": 1780866195140
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'toLowerCase')",
    "nodeId": "code",
    "timestamp": 1780866195142
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780866195142
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "56fcdc5f-d509-4c9f-a437-79c53add49f8",
    "timestamp": 1780866195142
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "a647ed67-c812-4416-8c85-55a681bc7f80",
    "timestamp": 1780866195142
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "a647ed67-c812-4416-8c85-55a681bc7f80",
    "timestamp": 1780866195144
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "4aac8853-d80e-4201-9f31-7838d18afe71",
    "timestamp": 1780866195144
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "4aac8853-d80e-4201-9f31-7838d18afe71",
    "timestamp": 1780866195145
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "9110f66d-1c35-44b4-bc73-18f821b50b71",
    "timestamp": 1780866195146
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866195146
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "9110f66d-1c35-44b4-bc73-18f821b50b71",
    "timestamp": 1780866195146
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8c1c7ebf-d5b3-472e-9d98-34cc65ba86ba",
    "timestamp": 1780866195148
  },
  {
    "event": "fetching POST https://mycompany.bitrix24.com/rest/imbot.message.add?auth=[object Object]",
    "nodeId": "http",
    "timestamp": 1780866195148
  },
  {
    "data": {
      "url": "https://mycompany.bitrix24.com/rest/imbot.message.add?auth=[object Object]",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866195148
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8c1c7ebf-d5b3-472e-9d98-34cc65ba86ba",
    "timestamp": 1780866196682
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "af0d2b44-53f7-4c4c-9428-d54ebcf41bff",
    "timestamp": 1780866196684
  },
  {
    "event": "fetching POST https:///rest/imbot.message.add",
    "nodeId": "http",
    "timestamp": 1780866196684
  },
  {
    "data": {
      "url": "https:///rest/imbot.message.add",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866196684
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780866196810
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "af0d2b44-53f7-4c4c-9428-d54ebcf41bff",
    "timestamp": 1780866196810
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "30922462-255b-4ba6-8167-88aec244fdb1",
    "timestamp": 1780866196812
  },
  {
    "event": "fetching POST https:///rest/imbot.register?auth=",
    "nodeId": "http",
    "timestamp": 1780866196812
  },
  {
    "data": {
      "url": "https:///rest/imbot.register?auth=",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866196812
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "fetch-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780866196816
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "30922462-255b-4ba6-8167-88aec244fdb1",
    "timestamp": 1780866196816
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "81a5fc23-47a4-4ef8-bfb4-31593aed12fd",
    "timestamp": 1780866196817
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866196817
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "81a5fc23-47a4-4ef8-bfb4-31593aed12fd",
    "timestamp": 1780866196818
  }
]