{
  "openruna_format": "flow-graph-v1",
  "title": "Auto WordPress Blog Generator (GPT + Postgres + WP Media)",
  "slug": "auto-wordpress-blog-generator-gpt-postgres-wp-media",
  "source_filename": "0263_Postgres_Code_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Download Image",
      "name": "Download Image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Prepare Post JSON",
      "name": "Prepare Post JSON",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "OpenAI Chat Model1",
      "name": "OpenAI Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Load Categories",
      "name": "Load Categories",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Category Filter",
      "name": "Category Filter",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Selecting recent",
      "name": "Selecting recent",
      "integration": "postgres",
      "kind": "action"
    },
    {
      "id": "Picks Less Used",
      "name": "Picks Less Used",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "10 latest headlines",
      "name": "10 latest headlines",
      "integration": "postgres",
      "kind": "action"
    },
    {
      "id": "New article title",
      "name": "New article title",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "AI Agent SEO Headings",
      "name": "AI Agent SEO Headings",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "AI Agent SEO writer",
      "name": "AI Agent SEO writer",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Merge heading",
      "name": "Merge heading",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Combines full post meta",
      "name": "Combines full post meta",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Updating posts DB",
      "name": "Updating posts DB",
      "integration": "postgres",
      "kind": "action"
    },
    {
      "id": "Extracting output",
      "name": "Extracting output",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Placeholder creator",
      "name": "Placeholder creator",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Media Upload to WP",
      "name": "Media Upload to WP",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Post to WP",
      "name": "Post to WP",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "No Operation, do nothing",
      "name": "No Operation, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Config",
      "name": "Config",
      "integration": "set",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Prepare Post JSON"
    },
    {
      "from": "Config",
      "to": "Load Categories"
    },
    {
      "from": "Post to WP",
      "to": "No Operation, do nothing"
    },
    {
      "from": "Merge heading",
      "to": "Combines full post meta"
    },
    {
      "from": "Download Image",
      "to": "Media Upload to WP"
    },
    {
      "from": "Category Filter",
      "to": "Selecting recent"
    },
    {
      "from": "Load Categories",
      "to": "Category Filter"
    },
    {
      "from": "Picks Less Used",
      "to": "10 latest headlines"
    },
    {
      "from": "Picks Less Used",
      "to": "Merge heading"
    },
    {
      "from": "Schedule Trigger",
      "to": "Config"
    },
    {
      "from": "Selecting recent",
      "to": "Picks Less Used"
    },
    {
      "from": "Extracting output",
      "to": "Merge"
    },
    {
      "from": "New article title",
      "to": "Merge heading"
    },
    {
      "from": "Prepare Post JSON",
      "to": "Post to WP"
    },
    {
      "from": "Updating posts DB",
      "to": "AI Agent SEO writer"
    },
    {
      "from": "Updating posts DB",
      "to": "Merge"
    },
    {
      "from": "Media Upload to WP",
      "to": "Merge"
    },
    {
      "from": "10 latest headlines",
      "to": "AI Agent SEO Headings"
    },
    {
      "from": "AI Agent SEO writer",
      "to": "Placeholder creator"
    },
    {
      "from": "AI Agent SEO writer",
      "to": "Extracting output"
    },
    {
      "from": "Placeholder creator",
      "to": "Download Image"
    },
    {
      "from": "AI Agent SEO Headings",
      "to": "New article title"
    },
    {
      "from": "Combines full post meta",
      "to": "Updating posts DB"
    }
  ]
}