OpenAI Assistant Integration for HubSpot Chat

557da748-1b8b-480a-84a7-51edd4d56f39

Latency
9258ms
Cost
$0.0010
Tokens
418
Status
partial
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1780859750218
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780859750218
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1780859750218
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1780859750221
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780859750221
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1780859750221
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1780859750224
  },
  {
    "event": "fetching GET https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
    "nodeId": "http",
    "timestamp": 1780859750224
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859750224
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1780859750397
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1780859750403
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780859750403
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1780859750403
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1780859750406
  },
  {
    "data": {
      "service": "airtable",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780859750406
  },
  {
    "data": {
      "url": "https://api.airtable.com/v0/appP6tjLJixASJypH/Table%201?maxRecords=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859750407
  },
  {
    "data": {
      "status": 200
    },
    "event": "airtable.list",
    "nodeId": "integration",
    "timestamp": 1780859752661
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "airtable",
      "latencyMs": 2254,
      "operation": "search"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780859752661
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1780859752661
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1780859752666
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780859752666
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1780859752666
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1780859752670
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads",
    "nodeId": "http",
    "timestamp": 1780859752670
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859752670
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1780859752965
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1780859752970
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780859752970
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780859752970
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0010405999999999998,
      "provider": "openai",
      "latencyMs": 3052,
      "promptTokens": 2,
      "completionTokens": 416
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780859756023
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1780859756023
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1780859756026
  },
  {
    "data": {
      "service": "airtable",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780859756026
  },
  {
    "data": {
      "url": "https://api.airtable.com/v0/appP6tjLJixASJypH/Table%201",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756026
  },
  {
    "data": {
      "mode": "write",
      "error": "airtable.create failed: HTTP 422",
      "status": "error",
      "service": "airtable",
      "operation": "create"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780859756284
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1780859756284
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1780859756286
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1780859756286
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756286
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1780859756354
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1780859756357
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1780859756357
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756357
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1780859756497
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1780859756503
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//runs/",
    "nodeId": "http",
    "timestamp": 1780859756503
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756503
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1780859756804
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1780859756809
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//messages",
    "nodeId": "http",
    "timestamp": 1780859756809
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//messages",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756809
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1780859756897
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1780859756901
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/search-v1.asp",
    "nodeId": "http",
    "timestamp": 1780859756901
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/search-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859756901
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1780859758739
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1780859758744
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780859758744
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1780859758744
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1780859758748
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859758748
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1780859758748
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1780859758751
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859758751
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1780859758751
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1780859758755
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1780859758755
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859758755
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1780859758841
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1780859758844
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780859758844
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1780859758844
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1780859758844
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1780859758847
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1780859758850
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859758850
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1780859758850
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1780859758852
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/info-v1.asp",
    "nodeId": "http",
    "timestamp": 1780859758852
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/info-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859758852
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1780859759234
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1780859759234
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1780859759239
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1780859759242
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1780859759242
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859759242
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1780859759306
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1780859759310
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780859759310
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1780859759310
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1780859759313
  },
  {
    "event": "fetching POST https://api.hubapi.com/conversations/v3/conversations/threads//messages",
    "nodeId": "http",
    "timestamp": 1780859759313
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780859759313
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1780859759476
  }
]