OpenAI Assistant Integration for HubSpot Chat

95ad1f0b-55bb-4b6a-bf28-f6ba423053f4

Latency
6103ms
Cost
$0.0011
Tokens
455
Status
success
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1783365455186
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783365455186
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1783365455186
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1783365455187
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365455187
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1783365455187
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1783365455188
  },
  {
    "event": "fetching GET https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
    "nodeId": "http",
    "timestamp": 1783365455188
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365455188
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365455275
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1783365455275
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1783365455276
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365455276
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1783365455276
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1783365455277
  },
  {
    "data": {
      "service": "airtable",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783365455277
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "airtable",
      "latencyMs": 250,
      "operation": "search",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365455529
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1783365455529
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1783365455530
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365455530
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1783365455530
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1783365455531
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads",
    "nodeId": "http",
    "timestamp": 1783365455531
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365455531
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365455610
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1783365455610
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1783365455612
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783365455612
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365455612
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0011331,
      "provider": "openai",
      "latencyMs": 2457,
      "promptTokens": 2,
      "completionTokens": 453
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783365458069
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1783365458069
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1783365458071
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "airtable",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "create",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365458573
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1783365458573
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1783365458574
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1783365458574
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365458574
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365458663
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1783365458663
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1783365458664
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1783365458664
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365458664
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365458733
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1783365458733
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1783365458735
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//runs/",
    "nodeId": "http",
    "timestamp": 1783365458735
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365458735
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-403",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365459088
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1783365459088
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1783365459089
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//messages",
    "nodeId": "http",
    "timestamp": 1783365459089
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//messages",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365459089
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365459150
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1783365459150
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1783365459152
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/search-v1.asp",
    "nodeId": "http",
    "timestamp": 1783365459152
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/search-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365459152
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1783365460270
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1783365460272
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1783365460272
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1783365460272
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1783365460273
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365460273
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1783365460273
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1783365460274
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365460274
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1783365460274
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1783365460275
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1783365460275
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365460275
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-404",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365460386
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1783365460386
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1783365460387
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1783365460387
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1783365460387
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1783365460387
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1783365460388
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1783365460389
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365460389
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1783365460389
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1783365460390
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/info-v1.asp",
    "nodeId": "http",
    "timestamp": 1783365460390
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/info-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365460390
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1783365461077
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1783365461077
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1783365461079
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1783365461080
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1783365461080
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365461080
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-404",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365461153
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1783365461153
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1783365461154
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365461154
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1783365461154
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1783365461155
  },
  {
    "event": "fetching POST https://api.hubapi.com/conversations/v3/conversations/threads//messages",
    "nodeId": "http",
    "timestamp": 1783365461155
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365461155
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-405",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365461289
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1783365461289
  }
]