Distribution automatisée de l'analyse des tendances Reddit avec GPT-4o et Slack/Gmail
Ceci est unAI, Marketingworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme Gmail, Slack, Reddit, Agent, ScheduleTrigger, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Automatisation de l'analyse des tendances Reddit avec GPT-4 et la diffusion Slack/Gmail
- •Compte Google et informations d'identification Gmail API
- •Token Bot Slack ou URL Webhook
- •Clé API OpenAI
Nœuds utilisés (11)
Catégorie
{
"meta": {
"instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
"name": "Récupérer les Posts Reddit",
"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": "Résumer les Posts avec IA",
"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": "Générer des Insights IA",
"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": "Envoyer le Résumé à Slack",
"type": "n8n-nodes-base.slack",
"position": [
3340,
3480
],
"webhookId": "e021423b-e10c-4044-96e4-46cfb82be060",
"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": "Envoyer le Résumé à Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
3340,
3720
],
"webhookId": "c118adb5-da2c-4108-ae40-a056e2d51f89",
"parameters": {
"sendTo": "uu941401@gmail.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": "Note Adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
2760
],
"parameters": {
"color": 3,
"width": 440,
"height": 1000,
"content": "## 🛫 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### 🔁 **Trigger Daily Reddit Scan**\n\nThis **Schedule Trigger** node initiates the workflow automatically at a predefined time—typically once per day. It ensures that your automation always works with the most recent content from Reddit without any manual input.\n\n### 📥 **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> 🔍 This section ensures you're always working with timely, relevant Reddit discussions—perfect 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": "Note Adhésive1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2660,
3120
],
"parameters": {
"color": 4,
"width": 440,
"height": 820,
"content": "## 🧠 Step 2: Post Summarization\n\nThis section turns raw Reddit content into concise insights using AI.\n\n### 🤖 **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 — making the content more actionable.\n\n### 🔗 **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> 📌 This step helps convert Reddit noise into clear, valuable summaries for decision-making or sharing."
},
"typeVersion": 1
},
{
"id": "bdd58493-78ed-4dbc-ad6f-3fa136168a4e",
"name": "Note Adhésive2",
"type": "n8n-nodes-base.stickyNote",
"position": [
3160,
2980
],
"parameters": {
"color": 6,
"width": 440,
"height": 920,
"content": "## 📤 Step 3: Send the Summary\n\nThis section distributes the AI-generated summary to communication channels.\n\n### 💬 **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### 📧 **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> 📌 This step ensures summaries are instantly shared with stakeholders via preferred communication tools."
},
"typeVersion": 1
},
{
"id": "4013e36b-6070-4120-a5cc-ae5824d3e1d9",
"name": "Note Adhésive9",
"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": "Note Adhésive3",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
3100
],
"parameters": {
"color": 4,
"width": 1289,
"height": 2378,
"content": "Based on your example, here’s a detailed breakdown for your **Reddit to AI Summary for Slack & Gmail** workflow, using the same structure and clarity:\n\n---\n\n# 🔎 Reddit Insight Broadcaster\n\nAutomatically fetch top Reddit posts, generate insights using OpenAI, and broadcast summaries to Slack and Gmail. Perfect for:\n✅ Market Monitoring — get daily pulse on trends and user sentiment\n✅ Content Curation — surface engaging discussions for teams\n\n---\n\n## ⚙️ What's Used\n\n**n8n Nodes:**\nSchedule Trigger → Reddit → AI Agent → OpenAI Chat Model → Slack → Gmail\n\n**External Tools:**\n\n* **Reddit** – Public API via n8n's Reddit node\n* **OpenAI GPT** – For intelligent summarization or sentiment tagging\n* **Slack** – Post to selected channel\n* **Gmail** – Send summaries via email\n\n---\n\n## 🔑 Setup – Credentials Needed\n\n* **Reddit Access** – Use n8n Reddit node (API key or OAuth2 if rate-limited access is needed)\n* **OpenAI API Key** – Add in the OpenAI Chat node\n* **Slack OAuth2** – Connect your workspace\n* **Gmail OAuth2** – Connect your Google account\n\n---\n\n## 🚀 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## 📥 Example Output (Slack/Gmail Message)\n\n```\n🔍 Top Reddit Discussion — 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 | 💬 Comments: 350 \n🔗 [Read Post](https://reddit.com/r/technology/example)\n```\n\n---\n\n## 💡 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## 🛠️ 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—perfect for keeping your team updated, generating newsletter content, or tracking niche trends.\n📡 One bot. One summary. Fully automated."
},
"typeVersion": 1
},
{
"id": "3b1c680a-0c74-4a83-bf3f-163e9b5114e6",
"name": "Déclencher le Scan Quotidien Reddit",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
2220,
3580
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 9
}
]
}
},
"typeVersion": 1.2
}
],
"pinData": {},
"connections": {
"e5b2e77c-54df-46e4-a130-b30eed7934ab": {
"main": [
[
{
"node": "696586e7-a66b-49a9-a3e7-d309bb441951",
"type": "main",
"index": 0
}
]
]
},
"c665d7bb-0c34-4d34-807c-4861c984277e": {
"ai_languageModel": [
[
{
"node": "696586e7-a66b-49a9-a3e7-d309bb441951",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"696586e7-a66b-49a9-a3e7-d309bb441951": {
"main": [
[
{
"node": "57ba5821-49e1-4ede-9bb0-a7097f94a286",
"type": "main",
"index": 0
},
{
"node": "b4a501fb-7f2d-4d72-ae38-c418e10b588e",
"type": "main",
"index": 0
}
]
]
},
"3b1c680a-0c74-4a83-bf3f-163e9b5114e6": {
"main": [
[
{
"node": "e5b2e77c-54df-46e4-a130-b30eed7934ab",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Intelligence Artificielle, Marketing
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host
Partager ce workflow