Create and post AI social captions from WordPress blogs to Facebook, Instagram, X, and LinkedIn with GPT-4o via OpenRouter

149dbcf2-e6ba-4197-90ec-4f18ad941780

Latency
7548ms
Cost
$0.0003
Tokens
1,032
Status
partial
gemini-2.5-flash-lite

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "60012318-0c2b-4bfa-ae56-f84f9b56cd53",
    "timestamp": 1780868094246
  },
  {
    "data": {
      "kind": "n8n-nodes-base.webhook"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1780868094246
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "60012318-0c2b-4bfa-ae56-f84f9b56cd53",
    "timestamp": 1780868094246
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "66af76e5-3bbb-4f00-afca-aaf471ea68cf",
    "timestamp": 1780868094247
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780868094247
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "66af76e5-3bbb-4f00-afca-aaf471ea68cf",
    "timestamp": 1780868094247
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8c6f0b78-541a-4072-a70e-1e98ee6b3823",
    "timestamp": 1780868094249
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/openai/gpt-4o",
    "nodeId": "llm",
    "timestamp": 1780868094249
  },
  {
    "data": {
      "model": "openai/gpt-4o",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868094249
  },
  {
    "data": {
      "error": "Google Gemini API error (500): {\n  \"error\": {\n    \"code\": 500,\n    \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n    \"status\": \"INTERNAL\"\n  }\n}\n",
      "status": "error",
      "degraded": true,
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8c6f0b78-541a-4072-a70e-1e98ee6b3823",
    "timestamp": 1780868098348
  },
  {
    "data": {
      "nodeType": "if"
    },
    "event": "node_start",
    "nodeId": "91670d70-7be8-43a8-a3ec-c7f865c5f2a1",
    "timestamp": 1780868098350
  },
  {
    "event": "true branch",
    "nodeId": "if",
    "timestamp": 1780868098350
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "if"
    },
    "event": "node_end",
    "nodeId": "91670d70-7be8-43a8-a3ec-c7f865c5f2a1",
    "timestamp": 1780868098350
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "9ba8a0de-54b8-4a9b-96ff-a40c8e97624a",
    "timestamp": 1780868098351
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780868098351
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "9ba8a0de-54b8-4a9b-96ff-a40c8e97624a",
    "timestamp": 1780868098351
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "c9deca50-1d77-48cb-90c2-8abea2baeba8",
    "timestamp": 1780868098353
  },
  {
    "data": {
      "inputKeys": [
        "body",
        "data",
        "post_title",
        "post_link",
        "post_content_slice",
        "output",
        "facebook_page_id",
        "post_thumbnail",
        "instagram_id",
        "id"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1780868098353
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "c9deca50-1d77-48cb-90c2-8abea2baeba8",
    "timestamp": 1780868098353
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "c99c8c5e-6172-4f4f-8090-180932fa07c0",
    "timestamp": 1780868098354
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1780868098355
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780868098355
  },
  {
    "data": {
      "model": "gemini-2.5-flash-lite",
      "costUsd": 0.00026010000000000003,
      "provider": "openai",
      "latencyMs": 2475,
      "promptTokens": 509,
      "completionTokens": 523
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780868100832
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "c99c8c5e-6172-4f4f-8090-180932fa07c0",
    "timestamp": 1780868100832
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "b1961efd-2123-44fe-b85c-55666c5a5446",
    "timestamp": 1780868100837
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "twitter",
      "latencyMs": 250,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780868101088
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "b1961efd-2123-44fe-b85c-55666c5a5446",
    "timestamp": 1780868101088
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "991f738a-894e-4dcd-890b-3b808de9659d",
    "timestamp": 1780868101094
  },
  {
    "event": "fetching POST https://graph.facebook.com/v25.0/100001234567890/photos",
    "nodeId": "http",
    "timestamp": 1780868101094
  },
  {
    "data": {
      "url": "https://graph.facebook.com/v25.0/100001234567890/photos",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868101094
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "991f738a-894e-4dcd-890b-3b808de9659d",
    "timestamp": 1780868101288
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "c5855820-3179-46b8-95e7-c188b12ddfba",
    "timestamp": 1780868101294
  },
  {
    "event": "fetching POST https://graph.facebook.com/v25.0/your_instagram_business_account_id/media",
    "nodeId": "http",
    "timestamp": 1780868101294
  },
  {
    "data": {
      "url": "https://graph.facebook.com/v25.0/your_instagram_business_account_id/media",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868101294
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "c5855820-3179-46b8-95e7-c188b12ddfba",
    "timestamp": 1780868101377
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "bb161802-79a5-4459-9ca5-fcc0b3b06c6b",
    "timestamp": 1780868101382
  },
  {
    "event": "fetching GET https://example.com/wp-content/uploads/2023/10/ai-blog-thumbnail.jpg",
    "nodeId": "http",
    "timestamp": 1780868101382
  },
  {
    "data": {
      "url": "https://example.com/wp-content/uploads/2023/10/ai-blog-thumbnail.jpg",
      "method": "GET"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868101382
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "bb161802-79a5-4459-9ca5-fcc0b3b06c6b",
    "timestamp": 1780868101466
  },
  {
    "data": {
      "nodeType": "http"
    },
    "event": "node_start",
    "nodeId": "92ead471-dfcc-45c7-8b77-b2c8032f98a3",
    "timestamp": 1780868101472
  },
  {
    "event": "fetching POST https://graph.facebook.com/v25.0/your_instagram_business_account_id/media_publish",
    "nodeId": "http",
    "timestamp": 1780868101472
  },
  {
    "data": {
      "url": "https://graph.facebook.com/v25.0/your_instagram_business_account_id/media_publish",
      "method": "POST"
    },
    "event": "http_fetch",
    "nodeId": "_context",
    "timestamp": 1780868101472
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "http"
    },
    "event": "node_end",
    "nodeId": "92ead471-dfcc-45c7-8b77-b2c8032f98a3",
    "timestamp": 1780868101538
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "c2f0c3db-a8b0-459e-921c-fdcb63dcdc63",
    "timestamp": 1780868101543
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "linkedin",
      "latencyMs": 250,
      "operation": "read",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1780868101794
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "c2f0c3db-a8b0-459e-921c-fdcb63dcdc63",
    "timestamp": 1780868101794
  }
]