workflows.fit
Back to n8n workflows
n8n templateFreeBy Yang

Auto-generate AI news commentary with Dumpling AI and GPT-4o

This workflow turns trending news into thoughtful first-person commentary for platforms like LinkedIn. It uses Dumpling AI’s News Search and Scraping APIs to find and extract article content, then feeds the cleaned te...

Data & StorageProductivityDevelopmentCore NodesAILangchainNo OpSchedule Trigger
Loading interactive preview...

Template notes

This workflow turns trending news into thoughtful first-person commentary for platforms like LinkedIn. It uses Dumpling AI’s News Search and Scraping APIs to find and extract article content, then feeds the cleaned text to GPT-4o to write personalized insights. The final output is saved back to Google Sheets as a draft for easy review or posting.

---

✅ What this workflow does

1. Triggers daily using a Schedule node. 2. Fetches a list of content topics from a Google Sheet. 3. Uses Dumpling AI to search for relevant news articles based on each topic. 4. Scrapes the article content with Dumpling AI’s /scrape endpoint. 5. Cleans and aggregates the article content using a Code node. 6. Generates first-person commentary with GPT-4o tailored for LinkedIn. 7. Appends the generated post back to the Google Sheet next to its topic.

---

🧩 Nodes in this workflow

- Schedule Trigger: Starts the workflow daily. - Google Sheets (Read Topics): Pulls topic rows that don’t have a generated commentary yet. - Split In Batches: Processes each topic one at a time. - Wait: Adds a delay to manage API limits. - HTTP Request (Search News): Uses Dumpling AI's /search-news to find relevant articles for the topic. - Split Out: Iterates over the list of article results. - HTTP Request (Scrape Article): Extracts the full article text using Dumpling AI’s /scrape. - Aggregate: Collects and merges article content fields. - Code (Clean Article): Strips links, formatting, and irrelevant text. - OpenAI (GPT-4o): Generates a short, first-person LinkedIn post-style commentary using a custom prompt. - Google Sheets (Write Back): Appends the final output next to the original topic in the sheet.

---