OpenAI Assistant Integration for HubSpot Chat

89990ced-b5ef-4969-b28f-dd6b9b738fba

Latency
7443ms
Cost
$0.0002
Tokens
385
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1780866197881
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780866197881
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1780866197881
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1780866197883
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780866197883
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1780866197883
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1780866197884
  },
  {
    "event": "fetching GET https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
    "nodeId": "http",
    "timestamp": 1780866197884
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866197884
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1780866198050
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1780866198052
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780866198052
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1780866198052
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1780866198054
  },
  {
    "data": {
      "service": "airtable",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780866198054
  },
  {
    "data": {
      "url": "https://api.airtable.com/v0/appP6tjLJixASJypH/Table%201?maxRecords=5",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866198054
  },
  {
    "data": {
      "status": 200
    },
    "event": "airtable.list",
    "nodeId": "integration",
    "timestamp": 1780866200218
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "airtable",
      "latencyMs": 2164,
      "operation": "search"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780866200218
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1780866200218
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1780866200224
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780866200224
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1780866200224
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1780866200225
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads",
    "nodeId": "http",
    "timestamp": 1780866200225
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866200225
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1780866200536
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1780866200538
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780866200538
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780866200538
  },
  {
    "data": {
      "model": "gemini-2.5-flash-lite",
      "costUsd": 0.00015340000000000002,
      "provider": "openai",
      "latencyMs": 1499,
      "promptTokens": 2,
      "completionTokens": 383
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780866202038
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1780866202038
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1780866202040
  },
  {
    "data": {
      "service": "airtable",
      "resolved": true
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1780866202040
  },
  {
    "data": {
      "url": "https://api.airtable.com/v0/appP6tjLJixASJypH/Table%201",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202040
  },
  {
    "data": {
      "mode": "write",
      "error": "airtable.create failed: HTTP 422",
      "status": "error",
      "service": "airtable",
      "operation": "create"
    },
    "event": "integration_call",
    "nodeId": "integration",
    "timestamp": 1780866202287
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1780866202287
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1780866202289
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1780866202289
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202289
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1780866202357
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1780866202361
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1780866202361
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202361
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1780866202425
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1780866202430
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//runs/",
    "nodeId": "http",
    "timestamp": 1780866202430
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202430
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1780866202723
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1780866202725
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//messages",
    "nodeId": "http",
    "timestamp": 1780866202725
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//messages",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202725
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1780866202793
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1780866202795
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/search-v1.asp",
    "nodeId": "http",
    "timestamp": 1780866202795
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/search-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866202795
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1780866204636
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1780866204640
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780866204640
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1780866204640
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1780866204641
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866204641
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1780866204641
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1780866204643
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866204643
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1780866204643
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1780866204645
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1780866204645
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866204645
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1780866204715
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1780866204716
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1780866204716
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1780866204716
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1780866204716
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1780866204718
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1780866204719
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866204719
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1780866204719
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1780866204721
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/info-v1.asp",
    "nodeId": "http",
    "timestamp": 1780866204721
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/info-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866204721
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1780866205097
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1780866205097
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1780866205101
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1780866205105
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1780866205105
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866205105
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1780866205169
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1780866205173
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780866205173
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1780866205173
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1780866205176
  },
  {
    "event": "fetching POST https://api.hubapi.com/conversations/v3/conversations/threads//messages",
    "nodeId": "http",
    "timestamp": 1780866205176
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780866205176
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1780866205324
  }
]