{
  "openruna_format": "flow-graph-v1",
  "title": "Write a WordPress post with AI (starting from a few keywords)",
  "slug": "write-a-wordpress-post-with-ai-starting-from-a-few-keywords",
  "source_filename": "1753_Splitout_Code_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Form",
      "name": "Form",
      "integration": "form",
      "kind": "trigger"
    },
    {
      "id": "Settings",
      "name": "Settings",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Check data consistency",
      "name": "Check data consistency",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Split out chapters",
      "name": "Split out chapters",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Merge chapters title and text",
      "name": "Merge chapters title and text",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Final article text",
      "name": "Final article text",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Post on Wordpress",
      "name": "Post on Wordpress",
      "integration": "wordpress",
      "kind": "action"
    },
    {
      "id": "Upload media",
      "name": "Upload media",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Set image ID for the post",
      "name": "Set image ID for the post",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Respond: Success",
      "name": "Respond: Success",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Respond: Error",
      "name": "Respond: Error",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Generate featured image",
      "name": "Generate featured image",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Wikipedia",
      "name": "Wikipedia",
      "integration": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "kind": "action"
    },
    {
      "id": "Create post title and structure",
      "name": "Create post title and structure",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    },
    {
      "id": "Create chapters text",
      "name": "Create chapters text",
      "integration": "@n8n/n8n-nodes-langchain.openAi",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Form",
      "to": "Settings"
    },
    {
      "from": "Settings",
      "to": "Create post title and structure"
    },
    {
      "from": "Upload media",
      "to": "Set image ID for the post"
    },
    {
      "from": "Post on Wordpress",
      "to": "Generate featured image"
    },
    {
      "from": "Final article text",
      "to": "Post on Wordpress"
    },
    {
      "from": "Split out chapters",
      "to": "Merge chapters title and text"
    },
    {
      "from": "Split out chapters",
      "to": "Create chapters text"
    },
    {
      "from": "Create chapters text",
      "to": "Merge chapters title and text"
    },
    {
      "from": "Check data consistency",
      "to": "Split out chapters"
    },
    {
      "from": "Check data consistency",
      "to": "Respond: Error"
    },
    {
      "from": "Generate featured image",
      "to": "Upload media"
    },
    {
      "from": "Set image ID for the post",
      "to": "Respond: Success"
    },
    {
      "from": "Merge chapters title and text",
      "to": "Final article text"
    },
    {
      "from": "Create post title and structure",
      "to": "Check data consistency"
    }
  ]
}