# Publish weekly SMB blog posts with Perplexity and Claude: n8n workflow

> Started by a clock, and works across Gmail. It hands the judgement calls to Gemini and Perplexity. 16 steps: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/publish-weekly-smb-blog-posts-with-perplexity-and-claude (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)

# Publish weekly SMB blog posts with Perplexity and Claude

Started by a clock, and works across Gmail. It hands the judgement calls to Gemini and Perplexity. 16 steps: a working afternoon to understand properly.

Medium Calls a model: Gemini, Perplexity

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fpublish-weekly-smb-blog-posts-with-perplexity-and-claude)

**16 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 1 Logic 7 Service 7

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

- 1 **When Every Friday 10am ET** Schedule trigger *Starts it*
- 2 **Fetch Published Blog Titles API** Http Request *Service*
- 3 **Build Blog Topic Context** Code *Logic*
- 4 **Perplexity Fresh Topic** Perplexity *Service*
- 5 **Log Topic Generation Costs** Execute Workflow *Logic*
- 6 **Perplexity Research Topic** Perplexity *Service*
- 7 **Log Research Costs** Execute Workflow *Logic*
- 8 **Prepare Claude AI Request** Code *Logic*
- 9 **Post to Anthropic API** Http Request *Service*
- 10 **Log Writing Blog Costs** Execute Workflow *Logic*
- 11 **Parse Blog Content** Code *Logic*
- 12 **Google Gemini: Create Cover Image** Google Gemini *Model*
- 13 **Upload Image to Supabase** Http Request *Service*
- 14 **Set Cover Image URL** Set *Logic*
- 15 **Post to Supabase API** Http Request *Service*
- 16 **Send Publish Email to Admin** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 16
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail
- **Model:** Gemini, Perplexity

## Questions

What does it need to run?

An n8n account, plus your own Gmail account, and a key for Gemini and Perplexity. 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 Gemini and Perplexity. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 16 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 16 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%2Fpublish-weekly-smb-blog-posts-with-perplexity-and-claude)
- **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)

## Workflows like it

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

- [**AI-powered sustainability newsletter for marketing with Gmail** 16 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-sustainability-newsletter-for-marketing-with-gmai)
- [**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)
- [**Blog-to-Avatar Video Creator & Multi-Platform Auto-Poster** 16 steps · calls a model · Gmail](https://millionrounds.com/workflow/blog-to-avatar-video-creator-and-multi-platform-auto-poster)
- [**Clean Gmail social, promotions and updates with OpenRouter** 16 steps · calls a model · Gmail](https://millionrounds.com/workflow/clean-gmail-social-promotions-and-updates-with-openrouter)
- [**Convert newsletters into AI podcasts with OpenAI** 16 steps · calls a model · Gmail](https://millionrounds.com/workflow/convert-newsletters-into-ai-podcasts-with-openai)
- [**Daily podcast summary with OpenAI and Gmail** 16 steps · calls a model · Gmail](https://millionrounds.com/workflow/daily-podcast-summary-with-openai-and-gmail)
