# Automate social media content planning with Llama: n8n workflow

> Started by a clock, and works across Gmail, Google Calendar, Google Sheets, RSS and one other. It hands the judgement calls to Groq.

Source: https://millionrounds.com/workflow/automate-social-media-content-planning-with-llama (Millionrounds; every figure on the page links to its filing or article)

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

# Automate social media content planning with Llama

Started by a clock, and works across Gmail, Google Calendar, Google Sheets, RSS and one other. It hands the judgement calls to Groq. 20 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Groq

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-social-media-content-planning-with-llama)

**20 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**5** Services it connects to

## The flow

Starts it 1 Model 3 Logic 10 Service 6

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

- 1 **Daily 8 AM Trigger1** Schedule trigger *Starts it*
- 2 **Groq Chat Model1** Lm Chat Groq *Model*
- 3 **Structured Output Parser1** Output Parser Structured *Model*
- 4 **Workflow Configuration1** Set *Logic*
- 5 **Generate Content Ideas1** Agent *Model*
- 6 **Fetch News RSS1** Rss Feed Read *Service*
- 7 **Fetch Reddit Popular1** Reddit *Service*
- 8 **Read Active Campaigns1** Google Sheets *Service*
- 9 **Format for Sheets1** Set *Logic*
- 10 **Merge Trends1** Merge *Logic*
- 11 **Check Campaign Status1** If *Logic*
- 12 **Append to Daily Content Plan1** Google Sheets *Service*
- 13 **Format for Calendar1** Set *Logic*
- 14 **Calculate Performance Metrics1** Code *Logic*
- 15 **Format Trending Topics1** Code *Logic*
- 16 **Enrich with Trends1** Set *Logic*
- 17 **Create Calendar Event1** Google Calendar *Service*
- 18 **Aggregate Daily Summary1** Aggregate *Logic*
- 19 **Format Email Content1** Set *Logic*
- 20 **Send Gmail Summary1** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 20, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Calendar, Google Sheets, RSS, Reddit
- **Model:** Groq

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Calendar, Google Sheets, RSS and Reddit accounts, 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. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 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 20 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%2Fautomate-social-media-content-planning-with-llama)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[RSS](https://millionrounds.com/workflows?service=RSS#library)[Reddit](https://millionrounds.com/workflows?service=Reddit#library)

## Workflows like it

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

- [**Automate Google Meet notes with OpenAI and Notion** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automate-google-meet-notes-with-openai-and-notion)
- [**Coach fitness and nutrition on Telegram with Claude** 20 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/coach-fitness-and-nutrition-on-telegram-with-claude)
- [**Create HubSpot Contacts and Schedule Google Meet** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/create-hubspot-contacts-and-schedule-google-meet)
- [**Multi-tool personal assistant with Telegram and Grok-4** 20 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/multi-tool-personal-assistant-with-telegram-and-grok-4)
- [**Run a Telegram voice calendar assistant with Google Calendar** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/run-a-telegram-voice-calendar-assistant-with-google-calendar)
- [**Run a personal assistant for calendar, Gmail and utilities** 20 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/run-a-personal-assistant-for-calendar-gmail-and-utilities)
