Trend-Based Instagram Content Creator with AI

b6e43b1c-1624-4526-8215-2572d85b62a4

Latency
7367ms
Cost
$0.0028
Tokens
1,113
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "fb72beb1-1a6a-4148-9ee4-cdc564c4dc5c",
    "timestamp": 1783204461094
  },
  {
    "data": {
      "kind": "n8n-nodes-base.scheduleTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783204461094
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "fb72beb1-1a6a-4148-9ee4-cdc564c4dc5c",
    "timestamp": 1783204461094
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c8b933af-356e-49ae-92d3-42eaf4ee3e9f",
    "timestamp": 1783204461097
  },
  {
    "data": {
      "inputKeys": [
        "status_code",
        "telegram_chat_id",
        "data",
        "x-rapid-api-key",
        "isEmpty",
        "tag",
        "prompt",
        "thumbnail_url",
        "content",
        "instagram_business_account_id",
        "output",
        "message",
        "id",
        "content_replace",
        "replicate_token"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204461097
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c8b933af-356e-49ae-92d3-42eaf4ee3e9f",
    "timestamp": 1783204461097
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "12971505-7061-4d32-8921-d2e731eae9db",
    "timestamp": 1783204461099
  },
  {
    "data": {
      "inputKeys": [
        "status_code",
        "telegram_chat_id",
        "data",
        "x-rapid-api-key",
        "isEmpty",
        "tag",
        "prompt",
        "thumbnail_url",
        "content",
        "instagram_business_account_id",
        "output",
        "message",
        "id",
        "content_replace",
        "replicate_token"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204461099
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "12971505-7061-4d32-8921-d2e731eae9db",
    "timestamp": 1783204461099
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "470f3406-19d2-420c-8f33-7031237d882c",
    "timestamp": 1783204461102
  },
  {
    "data": {
      "inputKeys": [
        "status_code",
        "telegram_chat_id",
        "data",
        "x-rapid-api-key",
        "isEmpty",
        "tag",
        "prompt",
        "thumbnail_url",
        "content",
        "instagram_business_account_id",
        "output",
        "message",
        "id",
        "content_replace",
        "replicate_token"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204461102
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "470f3406-19d2-420c-8f33-7031237d882c",
    "timestamp": 1783204461102
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2bc617b8-835c-48ba-8de6-341a6c87b853",
    "timestamp": 1783204461104
  },
  {
    "data": {
      "inputKeys": [
        "status_code",
        "telegram_chat_id",
        "data",
        "x-rapid-api-key",
        "isEmpty",
        "tag",
        "prompt",
        "thumbnail_url",
        "content",
        "instagram_business_account_id",
        "output",
        "message",
        "id",
        "content_replace",
        "replicate_token"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204461104
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2bc617b8-835c-48ba-8de6-341a6c87b853",
    "timestamp": 1783204461104
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8707c475-7e28-4d80-92b8-ba24033c4632",
    "timestamp": 1783204461107
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461107
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8707c475-7e28-4d80-92b8-ba24033c4632",
    "timestamp": 1783204461107
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a65690cd-4d30-4541-b80d-aae872326a77",
    "timestamp": 1783204461109
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461109
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a65690cd-4d30-4541-b80d-aae872326a77",
    "timestamp": 1783204461109
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "23bad41e-40ac-4488-8b2f-0d54d22a927a",
    "timestamp": 1783204461109
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'items')",
    "nodeId": "code",
    "timestamp": 1783204461111
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461111
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "23bad41e-40ac-4488-8b2f-0d54d22a927a",
    "timestamp": 1783204461111
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "02416fbb-4250-4278-af23-1f9189787123",
    "timestamp": 1783204461111
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'items')",
    "nodeId": "code",
    "timestamp": 1783204461114
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461114
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "02416fbb-4250-4278-af23-1f9189787123",
    "timestamp": 1783204461114
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "1c1bfd8f-b086-4147-ba08-578877f2a315",
    "timestamp": 1783204461116
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783204461116
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "1c1bfd8f-b086-4147-ba08-578877f2a315",
    "timestamp": 1783204461116
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "8c49be2b-6320-4eb0-8303-6448ced34636",
    "timestamp": 1783204461118
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204461118
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "8c49be2b-6320-4eb0-8303-6448ced34636",
    "timestamp": 1783204461118
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "f0cc0be5-6d35-4334-a124-139fa8676d07",
    "timestamp": 1783204461119
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204461119
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "f0cc0be5-6d35-4334-a124-139fa8676d07",
    "timestamp": 1783204461119
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c8d8d8cd-8501-4d1b-ac28-8cb3fa74d9d7",
    "timestamp": 1783204461121
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461121
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c8d8d8cd-8501-4d1b-ac28-8cb3fa74d9d7",
    "timestamp": 1783204461121
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ae91a5e0-4f70-4a1c-afa5-41f5449facab",
    "timestamp": 1783204461123
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461123
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ae91a5e0-4f70-4a1c-afa5-41f5449facab",
    "timestamp": 1783204461123
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b8b38440-14a7-43f6-ac49-6ca9502ff54d",
    "timestamp": 1783204461125
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461125
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b8b38440-14a7-43f6-ac49-6ca9502ff54d",
    "timestamp": 1783204461125
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "82e0e5d0-bf50-4b2e-8693-2612dffe53e2",
    "timestamp": 1783204461127
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204461127
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "82e0e5d0-bf50-4b2e-8693-2612dffe53e2",
    "timestamp": 1783204461127
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "6beb79ef-8205-4882-9bb0-6a2e1a33f1d4",
    "timestamp": 1783204461128
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "select",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461128
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "6beb79ef-8205-4882-9bb0-6a2e1a33f1d4",
    "timestamp": 1783204461128
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "5b0c05a8-3eb7-4ad8-88e8-ceef81fe7a61",
    "timestamp": 1783204461132
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204461132
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "5b0c05a8-3eb7-4ad8-88e8-ceef81fe7a61",
    "timestamp": 1783204461132
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9b510f11-9a44-4d54-b162-3ffb55d66677",
    "timestamp": 1783204461133
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461133
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9b510f11-9a44-4d54-b162-3ffb55d66677",
    "timestamp": 1783204461133
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "48bc61de-d416-4673-9e9b-8331ea841891",
    "timestamp": 1783204461135
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204461135
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "48bc61de-d416-4673-9e9b-8331ea841891",
    "timestamp": 1783204461135
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "15e7d69d-a10f-48a1-b240-046e9950d077",
    "timestamp": 1783204461137
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204461137
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204461137
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0015178,
      "provider": "openai",
      "latencyMs": 3249,
      "promptTokens": 1,
      "completionTokens": 607
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204464388
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "15e7d69d-a10f-48a1-b240-046e9950d077",
    "timestamp": 1783204464388
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "93e253b1-da7d-4193-b899-a38e6fd9f4e4",
    "timestamp": 1783204464393
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204464393
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204464393
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0012603,
      "provider": "openai",
      "latencyMs": 3266,
      "promptTokens": 1,
      "completionTokens": 504
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204467660
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "93e253b1-da7d-4193-b899-a38e6fd9f4e4",
    "timestamp": 1783204467660
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2259f6df-dca9-4a7e-babb-e63375f7207f",
    "timestamp": 1783204467663
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "facebook",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204467663
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2259f6df-dca9-4a7e-babb-e63375f7207f",
    "timestamp": 1783204467663
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "bcbb6058-1966-4bb5-915a-1e65b9131117",
    "timestamp": 1783204467667
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "facebook",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204467667
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "bcbb6058-1966-4bb5-915a-1e65b9131117",
    "timestamp": 1783204467667
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "518d87ff-7808-4c06-b137-4e97d8f2ca28",
    "timestamp": 1783204467669
  },
  {
    "data": {
      "service": "facebook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204467669
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "facebook",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204467922
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "518d87ff-7808-4c06-b137-4e97d8f2ca28",
    "timestamp": 1783204467922
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a033d12b-524f-40e8-9208-5300bbc823d3",
    "timestamp": 1783204467927
  },
  {
    "data": {
      "service": "facebook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204467927
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "facebook",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204468179
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a033d12b-524f-40e8-9208-5300bbc823d3",
    "timestamp": 1783204468179
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2c73cc9c-d436-459b-9b3c-bd870810b9b4",
    "timestamp": 1783204468185
  },
  {
    "event": "fetching POST https://api.replicate.com/v1/models/black-forest-labs/flux-schnell/predictions",
    "nodeId": "http",
    "timestamp": 1783204468185
  },
  {
    "data": {
      "url": "https://api.replicate.com/v1/models/black-forest-labs/flux-schnell/predictions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783204468185
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204468461
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2c73cc9c-d436-459b-9b3c-bd870810b9b4",
    "timestamp": 1783204468461
  }
]