{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
      "name": "Fetch Reddit Posts",
      "type": "n8n-nodes-base.reddit",
      "position": [
        2440,
        3580
      ],
      "parameters": {
        "limit": 5,
        "keyword": "why I stopped using it",
        "operation": "search",
        "subreddit": "Chatgpt",
        "additionalFields": {}
      },
      "typeVersion": 1
    },
    {
      "id": "696586e7-a66b-49a9-a3e7-d309bb441951",
      "name": "Summarize Posts with AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2780,
        3580
      ],
      "parameters": {
        "text": "=Analyze the following Reddit post. Classify its main topic in 3-5 words, and write a 1-sentence summary.\n\nTitle: {{ $json[\"title\"] }}  \nContent: {{ $json.selftext }}\n",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "c665d7bb-0c34-4d34-807c-4861c984277e",
      "name": "Generate AI Insights",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2740,
        3800
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "57ba5821-49e1-4ede-9bb0-a7097f94a286",
      "name": "Send Summary to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        3340,
        3480
      ],
      "parameters": {
        "text": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08TTV0CC3E",
          "cachedResultName": "all-nathing"
        },
        "otherOptions": {}
      },
      "typeVersion": 2.3
    },
    {
      "id": "b4a501fb-7f2d-4d72-ae38-c418e10b588e",
      "name": "Send Summary to Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3340,
        3720
      ],
      "parameters": {
        "sendTo": "user@example.com",
        "message": "=Topic:\n{{ $('Fetch Reddit Posts').item.json.subreddit }}\n\nSummary:\n{{ $json.output }}\n\nView on Reddit:\n{{ $('Fetch Reddit Posts').item.json.media_metadata.cnn80k7excte1.p[0].u }}",
        "options": {},
        "subject": "=New Reddit Post on  {{ $('Fetch Reddit Posts').item.json.subreddit }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "0eb7d480-bf92-4794-af7c-320b1bee5687",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        2760
      ],
      "parameters": {
        "color": 3,
        "width": 440,
        "height": 1000,
        "content": "## \ud83d\udeeb Step 1: Get the Post\n\nThis is the **entry point** of the Reddit Insight workflow, responsible for fetching fresh Reddit content on a regular basis.\n\n### \ud83d\udd01 **Trigger Daily Reddit Scan**\n\nThis **Schedule Trigger** node initiates the workflow automatically at a predefined time\u2014typically once per day. It ensures that your automation always works with the most recent content from Reddit without any manual input.\n\n### \ud83d\udce5 **Fetch Reddit Posts**\n\nThis **Reddit node** is configured to search specific subreddits using filters like:\n\n* **Subreddit** (e.g., `technology`, `ai`)\n* **Search term** (e.g., `GPT-5`, `startup launch`)\n* **Time range** (`day`, `week`, etc.)\n* **Sort by** (`top`, `hot`, `new`)\n* **Limit** (e.g., 5 posts)\n\nIt pulls the top relevant posts based on these criteria and passes them along for AI analysis in the next step.\n\n> \ud83d\udd0d This section ensures you're always working with timely, relevant Reddit discussions\u2014perfect for trend monitoring or content summarization.\n\n---\n\nLet me know if you want to break this into a reusable subworkflow or add dynamic inputs via a UI form.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "c9b3000d-17df-4b32-b4d6-ca381b1f2aa7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2660,
        3120
      ],
      "parameters": {
        "color": 4,
        "width": 440,
        "height": 820,
        "content": "## \ud83e\udde0 Step 2: Post Summarization\n\nThis section turns raw Reddit content into concise insights using AI.\n\n### \ud83e\udd16 **Summarize Posts with AI**\n\nThe **AI Agent** receives posts and uses a connected chat model to analyze and summarize each one. It can extract key points, tone, and trends \u2014 making the content more actionable.\n\n### \ud83d\udd17 **Generate AI Insights (OpenAI Chat Model)**\n\nThe summarization is powered by the **OpenAI Chat Model**, which processes each post using a tailored prompt.\n\n> \ud83d\udccc This step helps convert Reddit noise into clear, valuable summaries for decision-making or sharing."
      },
      "typeVersion": 1
    },
    {
      "id": "bdd58493-78ed-4dbc-ad6f-3fa136168a4e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3160,
        2980
      ],
      "parameters": {
        "color": 6,
        "width": 440,
        "height": 920,
        "content": "## \ud83d\udce4 Step 3: Send the Summary\n\nThis section distributes the AI-generated summary to communication channels.\n\n### \ud83d\udcac **Send Summary to Slack**\n\nThe summarized content is sent to a **Slack channel** via a message post. Ideal for quick team updates directly in your workflow.\n\n### \ud83d\udce7 **Send Summary to Gmail**\n\nSimultaneously, the same summary is sent to a **Gmail inbox**, ensuring recipients outside Slack still get the insights.\n\n> \ud83d\udccc This step ensures summaries are instantly shared with stakeholders via preferred communication tools."
      },
      "typeVersion": 1
    },
    {
      "id": "4013e36b-6070-4120-a5cc-ae5824d3e1d9",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        2760
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
      },
      "typeVersion": 1
    },
    {
      "id": "22cc5f85-cd65-4fb9-ab3d-70393e580d55",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        3100
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 2378,
        "content": "Based on your example, here\u2019s a detailed breakdown for your **Reddit to AI Summary for Slack & Gmail** workflow, using the same structure and clarity:\n\n---\n\n# \ud83d\udd0e Reddit Insight Broadcaster\n\nAutomatically fetch top Reddit posts, generate insights using OpenAI, and broadcast summaries to Slack and Gmail. Perfect for:\n\u2705 Market Monitoring \u2014 get daily pulse on trends and user sentiment\n\u2705 Content Curation \u2014 surface engaging discussions for teams\n\n---\n\n## \u2699\ufe0f What's Used\n\n**n8n Nodes:**\nSchedule Trigger \u2192 Reddit \u2192 AI Agent \u2192 OpenAI Chat Model \u2192 Slack \u2192 Gmail\n\n**External Tools:**\n\n* **Reddit** \u2013 Public API via n8n's Reddit node\n* **OpenAI GPT** \u2013 For intelligent summarization or sentiment tagging\n* **Slack** \u2013 Post to selected channel\n* **Gmail** \u2013 Send summaries via email\n\n---\n\n## \ud83d\udd11 Setup \u2013 Credentials Needed\n\n* **Reddit Access** \u2013 Use n8n Reddit node (API key or OAuth2 if rate-limited access is needed)\n* **OpenAI API Key** \u2013 Add in the OpenAI Chat node\n* **Slack OAuth2** \u2013 Connect your workspace\n* **Gmail OAuth2** \u2013 Connect your Google account\n\n---\n\n## \ud83d\ude80 Workflow Steps\n\n1. **Trigger Every Morning**\n   Scheduler runs daily at a set time.\n\n2. **Search Reddit Posts**\n   Uses subreddit and keyword filters.\n\n3. **Analyze Content with AI**\n   The AI Agent passes each post to OpenAI to:\n\n   * Summarize discussion\n   * Extract insights\n   * Optionally classify sentiment\n\n4. **Broadcast Insights**\n\n   * Post to a designated Slack channel\n   * Send via Gmail to stakeholders\n\n---\n\n## \ud83d\udce5 Example Output (Slack/Gmail Message)\n\n```\n\ud83d\udd0d Top Reddit Discussion \u2014 r/technology\n\n**Title:** OpenAI releases new GPT model  \n**Summary:** Users are discussing the implications of GPT-5's capabilities. General sentiment is excitement mixed with concern over ethical use.  \n**Upvotes:** 1,200 | \ud83d\udcac Comments: 350  \n\ud83d\udd17 [Read Post](https://reddit.com/r/technology/example)\n```\n\n---\n\n## \ud83d\udca1 Pro Tips\n\n* Change subreddit dynamically using variables or UI form\n* Use OpenAI to classify tone (positive/neutral/negative)\n* Add branching: e.g., only email posts with >500 upvotes\n* Extend to Notion or Google Sheets for archiving\n* Use emojis or markdown in Slack messages for better UX\n\n---\n\n## \ud83d\udee0\ufe0f Customize It\n\n* **Add filters:** Only include posts with >X upvotes\n* **Score content:** Prioritize based on engagement + AI relevance\n* **Route by topic:** Post AI topics to `#ai`, startup topics to `#founders`\n* **Trigger on-demand:** Add webhook or form to control when it runs\n\n---\n\nThis workflow is a lightweight yet powerful Reddit monitoring tool\u2014perfect for keeping your team updated, generating newsletter content, or tracking niche trends.\n\ud83d\udce1 One bot. One summary. Fully automated."
      },
      "typeVersion": 1
    },
    {
      "id": "3b1c680a-0c74-4a83-bf3f-163e9b5114e6",
      "name": "Trigger Daily Reddit Scan",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        2220,
        3580
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    }
  ],
  "connections": {
    "Fetch Reddit Posts": {
      "main": [
        [
          {
            "node": "Summarize Posts with AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate AI Insights": {
      "ai_languageModel": [
        [
          {
            "node": "Summarize Posts with AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Posts with AI": {
      "main": [
        [
          {
            "node": "Send Summary to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Summary to Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger Daily Reddit Scan": {
      "main": [
        [
          {
            "node": "Fetch Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}