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

Library / AI Agents & Assistants

AI Agents & Assistants

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

On a schedule, it runs an AI agent with Groq and OpenAI / ChatGPT using Groq, X (Twitter).

What it does

## ProcessImplementation Guide:- A fully autonomous n8n workflow that posts a trend-aware tweet every day - zero manual input. It pulls live trending signals from two sources, lets an AI agent pick the best topic, drafts a tweet, and publishes it. ### Setup (credentials needed) 1. NewsAPI key - paste into the URL on the "Check the news" HTTP Request node. 2. Google Trends Link - paste and set the geolocation according to preference. 3. AI credentials - used by all Chat Model nodes. 4. X (Twitter) OAuth credentials - used by the Create Tweet node. 5. Activate the workflow once credentials are in place.

The steps

  1. Schedule Trigger
  2. Merge
  3. Check the news
  4. Check Google Trends (geo=IN)
  5. Convert Data Type
  6. Normalize News Input
  7. Normalize Trends Input
  8. Smartly Pick the Topic
  9. Produce an Engaging Tweet
  10. Publish
  11. Tweet published
  12. Context Window
  13. Trim Data Items
  14. Rank The Topics

15 steps in total.

Similar automations