{
  "name": "Generate content ideas with AI: Scrape Google & Facebook posts to Slack",
  "nodes": [
    {
      "id": "05bbe7a5-800b-4ae7-b698-1369614ddd0d",
      "name": "Weekly Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -272,
        320
      ]
    },
    {
      "id": "b727b9d8-f2d5-4f24-97dc-fba8133079c0",
      "name": "Function: Create Slack Message",
      "type": "n8n-nodes-base.code",
      "position": [
        1648,
        320
      ]
    },
    {
      "id": "0f9bea5d-e3a8-4b44-ae13-799bc1b05af2",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -48,
        320
      ]
    },
    {
      "id": "6337c790-9809-4480-9277-dae578cc67b7",
      "name": "Merge Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        624,
        320
      ]
    },
    {
      "id": "d05be230-4199-4b0b-b071-61d2a97981c2",
      "name": "Function: Parse LLM Response",
      "type": "n8n-nodes-base.code",
      "position": [
        1424,
        320
      ]
    },
    {
      "id": "b6618e44-58ac-4dd8-bf63-447e840b139c",
      "name": "Apify Facebook Scraper",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        176,
        416
      ]
    },
    {
      "id": "c5b4a93d-ad0b-487f-a15d-cb9ab8eb3218",
      "name": "Apify Google News Scraper",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        176,
        224
      ]
    },
    {
      "id": "f073f978-4a09-44e9-b006-99d34eeb6039",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1072,
        320
      ]
    },
    {
      "id": "1d2336ee-7d6d-48b5-bbbf-2385ecc69449",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1152,
        544
      ]
    },
    {
      "id": "76e6788c-2266-48ee-b82d-2e2e668bb296",
      "name": "Function: Limit to 5 Items",
      "type": "n8n-nodes-base.code",
      "position": [
        848,
        320
      ]
    },
    {
      "id": "8e673121-0397-45e4-bae7-17ccc1e78806",
      "name": "Function: Extract Google Data",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        224
      ]
    },
    {
      "id": "ddb1d4da-a2dc-4b9c-9419-631704a97848",
      "name": "Function: Extract Facebook Data",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        416
      ]
    },
    {
      "id": "836ca5e7-2edf-436c-bacf-1010bc59a919",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -688,
        192
      ],
      "parameters": {
        "width": 352,
        "height": 558,
        "content": "![Banner Image](https://example.com/replace-with-your-image.png)\n\n## Description \nThis workflow automates the process of finding new content ideas by scraping trending news and social media posts, ana"
      }
    },
    {
      "id": "85427af8-623b-46d7-9e70-f0427c18c8d6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -16
      ],
      "parameters": {
        "width": 2128,
        "height": 704,
        "content": "## How to set up\n**Configure Credentials:**\nOpen the **Workflow Configuration** node and paste your Apify API Token and OpenRouter API Key.\nConnect your Slack account in the **Slack Post Content Ideas"
      }
    },
    {
      "id": "9237b661-be7d-48ac-bbf9-a07888fa47ef",
      "name": "Slack Post Content Ideas",
      "type": "n8n-nodes-base.slack",
      "position": [
        1872,
        320
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Function: Parse LLM Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Data": {
      "main": [
        [
          {
            "node": "Function: Limit to 5 Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Apify Facebook Scraper": {
      "main": [
        [
          {
            "node": "Function: Extract Facebook Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Apify Facebook Scraper",
            "type": "main",
            "index": 0
          },
          {
            "node": "Apify Google News Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify Google News Scraper": {
      "main": [
        [
          {
            "node": "Function: Extract Google Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Limit to 5 Items": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Parse LLM Response": {
      "main": [
        [
          {
            "node": "Function: Create Slack Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Extract Google Data": {
      "main": [
        [
          {
            "node": "Merge Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Create Slack Message": {
      "main": [
        [
          {
            "node": "Slack Post Content Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Extract Facebook Data": {
      "main": [
        [
          {
            "node": "Merge Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}