workflows.fit
Back to n8n workflows
n8n templateFreeBy Kalyxi Ai

Automate news discovery & publishing with GPT-4, Google Search API & Slack

šŸš€ Automate News Discovery & Publishing with GPT-4, Google Search API & Slack šŸŽÆ Overview Automated content publishing system that discovers industry news, transforms it into original articles using GPT-4, and publish...

Data & StorageProductivityDevelopmentCore NodesCommunicationHITLAILangchain
Loading interactive preview...

Template notes

šŸš€ Automate News Discovery & Publishing with GPT-4, Google Search API & Slack

šŸŽÆ Overview Automated content publishing system that discovers industry news, transforms it into original articles using GPT-4, and publishes across multiple channels with SEO optimization and intelligent duplicate prevention.

✨ Key Features - šŸ¤– Smart Query Generation - AI agent generates unique search queries while checking Google Sheets to avoid duplicates - šŸ” News Discovery - Uses Google Custom Search API to find recent articles (last 7 days) - 🧠 Content Intelligence - Processes search results and skips anti-bot protected sites automatically - šŸ“ GPT-4 Article Generation - Creates professional, SEO-optimized news articles in Reuters/Bloomberg style - šŸ“¢ Multi-Channel Publishing - Publishes to CMS with automatic Slack notifications - šŸ“Š Comprehensive Tracking - Logs all activity to Google Sheets for analytics and duplicate prevention

šŸ”„ How It Works 1. ā° Scheduled Trigger runs every 8 hours to maintain consistent content flow 2. šŸ¤– AI Agent generates targeted search queries for your niche while checking historical data 3. šŸ” Google Search finds recent articles and extracts metadata (title, snippet, source) 4. šŸ›”ļø Smart Content Handler bypasses sites with anti-bot protection, using search snippets instead 5. ⚔ GPT-4 Processing transforms snippets into comprehensive 2000+ word articles with proper formatting 6. šŸš€ Publishing Pipeline formats content for CMS with SEO metadata and publishes automatically 7. šŸ“± Notification System sends detailed Slack updates with article metrics 8. šŸ“ˆ Activity Logging tracks all published content to prevent future duplicates

šŸ”§ Setup Requirements

šŸ“‹ Prerequisites - Google Custom Search API key and Search Engine ID - OpenAI GPT-4 API access - Google account for tracking spreadsheet - Slack workspace for notifications - CMS or website with API endpoint for publishing

šŸ› ļø Step-by-Step Setup

Step 1: šŸ”Ž Google Custom Search Configuration 1. Go to [Google Custom Search Engine](https://cse.google.com/cse/) 2. Create a new search engine 3. Configure to search the entire web 4. Copy your Search Engine ID (cx parameter) 5. Get your API key from [Google Cloud Console](https://console.cloud.google.com/)