Daily news digest & weekly trends with AI filtering, Slack & Google Sheets
Who is this for
This template is perfect for:
- Market Researchers tracking industry trends.
- Tech Teams wanting to stay updated on specific technologies (e.g., "AI", "Cybersecurity").
- Content Creators looking for curated news topics.
- Busy Professionals who need a high-signal, low-noise news digest.
What it does
- Fetches News: Pulls daily articles via NewsAPI based on your chosen keyword (default: "technology").
- AI Filtering: Uses an AI Agent (via OpenRouter) to filter out low-quality or irrelevant clickbait.
- Daily Digest (Slack):
- Summarizes the top 3 articles in English.
- Translates the summaries to Japanese using DeepL (optional).
- Posts both versions to a Slack channel.
- Data Archiving (Sheets): Extracts structured data (Title, Author, Summary, URL) and saves it to Google Sheets.
- Weekly Trend Report: Every Monday, it reads the past week's data from Google Sheets and uses AI to generate a high-level trend report and strategic insights.
How to set up
- Configure Credentials: You will need API keys/auth for NewsAPI, OpenRouter (or OpenAI), DeepL, Google Sheets, and Slack.
- Setup Google Sheet: Create a sheet with the following headers in the first row:
title,author,summary,url. - Map the Sheet: In the "Append row in sheet" and "Read sheet (weekly)" nodes, select your file and map the columns.
- Define Keyword: Open the "Set Keyword" node and change
chatInputto the topic you want to track (e.g., "Crypto", "SaaS", "Climate Change"). - Slack Setup: Select your desired channel in the Slack nodes.
Requirements
- n8n (Self-hosted or Cloud)
- NewsAPI Key (Free tier available)
- OpenRouter (or any LangChain compatible Chat Model like OpenAI)
- DeepL API Key (for translation)
- Google Sheets account
- Slack Workspace
How to customize
- Change the Language: Remove the DeepL node if you only want English, or change the target language code.
- Adjust the Prompt: Modify the "AI Agent (Filter)" system message to change how strict the news filtering is.
- Change Schedule: Adjust the Cron nodes to run at your preferred time (currently set to Daily 8 AM and Weekly Monday 9 AM).
Daily News Digest & Weekly Trends with AI Filtering (Slack & Google Sheets)
This n8n workflow automates the process of fetching daily news, filtering it using an AI agent, translating relevant articles, and then publishing the curated digest to Slack and storing it in Google Sheets for weekly trend analysis.
It simplifies staying informed by automatically sifting through news, identifying key articles, and presenting them in an actionable format, while also building a historical record for trend identification.
What it does
- Schedules Execution: The workflow is triggered on a recurring schedule (e.g., daily).
- Fetches News: It makes an HTTP request to a news API (or similar source) to retrieve the latest articles.
- Filters with AI Agent: An AI Agent (using a LangChain Chat Model) processes the fetched news, identifying and extracting articles based on predefined criteria or relevance.
- Parses AI Output: A Structured Output Parser extracts specific data points (e.g., title, summary, URL) from the AI agent's response.
- Translates Relevant Articles: If configured, the workflow translates the extracted article details into a target language using DeepL.
- Formats Data: It transforms and sets the extracted and translated data into a structured format suitable for output.
- Posts to Slack: The curated news digest is posted as a message to a specified Slack channel.
- Stores in Google Sheets: The news digest is also appended as a new row in a Google Sheet, creating a historical log for trend analysis.
- Webhook for Manual Trigger (Optional): Provides an alternative way to manually trigger the workflow if needed, bypassing the cron schedule.
Prerequisites/Requirements
- n8n Instance: A running n8n instance.
- News API Key: An API key for a news service (e.g., NewsAPI, GNews, etc.) to fetch articles.
- OpenRouter Account / API Key: For the AI Agent to function, you'll need access to an LLM via OpenRouter.
- DeepL API Key (Optional): If translation is desired, a DeepL API key is required.
- Slack Account & Bot Token: To post messages to a Slack channel.
- Google Account: With access to Google Sheets for storing the news data. You'll need to set up Google Sheets credentials in n8n.
Setup/Usage
- Import the Workflow: Import the provided JSON into your n8n instance.
- Configure Credentials:
- Google Sheets: Set up your Google Sheets OAuth2 or API Key credentials.
- OpenRouter Chat Model: Configure your OpenRouter API credentials.
- DeepL: Set up your DeepL API credentials if using translation.
- Slack: Set up your Slack API credentials (usually a Bot User OAuth Token).
- Customize Nodes:
- Cron (Node 7): Adjust the schedule to your desired frequency (e.g., daily at a specific time).
- HTTP Request (Node 19):
- Update the
URLto your preferred news API endpoint. - Add any necessary
HeadersorQuery Parametersfor your API key and search queries. - Modify the
MethodandBodyif your news API requires different configurations.
- Update the
- AI Agent (Node 1119):
- Language Model: Ensure the
OpenRouter Chat Model(Node 1281) is correctly configured. - Prompt: Customize the prompt to guide the AI agent on how to filter and summarize the news. Be specific about what kind of articles you're looking for (e.g., "Summarize top 5 articles about AI trends in tech industry").
- Tools: If the AI agent needs to interact with other systems, configure appropriate tools.
- Language Model: Ensure the
- Structured Output Parser (Node 1179): Adjust the schema to match the expected JSON output format from your AI Agent. This is crucial for correctly extracting data like
title,summary,url, etc. - DeepL (Node 470):
- Set the
Source LanguageandTarget Language. - Specify which fields from the previous node should be translated.
- Set the
- Edit Fields (Set) (Node 38): Map the data from previous nodes to the desired output fields for Slack and Google Sheets.
- Slack (Node 40):
- Select your Slack credential.
- Specify the
Channelwhere the digest should be posted. - Customize the
Textof the message using expressions to include the extracted article details.
- Google Sheets (Node 18):
- Select your Google Sheets credential.
- Specify the
Spreadsheet IDandSheet Name. - Ensure the
Operationis set to "Append Row" and map the data fields to the correct columns in your sheet.
- Webhook (Node 47): Note down the webhook URL if you wish to trigger the workflow manually for testing or on-demand execution.
- Activate the Workflow: Once configured, activate the workflow to start receiving your automated news digests.
Related Templates
Send WooCommerce cross-sell offers to customers via WhatsApp using Rapiwa API
Who Is This For? This n8n workflow enables automated cross-selling by identifying each WooCommerce customer's most frequently purchased product, finding a related product to recommend, and sending a personalized WhatsApp message using the Rapiwa API. It also verifies whether the user's number is WhatsApp-enabled before sending, and logs both successful and unsuccessful attempts to Google Sheets for tracking. What This Workflow Does Retrieves all paying customers from your WooCommerce store Identifies each customer's most purchased product Finds the latest product in the same category as their most purchased item Cleans and verifies customer phone numbers for WhatsApp compatibility Sends personalized WhatsApp messages with product recommendations Logs all activities to Google Sheets for tracking and analysis Handles both verified and unverified numbers appropriately Key Features Customer Segmentation: Automatically identifies paying customers from your WooCommerce store Product Analysis: Determines each customer's most purchased product Smart Recommendations: Finds the latest products in the same category as customer favorites WhatsApp Integration: Uses Rapiwa API for message delivery Phone Number Validation: Verifies WhatsApp numbers before sending messages Dual Logging System: Tracks both successful and failed message attempts in Google Sheets Rate Limiting: Uses batching and wait nodes to prevent API overload Personalized Messaging: Includes customer name and product details in messages Requirements WooCommerce store with API access Rapiwa account with API access for WhatsApp verification and messaging Google account with Sheets access Customer phone numbers in WooCommerce (stored in billing.phone field) How to Use β Step-by-Step Setup Credentials Setup WooCommerce API: Configure WooCommerce API credentials in n8n (e.g., "WooCommerce (get customer)" and "WooCommerce (get customer data)") Rapiwa Bearer Auth: Create an HTTP Bearer credential with your Rapiwa API token Google Sheets OAuth2: Set up OAuth2 credentials for Google Sheets access Configure Google Sheets Ensure your sheet has the required columns as specified in the Google Sheet Column Structure section Verify Code Nodes Code (get paying_customer): Filters customers to include only those who have made purchases Get most buy product id & Clear Number: Identifies the most purchased product and cleans phone numbers Configure HTTP Request Nodes Get customer data: Verify the WooCommerce API endpoint for retrieving customer orders Get specific product data: Verify the WooCommerce API endpoint for product details Get specific product recommend latest product: Verify the WooCommerce API endpoint for finding latest products by category Check valid WhatsApp number Using Rapiwa: Verify the Rapiwa endpoint for WhatsApp number validation Rapiwa Sender: Verify the Rapiwa endpoint for sending messages Google Sheet Required Columns Youβll need two Google Sheets (or two tabs in one spreadsheet): A Google Sheet formatted like this β€ sample The workflow uses a Google Sheet with the following columns to track coupon distribution: Both must have the following headers (match exactly): | name | number | email | address1 | price | suk | title | product link | validity | staus | | ---------- | ------------- | ----------------------------------------------- | ----------- | ----- | --- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------- | -------- | | Abdul Mannan | 8801322827799 | contact@spagreen.net | mirpur dohs | 850 | | Sharp Most Demanding Hoodie x Nike | https://yourshopdomain/p-img-nike | verified | sent | | Abdul Mannan | 8801322827799 | contact@spagreen.net | mirpur dohs | 850 | | Sharp Most Demanding Hoodie x Nike | https://yourshopdomain/p-img-nike | unverified | not sent | | Abdul Mannan | 8801322827799 | contact@spagreen.net | mirpur dohs | 850 | | Sharp Most Demanding Hoodie x Nike | https://yourshopdomain/p-img-nike | verified | sent | Important Notes Phone Number Format: The workflow cleans phone numbers by removing all non-digit characters. Ensure your WooCommerce phone numbers are in a compatible format. API Rate Limits: Rapiwa and WooCommerce APIs have rate limits. Adjust batch sizes and wait times accordingly. Data Privacy: Ensure compliance with data protection regulations when sending marketing messages. Error Handling: The workflow logs unverified numbers but doesn't have extensive error handling. Consider adding error notifications for failed API calls. Product Availability: The workflow recommends the latest product in a category, but doesn't check if it's in stock. Consider adding stock status verification. Testing: Always test with a small batch before running the workflow on your entire customer list. Useful Links Dashboard: https://app.rapiwa.com Official Website: https://rapiwa.com Documentation: https://docs.rapiwa.com Support & Help WhatsApp: Chat on WhatsApp Discord: SpaGreen Community Facebook Group: SpaGreen Support Website: https://spagreen.net Developer Portfolio: Codecanyon SpaGreen
Track SDK documentation drift with GitHub, Notion, Google Sheets, and Slack
π Description Automatically track SDK releases from GitHub, compare documentation freshness in Notion, and send Slack alerts when docs lag behind. This workflow ensures documentation stays in sync with releases, improves visibility, and reduces version drift across teams. πππ¬ What This Template Does Step 1: Listens to GitHub repository events to detect new SDK releases. π§© Step 2: Fetches release metadata including version, tag, and publish date. π¦ Step 3: Logs release data into Google Sheets for record-keeping and analysis. π Step 4: Retrieves FAQ or documentation data from Notion. π Step 5: Merges GitHub and Notion data to calculate documentation drift. π Step 6: Flags SDKs whose documentation is over 30 days out of date. β οΈ Step 7: Sends detailed Slack alerts to notify responsible teams. π Key Benefits β Keeps SDK documentation aligned with product releases β Prevents outdated information from reaching users β Provides centralized release tracking in Google Sheets β Sends real-time Slack alerts for overdue updates β Strengthens DevRel and developer experience operations Features GitHub release trigger for real-time monitoring Google Sheets logging for tracking and auditing Notion database integration for documentation comparison Automated drift calculation (days since last update) Slack notifications for overdue documentation Requirements GitHub OAuth2 credentials Notion API credentials Google Sheets OAuth2 credentials Slack Bot token with chat:write permissions Target Audience Developer Relations (DevRel) and SDK engineering teams Product documentation and technical writing teams Project managers tracking SDK and doc release parity Step-by-Step Setup Instructions Connect your GitHub account and select your SDK repository. Replace YOURGOOGLESHEETID and YOURSHEET_GID with your tracking spreadsheet. Add your Notion FAQ database ID. Configure your Slack channel ID for alerts. Run once manually to validate setup, then enable automation.
Automate Gmail responses with GPT and human-in-the-loop verification
Try It Out! This n8n template uses AI to automatically respond to your Gmail inbox by drafting response for your approval via email. How it works Gmail Trigger monitors your inbox for new emails AI Analysis determines if a response is needed based on your criteria Draft Generation creates contextually appropriate replies using your business information Human Approval sends you the draft for review before sending Auto-Send replies automatically once approved Setup Connect your Gmail account to the Gmail Trigger node Update the "Your Information" node with: Entity name and description Approval email address Resource guide (FAQs, policies, key info) Response guidelines (tone, style, formatting preferences) Configure your LLM provider (OpenAI, Claude, Gemini, etc.) with API credentials Test with a sample email Requirements n8n instance (self-hosted or cloud) Gmail account with API access LLM provider API key Need Help? Email Nick @ nick@tropicflare.com