# Post witty daily tweets with Groq and NewsAPI: n8n workflow

> Started by a clock, and works across X. It puts Groq behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone.

Source: https://millionrounds.com/workflow/post-witty-daily-tweets-with-groq-and-newsapi (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Post witty daily tweets with Groq and NewsAPI

Started by a clock, and works across X. It puts Groq behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 15 steps: a working afternoon to understand properly.

Medium Calls a model: Groq Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fpost-witty-daily-tweets-with-groq-and-newsapi)

**15 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 5 Logic 6 Service 3

The steps in the order they run, from what starts it.

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Context Window** Memory Buffer Window *Model*
- 3 **Rank The Topics** Lm Chat Groq *Model*
- 4 **Create Tweet** Lm Chat Groq *Model*
- 5 **Check the news** Http Request *Service*
- 6 **Check Google Trends (geo=IN)** Http Request *Service*
- 7 **Smartly Pick the Topic** Agent *Model*
- 8 **Produce an Engaging Tweet** Chain Llm *Model*
- 9 **Normalize News Input** Code *Logic*
- 10 **Convert Data Type** Xml *Logic*
- 11 **Publish** Twitter *Service*
- 12 **Merge** Merge *Logic*
- 13 **Normalize Trends Input** Code *Logic*
- 14 **Tweet published** No Op *Logic*
- 15 **Trim Data Items** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 15
- **Size:** Medium: a working afternoon
- **Connects to:** X
- **Model:** Groq
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own X account, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Groq. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fpost-witty-daily-tweets-with-groq-and-newsapi)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[X](https://millionrounds.com/workflows?service=X#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Auto-generate and post tweet threads based on Google Trends** 15 steps · calls a model · X](https://millionrounds.com/workflow/auto-generate-and-post-tweet-threads-based-on-google-trends)
- [**Cross-post social content from Google Sheets to 5 platforms** 15 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/cross-post-social-content-from-google-sheets-to-5-platforms)
- [**Route Telegram channel posts to X, Threads, and LinkedIn** 15 steps · LinkedIn, Telegram](https://millionrounds.com/workflow/route-telegram-channel-posts-to-x-threads-and-linkedin)
- [**Auto-generate social posts from GitHub README/CHANGELOG updates** 14 steps · calls a model · GitHub, LinkedIn](https://millionrounds.com/workflow/auto-generate-social-posts-from-github-readme-changelog-upda)
- [**Automate Twitter content with OpenAI and MCP** 16 steps · calls a model · MySQL, Slack](https://millionrounds.com/workflow/automate-twitter-content-with-openai-and-mcp)
- [**Automated social media content creation with OpenAI** 16 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/automated-social-media-content-creation-with-openai)
