AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI and Slack n8n Workflow Template

n8n workflow template · 17 nodes · OpenAI

AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI and Slack is a free n8n workflow template that runs on a schedule and works with OpenAI, RSS, Google Sheets and Slack. It has 17 nodes, 4 of them AI nodes (OpenAI Chat Model, Basic LLM Chain and Text Classifier). The notes inside the workflow say: “This trigger is a scheduler that defines how often the workflow is executed.” To run it, you add your own credentials for Google Service Account, OpenAI API and Slack OAuth2.

At a glance

Trigger
Schedule Trigger (Schedule Trigger)
Nodes
17
Apps
OpenAI, RSS, Google Sheets and Slack
AI nodes
4
Credentials
3 types
Category
Content, SEO and social media

Apps and integrations

  • OpenAI
  • RSS
  • Google Sheets
  • Slack

Node types used

  • OpenAI Chat Model
  • Basic LLM Chain
  • Schedule Trigger
  • RSS Read
  • Text Classifier
  • Google Sheets
  • Slack
  • Code
  • If
  • HTTP Request
  • Edit Fields (Set)

How it works

The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.

Scheduler

This trigger is a scheduler that defines how often the workflow is executed. By default, the template is set to every 1 hour, meaning the workflow will check every hour if new articles have been added to the RSS feed you follow.

Google Sheets - Get Article Monitored Database

This node retrieves rows from the Google Sheet that contains articles already monitored and summarized by the workflow. Depending on the RSS feed you monitor, URLs may remain in the feed for a long time, and you don't want to monitor the same URL twice. You can find the Google Sheet template that you can copy and use in this workflow here.

In this node, make sure to select the "article_database" sheet from your copied version of the Google Sheet template. This sheet is used to store and manage the articles processed by the workflow.

Set Field - existing_url

This node sets the "existing_url" field with the value from "article_url" in the Google Sheets database. During the first execution of the workflow, this field will be empty, as no articles are present in Google Sheets yet. An error may occur in this case; however, the workflow will continue running without interruption.

RSS Read

This node reads the RSS feed. The RSS URL is retrieved from the data you have entered in Google Sheets, so make sure the URL provided is indeed a valid RSS feed.

What is an RSS feed?

An RSS feed is a web feed that allows users to automatically receive updates from websites, such as news sites or blogs, in a standardized format.

Code Node to Filter Existing URLs

This code node filters URLs that have not yet been summarized by AI. It outputs

  • A list of URLs following the RSS Read schema if new URLs are found.
  • An item called "message" with the value "No new articles found" if no new articles are available in your RSS feed.

IF Node

The condition for this node is: not equal to "No new articles found".

  • False → The workflow executes the "No Operation, do nothing" node.
  • True → The workflow proceeds to process the new articles for your web development industry monitoring.

LLM Call 1 - Article Topic Relevance Classification

This LLM call is used to classify whether the articles published on the website are relevant to the topics and interests you want to monitor. It analyzes the title and the content snippet retrieved from the RSS Read node.

In this template, the monitored articles are related to data and AI. The classification is done into two categories, which you should modify in the Description field under the Categories section of the node

Relevant

Description: Articles related to [The topics you want to monitor].

Not Relevant

Description: Articles that are not directly related to [The topics you want to monitor].

By default, this template monitors topics related to artificial intelligence (AI), data science, machine learning, algorithms, big data, and innovations in these fields.

OpenAI Chat Model

This node specifies the AI model to be used for processing. The default model is GPT-4o-mini, which has been tested and proven to perform well for this task.

GPT-4o-mini is a cost-efficient model, offering a good balance between performance and affordability, making it suitable for regular usage without incurring high costs.

Slack - Send Article Summary

This node posts the message to the designated Slack channel, containing the output generated by the LLM.

For better organization and accessibility, it is recommended to use a dedicated Slack channel specifically for topic monitoring. This ensures that team members can easily access relevant summaries without cluttering other discussions.

Why not use Slack Tool Calling?

After extensive testing, the output from the previous node has proven to be highly effective, making it unnecessary to use tool calling or an AI agent. Keeping things simple streamlines the workflow and reduces complexity.

Setup notes

The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.

Workflow Overview

Check Legal Regulations

This workflow involves scraping, so ensure you comply with the legal regulations in your country before getting started. Better safe than sorry!

Purpose

This workflow enables automated and AI-driven topic monitoring, delivering concise article summaries directly to a Slack channel in a structured and easy-to-read format. It allows users to stay informed on specific topics of interest effortlessly, without manually checking multiple sources, ensuring a time-efficient and focused monitoring experience.

To get started, copy the Google Sheets template required for this workflow from here.

Target Audience

This workflow is designed for

  • Industry professionals looking to track key developments in their field.
  • Research teams who need up-to-date insights on specific topics.
  • Companies aiming to keep their teams informed with relevant content.

How It Works

  1. Trigger: A Scheduler initiates the workflow at regular intervals (default: every hour).
  2. Data Retrieval
  • RSS feeds are fetched using the RSS Read node.
  • Previously monitored articles are checked in Google Sheets to avoid duplicates.
  1. Content Processing
  • The article relevance is assessed using OpenAI (GPT-4o-mini).
  • Relevant articles are scraped using Jina AI to extract content.
  • Summaries are generated and formatted for Slack.
  • Summaries are posted to the specified Slack channel.
  • Article metadata is stored in Google Sheets for tracking.

