Trend-Based Instagram Content Creator with AI

a19ecb80-e818-4bcd-b9a3-c3f887036378

Latency
2695ms
Cost
$0.0002
Tokens
32
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "fb72beb1-1a6a-4148-9ee4-cdc564c4dc5c",
    "timestamp": 1783204404575
  },
  {
    "data": {
      "kind": "n8n-nodes-base.scheduleTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783204404575
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "fb72beb1-1a6a-4148-9ee4-cdc564c4dc5c",
    "timestamp": 1783204404575
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c8b933af-356e-49ae-92d3-42eaf4ee3e9f",
    "timestamp": 1783204404578
  },
  {
    "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": 1783204404578
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c8b933af-356e-49ae-92d3-42eaf4ee3e9f",
    "timestamp": 1783204404578
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "12971505-7061-4d32-8921-d2e731eae9db",
    "timestamp": 1783204404581
  },
  {
    "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": 1783204404581
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "12971505-7061-4d32-8921-d2e731eae9db",
    "timestamp": 1783204404581
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "470f3406-19d2-420c-8f33-7031237d882c",
    "timestamp": 1783204404583
  },
  {
    "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": 1783204404583
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "470f3406-19d2-420c-8f33-7031237d882c",
    "timestamp": 1783204404583
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "2bc617b8-835c-48ba-8de6-341a6c87b853",
    "timestamp": 1783204404585
  },
  {
    "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": 1783204404585
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "2bc617b8-835c-48ba-8de6-341a6c87b853",
    "timestamp": 1783204404585
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "8707c475-7e28-4d80-92b8-ba24033c4632",
    "timestamp": 1783204404588
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404588
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "8707c475-7e28-4d80-92b8-ba24033c4632",
    "timestamp": 1783204404588
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "a65690cd-4d30-4541-b80d-aae872326a77",
    "timestamp": 1783204404590
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 0,
      "operation": "fixture",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404590
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "a65690cd-4d30-4541-b80d-aae872326a77",
    "timestamp": 1783204404590
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "23bad41e-40ac-4488-8b2f-0d54d22a927a",
    "timestamp": 1783204404590
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'items')",
    "nodeId": "code",
    "timestamp": 1783204404592
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404592
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "23bad41e-40ac-4488-8b2f-0d54d22a927a",
    "timestamp": 1783204404592
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "02416fbb-4250-4278-af23-1f9189787123",
    "timestamp": 1783204404592
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'items')",
    "nodeId": "code",
    "timestamp": 1783204404595
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404595
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "02416fbb-4250-4278-af23-1f9189787123",
    "timestamp": 1783204404595
  },
  {
    "data": {
      "nodeType": "merge"
    },
    "event": "node_start",
    "nodeId": "1c1bfd8f-b086-4147-ba08-578877f2a315",
    "timestamp": 1783204404597
  },
  {
    "data": {
      "inputCount": 2
    },
    "event": "merged 2 inputs",
    "nodeId": "merge",
    "timestamp": 1783204404597
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "merge"
    },
    "event": "node_end",
    "nodeId": "1c1bfd8f-b086-4147-ba08-578877f2a315",
    "timestamp": 1783204404597
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "8c49be2b-6320-4eb0-8303-6448ced34636",
    "timestamp": 1783204404599
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204404599
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "8c49be2b-6320-4eb0-8303-6448ced34636",
    "timestamp": 1783204404599
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "f0cc0be5-6d35-4334-a124-139fa8676d07",
    "timestamp": 1783204404601
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204404601
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "f0cc0be5-6d35-4334-a124-139fa8676d07",
    "timestamp": 1783204404601
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c8d8d8cd-8501-4d1b-ac28-8cb3fa74d9d7",
    "timestamp": 1783204404603
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404603
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c8d8d8cd-8501-4d1b-ac28-8cb3fa74d9d7",
    "timestamp": 1783204404603
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ae91a5e0-4f70-4a1c-afa5-41f5449facab",
    "timestamp": 1783204404605
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404605
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ae91a5e0-4f70-4a1c-afa5-41f5449facab",
    "timestamp": 1783204404605
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b8b38440-14a7-43f6-ac49-6ca9502ff54d",
    "timestamp": 1783204404607
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404607
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b8b38440-14a7-43f6-ac49-6ca9502ff54d",
    "timestamp": 1783204404607
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "82e0e5d0-bf50-4b2e-8693-2612dffe53e2",
    "timestamp": 1783204404609
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204404609
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "82e0e5d0-bf50-4b2e-8693-2612dffe53e2",
    "timestamp": 1783204404609
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "6beb79ef-8205-4882-9bb0-6a2e1a33f1d4",
    "timestamp": 1783204404610
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "select",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404610
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "6beb79ef-8205-4882-9bb0-6a2e1a33f1d4",
    "timestamp": 1783204404610
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "5b0c05a8-3eb7-4ad8-88e8-ceef81fe7a61",
    "timestamp": 1783204404612
  },
  {
    "event": "false branch",
    "nodeId": "if",
    "timestamp": 1783204404612
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "5b0c05a8-3eb7-4ad8-88e8-ceef81fe7a61",
    "timestamp": 1783204404612
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "9b510f11-9a44-4d54-b162-3ffb55d66677",
    "timestamp": 1783204404614
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "telegram",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404614
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "9b510f11-9a44-4d54-b162-3ffb55d66677",
    "timestamp": 1783204404614
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "48bc61de-d416-4673-9e9b-8331ea841891",
    "timestamp": 1783204404617
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "postgres",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204404617
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "48bc61de-d416-4673-9e9b-8331ea841891",
    "timestamp": 1783204404617
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "15e7d69d-a10f-48a1-b240-046e9950d077",
    "timestamp": 1783204404619
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204404619
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204404619
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 760,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204405380
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "15e7d69d-a10f-48a1-b240-046e9950d077",
    "timestamp": 1783204405380
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "93e253b1-da7d-4193-b899-a38e6fd9f4e4",
    "timestamp": 1783204405386
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204405386
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204405386
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 608,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204405999
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "93e253b1-da7d-4193-b899-a38e6fd9f4e4",
    "timestamp": 1783204405999
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "2259f6df-dca9-4a7e-babb-e63375f7207f",
    "timestamp": 1783204406004
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "facebook",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204406004
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "2259f6df-dca9-4a7e-babb-e63375f7207f",
    "timestamp": 1783204406004
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "bcbb6058-1966-4bb5-915a-1e65b9131117",
    "timestamp": 1783204406008
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "facebook",
      "latencyMs": 0,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204406008
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "bcbb6058-1966-4bb5-915a-1e65b9131117",
    "timestamp": 1783204406008
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "518d87ff-7808-4c06-b137-4e97d8f2ca28",
    "timestamp": 1783204406011
  },
  {
    "data": {
      "service": "facebook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204406011
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "facebook",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204406262
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "518d87ff-7808-4c06-b137-4e97d8f2ca28",
    "timestamp": 1783204406262
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "a033d12b-524f-40e8-9208-5300bbc823d3",
    "timestamp": 1783204406268
  },
  {
    "data": {
      "service": "facebook",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783204406268
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "facebook",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204406520
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "a033d12b-524f-40e8-9208-5300bbc823d3",
    "timestamp": 1783204406520
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "2c73cc9c-d436-459b-9b3c-bd870810b9b4",
    "timestamp": 1783204406526
  },
  {
    "event": "fetching POST https://api.replicate.com/v1/models/black-forest-labs/flux-schnell/predictions",
    "nodeId": "http",
    "timestamp": 1783204406526
  },
  {
    "data": {
      "url": "https://api.replicate.com/v1/models/black-forest-labs/flux-schnell/predictions",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1783204406526
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "http",
      "latencyMs": 250,
      "operation": "http-401",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204407270
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "2c73cc9c-d436-459b-9b3c-bd870810b9b4",
    "timestamp": 1783204407270
  }
]