OpenAI Assistant Integration for HubSpot Chat

2390b02c-e73a-466f-bfac-778c9819177d

Latency
30700ms
Cost
$0.0000
Tokens
0
Status
partial
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1783365423378
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783365423378
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "b8f686cc-33d6-4e99-987c-d1f91864e81d",
    "timestamp": 1783365423378
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1783365423379
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365423379
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "7c37641f-b0a4-4031-b289-3d6aed5a5bd6",
    "timestamp": 1783365423379
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1783365423380
  },
  {
    "event": "fetching GET https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
    "nodeId": "http",
    "timestamp": 1783365423380
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365423380
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365423586
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "7f11a684-911b-4fbc-ba1b-a8e7bce8e914",
    "timestamp": 1783365423586
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1783365423587
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365423587
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "6facd7e9-5cbd-4eb7-ab22-84b4fbf35885",
    "timestamp": 1783365423588
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1783365423589
  },
  {
    "data": {
      "service": "airtable",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783365423589
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "airtable",
      "latencyMs": 250,
      "operation": "search",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365423841
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9410bce8-3a2d-4852-acbd-8baa7ee4964d",
    "timestamp": 1783365423841
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1783365423842
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1783365423842
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "06449687-7521-4151-89c5-050a2768af13",
    "timestamp": 1783365423842
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1783365423843
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads",
    "nodeId": "http",
    "timestamp": 1783365423843
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365423843
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365423995
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "687bcbb8-38c8-4d21-a46f-186e880d003c",
    "timestamp": 1783365423995
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1783365423997
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783365423997
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783365423997
  },
  {
    "data": {
      "error": "OpenAI API error (429): {\n    \"error\": {\n        \"message\": \"You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\",\n        \"type\": \"insufficient_quota\",\n        \"param\": null,\n        \"code\": \"insufficient_quota\"\n    }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "706fb261-724e-4c22-8def-24a320d213a2",
    "timestamp": 1783365449311
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1783365449312
  },
  {
    "data": {
      "mode": "write",
      "status": "ok",
      "service": "airtable",
      "safeMode": true,
      "latencyMs": 500,
      "operation": "create",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365449813
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "65c3015e-760f-41e8-9d18-05492cf908c8",
    "timestamp": 1783365449813
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1783365449814
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1783365449814
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365449814
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365449890
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "14cd4854-34fa-4a40-8bd2-cce2d9da9571",
    "timestamp": 1783365449890
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1783365449892
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs",
    "nodeId": "http",
    "timestamp": 1783365449892
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365449892
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365450001
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8b51d465-d298-4b7a-b939-026bd51469d3",
    "timestamp": 1783365450001
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1783365450002
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//runs/",
    "nodeId": "http",
    "timestamp": 1783365450002
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs/",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365450002
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-403",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365450735
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "3e645c55-a236-466f-9983-2a3e91c250db",
    "timestamp": 1783365450735
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1783365450737
  },
  {
    "event": "fetching GET https://api.openai.com/v1/threads//messages",
    "nodeId": "http",
    "timestamp": 1783365450737
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//messages",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365450737
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365450813
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a69a1d1e-b932-481e-8d36-8d121c63ad4b",
    "timestamp": 1783365450813
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1783365450815
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/search-v1.asp",
    "nodeId": "http",
    "timestamp": 1783365450815
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/search-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365450815
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "d9758207-56d4-4180-aac7-f0ebafab1064",
    "timestamp": 1783365452841
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1783365452842
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1783365452842
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "5c6f30fd-3ac2-401c-897a-54c7e998c97b",
    "timestamp": 1783365452842
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1783365452843
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365452843
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c1bc0adf-3552-43a3-b38f-bfc76e2683cd",
    "timestamp": 1783365452844
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1783365452844
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365452844
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2e0c4528-5b2b-4d3c-9b53-166ea0f2a28e",
    "timestamp": 1783365452844
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1783365452846
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1783365452846
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365452846
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-404",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365452928
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "f80a2cd8-6691-4186-909b-cfed95318014",
    "timestamp": 1783365452928
  },
  {
    "data": {
      "nodeType": "switch"
    },
    "event": "node_start",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1783365452930
  },
  {
    "event": "routed:  -> default",
    "nodeId": "switch",
    "timestamp": 1783365452930
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "switch"
    },
    "event": "node_end",
    "nodeId": "eb114cfd-1af2-4c8b-bfba-583453a1d7ca",
    "timestamp": 1783365452930
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1783365452930
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "4d1ad478-a9a4-4e9f-9b06-e2a9b7b2b55c",
    "timestamp": 1783365452931
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1783365452932
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365452932
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "39cab0c4-1d7d-41cb-a88d-00acc8e79a24",
    "timestamp": 1783365452932
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1783365452933
  },
  {
    "event": "fetching GET https://www.listafirme.ro/api/info-v1.asp",
    "nodeId": "http",
    "timestamp": 1783365452933
  },
  {
    "data": {
      "url": "https://www.listafirme.ro/api/info-v1.asp",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365452933
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "54205ed2-7c96-44b6-9637-20830300310a",
    "timestamp": 1783365453838
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1783365453838
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "862ab78d-0288-4c78-9e02-7ad4ff794a6d",
    "timestamp": 1783365453840
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1783365453841
  },
  {
    "event": "fetching POST https://api.openai.com/v1/threads//runs//submit_tool_outputs",
    "nodeId": "http",
    "timestamp": 1783365453841
  },
  {
    "data": {
      "url": "https://api.openai.com/v1/threads//runs//submit_tool_outputs",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365453841
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-404",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365453903
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "e9d1d277-107d-403c-9911-5faa4ae75671",
    "timestamp": 1783365453903
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1783365453905
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783365453905
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "28e7637b-9a3b-49ba-b4c7-efd3f6cf0522",
    "timestamp": 1783365453905
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1783365453906
  },
  {
    "event": "fetching POST https://api.hubapi.com/conversations/v3/conversations/threads//messages",
    "nodeId": "http",
    "timestamp": 1783365453906
  },
  {
    "data": {
      "url": "https://api.hubapi.com/conversations/v3/conversations/threads//messages",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783365453906
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-405",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783365454078
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2b954546-8bc6-4028-9826-37a64d2aed04",
    "timestamp": 1783365454078
  }
]