{
  "name": "Automate content generator for WordPress with DeepSeek R1",
  "nodes": [
    {
      "id": "c4a6995f-7769-4b77-80ca-1e6bccef77c1",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -20,
        200
      ]
    },
    {
      "id": "c76b1458-5130-41e7-b2f2-1cfe22eab536",
      "name": "Get Ideas",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        200,
        200
      ]
    },
    {
      "id": "8d17a640-3e15-42e9-9481-e3291d395ccd",
      "name": "Set your prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        420,
        200
      ]
    },
    {
      "id": "4f0e9065-b331-49ed-acd9-77c7c43e89a5",
      "name": "Create post on Wordpress",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        0,
        500
      ]
    },
    {
      "id": "cb85d980-9d60-4c85-8574-b46e4cc14341",
      "name": "Upload image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        500
      ]
    },
    {
      "id": "bc71ed8a-fe35-487a-b4cd-6b8c1b256763",
      "name": "Set Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        640,
        500
      ]
    },
    {
      "id": "fbed2813-cc64-42a2-994f-3696e9d8d8fe",
      "name": "Update Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        880,
        500
      ]
    },
    {
      "id": "8db2b0cb-6d61-4e2d-bfac-e25a0385296d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -60,
        -360
      ],
      "parameters": {
        "width": 800,
        "height": 380,
        "content": "## Target\nThis workflow is designed to automatically generate seo-friendly content for wordpress through DeepSeek R1 by giving input ideas on how to structure the article. A cover image is also genera"
      }
    },
    {
      "id": "ab620659-558d-46f0-ab85-e061af99b743",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        100
      ],
      "parameters": {
        "width": null,
        "height": 260,
        "content": "Connect with your Google Sheet. This node select only rows for which no content has been generated yet in WordPress"
      }
    },
    {
      "id": "73b0e640-8ccf-4e29-a0cd-6340db907bbd",
      "name": "Generate article with DeepSeek",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        640,
        200
      ]
    },
    {
      "id": "6ef4e0d1-6123-4f47-94fb-c06c785ddd92",
      "name": "Generate title with DeepSeek",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        880,
        200
      ]
    },
    {
      "id": "2ecc8514-c04e-4f8b-9ab3-560f2cf910b0",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        100
      ],
      "parameters": {
        "width": 420,
        "height": 260,
        "content": "Add your DeepSeek API credential. If you want you can change the model with \"deepseek-chat\""
      }
    },
    {
      "id": "196f7799-a6ab-429b-afd3-bcbcbd65da3b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        420
      ],
      "parameters": {
        "width": 160,
        "height": 260,
        "content": "Add your WordPress API credential\n"
      }
    },
    {
      "id": "93c2d359-531a-4cc9-8a18-870c2d6ec62c",
      "name": "Generate Image with DALL-E",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        200,
        500
      ]
    },
    {
      "id": "eec14cd7-fb2b-4f7d-ad94-bcffc1249353",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        420
      ],
      "parameters": {
        "width": 160,
        "height": 260,
        "content": "Add your OpenAI API credential\n"
      }
    },
    {
      "id": "4f15679b-bc8f-45b8-b3c4-8b43d7f9bb6f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        420
      ],
      "parameters": {
        "width": 180,
        "height": 260,
        "content": "Upload the image on your WordPress via APIs\n"
      }
    },
    {
      "id": "abe32434-671a-4ac3-a788-fcf5fd0e9435",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        420
      ],
      "parameters": {
        "width": 180,
        "height": 260,
        "content": "Set the uploaded image with the newly created article\n"
      }
    }
  ],
  "connections": {
    "Get Ideas": {
      "main": [
        [
          {
            "node": "Set your prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Image": {
      "main": [
        [
          {
            "node": "Update Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload image": {
      "main": [
        [
          {
            "node": "Set Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set your prompt": {
      "main": [
        [
          {
            "node": "Generate article with DeepSeek",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create post on Wordpress": {
      "main": [
        [
          {
            "node": "Generate Image with DALL-E",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Image with DALL-E": {
      "main": [
        [
          {
            "node": "Upload image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate title with DeepSeek": {
      "main": [
        [
          {
            "node": "Create post on Wordpress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate article with DeepSeek": {
      "main": [
        [
          {
            "node": "Generate title with DeepSeek",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}