Key APIs and Nodes Used

  • Scheduler Node: Triggers the workflow periodically.
  • RSS Read: Fetches the latest articles from defined RSS feeds.
  • Google Sheets: Stores monitored articles and manages feed URLs.
  • OpenAI API (GPT-4o-mini): Classifies article relevance and generates summaries.
  • Jina AI API: Extracts the full content of relevant articles.
  • Slack API: Posts formatted messages to Slack channels.

This workflow provides an efficient and intelligent way to stay informed about your topics of interest, directly within Slack.

Google Sheets - Get RSS Feed URLs Followed

This node retrieves rows from the Google Sheet that contains the RSS feed URLs you follow. It is configured to run only once per execution, meaning that even if the previous node outputs many items, this node will execute only once.

You can add more URLs to your sheet, but keep in mind that following more RSS feeds will increase the cost of LLM API usage (e.g., OpenAI).

You can access the Google Sheet template to copy and use in this workflow here. (This is the same template used in the previous node.)

In this node, make sure to select the "rss_feed" sheet from your copied version of the Google Sheet template. This sheet contains the list of RSS feed URLs that the workflow will process.

Jina AI - Read URL

This node uses the Jina AI API to retrieve the content of articles that were classified as "relevant" in the previous step. Since this process involves web scraping, ensure that it complies with the scraping regulations in your country.

What is Jina AI?

Jina AI is an API that allows you to extract webpage content and convert it into a format that is ready for LLM processing, such as Markdown.

You can create an account here and receive 1,000,000 free tokens for testing. However, the service can also be used without an API key (without an account), though with reduced RPM (requests per minute). For this workflow, the default RPM limits should generally be sufficient.

Set Fields - Not Relevant Articles

This node prepares the data to be added to the Google Sheet by defining the following fields

  • article_url – The article's URL.
  • summarized – Always set to "NO (not relevant)", as it belongs to the "not_relevant" path.
  • website – The website where the article URL was published.
  • fetched_at – The timestamp when the URL was processed by the workflow.

> (Note: This timestamp reflects when the scenario was triggered, as obtained from the Schedule Trigger node, not the exact fetch time.)

  • publish_date – The date the article was published.

Google Sheets - Add Not Relevant Articles

This node adds the prepared data to the "article_database" sheet in your copied Google Sheet template. Ensure that you select the "article_database" sheet when configuring this node.

LLM Call 2 - Summarize and Format in Slack Markdown

This node uses OpenAI's GPT-4o-mini model to summarize the article content, which is provided as Markdown text from Jina AI, and formats it in Slack Markdown to enhance readability within Slack.

Customize to fit your needs

Here are two examples of how you can modify the System Prompt of this node to better suit your requirements

  • Language customization

You can modify the System Prompt to instruct the LLM to generate the summary in a specific language (e.g., French or Italian). However, consider the option of adding a separate LLM node dedicated to translation if the model cannot handle summarization, formatting, and translation simultaneously while maintaining high output quality.

  • Changing the summary structure

You can adjust the prompt to modify how the summary is structured to better match your preferred format and style.

Set Fields - Relevant Articles

This node prepares the data to be added to the Google Sheet by defining the following fields

  • article_url – The article's URL.
  • summarized – Always set to "YES", as it follows the "relevant" path.
  • summary – The article summary that was posted to Slack.
  • website – The source website where the article was published.
  • fetched_at – The timestamp indicating when the URL was processed by the workflow.

> (Note: This timestamp reflects when the data was added to Google Sheets, not the actual fetch time.)

  • publish_date – The date the article was published.

Google Sheets - Add Relevant Articles

This node adds the prepared data to the "article_database" sheet in your copied Google Sheet template. Make sure to select the "article_database" sheet when configuring this node.

Nodes in this workflow

The 17 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:

  1. OpenAI Chat Model (OpenAI Chat Model)
  2. Basic LLM Chain (Basic LLM Chain)
  3. Schedule Trigger (Schedule Trigger)
  4. RSS Read (RSS Read)
  5. Relevance Classification for Topic Monitoring (Text Classifier)
  6. Google Sheets - Get RSS Feed url followed (Google Sheets)
  7. Slack1 (Slack)
  8. Google Sheets - Get article monitored database (Google Sheets)
  9. Code (Code)
  10. If (If)
  11. Jina AI - Read URL (HTTP Request)
  12. Set field - existing_url (Edit Fields (Set))
  13. OpenAI Chat Model1 (OpenAI Chat Model)
  14. Set fields - Not relevant articles (Edit Fields (Set))
  15. Google Sheets - Add relevant articles (Google Sheets)
  16. Google Sheets - Add relevant article (Google Sheets)
  17. Set Fields - Relevant Articles (Edit Fields (Set))

Credentials you need

  • Google Service Account – used by Google Sheets - Add relevant article, Google Sheets - Add relevant articles, Google Sheets - Get RSS Feed url followed and Google Sheets - Get article monitored database
  • OpenAI API – used by OpenAI Chat Model and OpenAI Chat Model1
  • Slack OAuth2 – used by Slack1

Configure your own credentials after importing. Create each credential in n8n, then select it in the node.

How to import into n8n

  1. Download the JSON file with the button above.
  2. In n8n, open a new workflow, select the ... menu and choose Import from File. You can also paste the JSON straight into the editor canvas.
  3. Open each node that shows a warning and select or create its credential.
  4. Read the notes on the canvas, test the workflow with sample data, then activate it.

Do you need somewhere to run it? Read our guide to self-hosted n8n.

Need this customised?

We can adapt this workflow to your apps, data and process, then deploy and support it.

Contact Us