Templates / Post witty daily tweets with Groq, NewsAPI, Google Trends, and X

Post witty daily tweets with Groq, NewsAPI, Google Trends, and X

Ready for 3.0

by Akshat ✓ · 7 views · created 2026-09-05 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 15 nodes and runs on a schedule (every day at 11:00). Along the way it connects X (Formerly Twitter) and Groq Chat Model. It also calls newsapi.org and trends.google.com over HTTP.

How it runs

Trigger: On a schedule (every day at 11:00).

  1. Check the news (HTTP Request): calls newsapi.org
  2. Check Google Trends (geo=IN) (HTTP Request): calls trends.google.com
  3. Normalize News Input (Code): runs custom JavaScript code
  4. Convert Data Type (XML): converts between XML and JSON
  5. Merge: merges the data from its input branches
  6. Normalize Trends Input (Code): runs custom JavaScript code
  7. Trim Data Items (Code): runs custom JavaScript code
  8. Smartly Pick the Topic (AI Agent): runs an AI agent, with model: Rank The Topics; memory: Context Window
  9. Produce an Engaging Tweet (Basic LLM Chain): sends a prompt to an LLM, with model: Create Tweet
  10. Publish (X (Formerly Twitter)): uses X (Formerly Twitter)

Services it uses

X (Formerly Twitter)Groq Chat Model

HTTP calls to: newsapi.org, trends.google.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow runs daily on a schedule, pulls popular stories from NewsAPI and trending topics from Google Trends, uses Groq-hosted LLMs with short-term memory to pick the best overlapping topic, generates a sarcastic tweet, and posts it to X…

Excerpt from Akshat's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.