Templates / Automated breaking news headlines with LLaMA3, Google Search and X posting

Automated breaking news headlines with LLaMA3, Google Search and X posting

Ready for 3.0

by Afnan · 4,944 views · created 2025-06-16 · 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-10-19.

What this workflow does

This workflow has 8 nodes and runs on a schedule (every 5 hours). Along the way it connects X (Formerly Twitter). It also calls api.groq.com over HTTP.

How it runs

Trigger: On a schedule (every 5 hours).

  1. Set Topic (Edit Fields (Set)): sets 1 field: topic
  2. Build Query (Edit Fields (Set)): sets 1 field: query
  3. Google Config (Edit Fields (Set)): sets 2 fields: google_api_key, google_cx
  4. HTTP Request: calls an HTTP API
  5. Function (Code): runs custom JavaScript code
  6. Groq AI (HTTP Request): calls api.groq.com (POST)
  7. Post to X (X (Formerly Twitter)): uses X (Formerly Twitter)

Services it uses

X (Formerly Twitter)

HTTP calls to: api.groq.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.

Nodes used (5)

From the author

This n8n workflow automates the process of finding, summarizing, and posting breaking news headlines on X (formerly Twitter). It combines Google Custom Search for finding the latest news articles with Groq's LLaMA 3 model to generate short, engaging headlines…

Excerpt from Afnan'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.