{
  "name": "Automate trend research to blog content with GPT-4o, DALL-E & Apify to Notion",
  "nodes": [
    {
      "id": "060d1587-2460-4658-b2fa-429639e6da83",
      "name": "Weekly Monday 9AM Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        320,
        64
      ]
    },
    {
      "id": "93a5b983-221c-49eb-afc9-d5bf323cc225",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        544,
        64
      ]
    },
    {
      "id": "9a32f684-f69e-4e71-a6e1-8a540267aa30",
      "name": "AI Editorial Meeting - Generate 3 Article Ideas",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        992,
        64
      ]
    },
    {
      "id": "58c39f28-8e89-4fa2-b971-b42e4bea5438",
      "name": "Parse Article Ideas JSON",
      "type": "n8n-nodes-base.code",
      "position": [
        1344,
        64
      ]
    },
    {
      "id": "f940701e-d03e-4cc6-9898-615fe7ccaa41",
      "name": "AI Writer - Generate Article Content",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1568,
        64
      ]
    },
    {
      "id": "0cfedf3a-64c2-4a6a-ab56-ad01e0a05321",
      "name": "DALL-E Generate Cover Image",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1792,
        64
      ]
    },
    {
      "id": "febe370c-ec23-41c9-a156-9620d3567d9b",
      "name": "Save Article to Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        2016,
        64
      ]
    },
    {
      "id": "a98d8a71-b35b-4d9e-b2d9-ce039f55aa81",
      "name": "Aggregate All Articles",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2240,
        64
      ]
    },
    {
      "id": "2abfa925-0ef4-4937-a1ad-b5ad1e1127f1",
      "name": "Send Completion Notification to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2464,
        64
      ]
    },
    {
      "id": "e9a0f716-2ced-412b-9226-0e562eed6fee",
      "name": "Run an Actor and get dataset",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        768,
        64
      ]
    },
    {
      "id": "51134bd2-393a-47b4-b653-c797a90c16ac",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -144
      ],
      "parameters": {
        "width": 640,
        "height": 368,
        "content": "##  How it works\nThis workflow automates the process of creating trend-based blog posts.\n1. **Schedule & Config**: Triggers weekly and defines the search keyword.\n2. **Research**: Scrapes Google/Socia"
      }
    },
    {
      "id": "e1d1e49c-6ab2-44be-bb1a-ca400319d861",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -144
      ],
      "parameters": {
        "width": 400,
        "height": 368,
        "content": "## 1. Configuration\nSet the schedule and target keywords here."
      }
    },
    {
      "id": "8c44a4f7-2553-4ee4-9e4e-d4cbfb52f946",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -144
      ],
      "parameters": {
        "width": 768,
        "height": 368,
        "content": "## 2. Research & Analysis\nScrapes trend data via Apify and structures the article plan using AI."
      }
    },
    {
      "id": "948e68e7-8f68-4e1d-bb3d-75c7d336e6a7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1504,
        -144
      ],
      "parameters": {
        "width": 432,
        "height": 368,
        "content": "## 3. Content Creation\nWrites the article body and generates a cover image."
      }
    },
    {
      "id": "9fd4835a-b845-4084-8b63-e08fe5765617",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1968,
        -144
      ],
      "parameters": {
        "width": 624,
        "height": 368,
        "content": "## 4. Save & Notify\nSaves the draft to Notion and sends a report to Slack."
      }
    }
  ],
  "connections": {
    "Aggregate All Articles": {
      "main": [
        [
          {
            "node": "Send Completion Notification to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Article to Notion": {
      "main": [
        [
          {
            "node": "Aggregate All Articles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Run an Actor and get dataset",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Article Ideas JSON": {
      "main": [
        [
          {
            "node": "AI Writer - Generate Article Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Monday 9AM Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DALL-E Generate Cover Image": {
      "main": [
        [
          {
            "node": "Save Article to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run an Actor and get dataset": {
      "main": [
        [
          {
            "node": "AI Editorial Meeting - Generate 3 Article Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Writer - Generate Article Content": {
      "main": [
        [
          {
            "node": "DALL-E Generate Cover Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Editorial Meeting - Generate 3 Article Ideas": {
      "main": [
        [
          {
            "node": "Parse Article Ideas JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}