Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Data Sync & ETL

Data Sync & ETL

Send daily AI news digest to Slack with OpenAI and PostgreSQL

On a schedule, it moves and syncs data with OpenAI / ChatGPT using Postgres, Slack.

What it does

## How This Workflow Works - The workflow starts automatically using a scheduled trigger configured in n8n. - Latest news articles are fetched from external news APIs in real time. - Raw API responses are cleaned and transformed into structured article objects for consistent processing. - AI-related filtering removes unrelated news articles and keeps only relevant technology and AI updates. - OpenAI analyzes every article individually and generates useful insights such as summaries, sentiment, categories, importance scores, and trend keywords. - Original article details and AI-generated insights are merged together into a single structured dataset. - Before storing data, the workflow checks whether the article already exists in the database to prevent duplicate records. - Stored articles are analyzed again to identify trending keywords and prepare a digest-ready payload. - OpenAI generates a professional executive AI news digest using the collected insights and trend analysis. - Finally, the workflow automatically sends the generated digest to Slack, allowing teams to stay updated with important AI industry developments daily. ## Workflow Setup Steps - Create a scheduled trigger to automatically run the workflow at a fixed time every day. Configure the news API request node to fetch the latest AI-related news articles from trusted news sources. - Normalize and process the fetched news data into a clean structured format for easier filtering and analysis. - Apply AI-related keyword filtering to keep only relevant articles focused on artificial intelligence, machine learning, automation, and emerging technologies. - Send filtered articles to OpenAI for summarization, sentiment detection, category classification, importance scoring, and trend keyword extraction. - Parse the AI response and merge it with the original article data to create a complete enriched dataset. - Validate duplicate articles using PostgreSQL queries before storing records into the database. - Generate trend analytics and prepare a structured payload containing summarized articles and trending topics. - Use OpenAI again to generate a professional executive-style daily AI news digest based on the processed data. - Automatically deliver the final digest to Slack for daily team updates and monitoring.

The steps

  1. Fetch Latest News Articles
  2. Daily News Scheduler
  3. Process Individual Articles
  4. Filter AI Related News
  5. Analyze News with AI
  6. Parse AI Analysis Response
  7. Merge Article & AI Insights
  8. Check Existing Articles
  9. Validate Duplicate Articles
  10. Store News Insights
  11. Prepare Daily Digest Payload
  12. Generate Executive AI Digest
  13. Send Slack News Digest

Similar automations