# Generate visual diagrams and content assets from ideas: n8n workflow

> Started by another system calling it, and works across Email and Postgres. 19 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/generate-visual-diagrams-and-content-assets-from-ideas (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)

# Generate visual diagrams and content assets from ideas

Started by another system calling it, and works across Email and Postgres. 19 steps, 1 branch, 2 loops or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-visual-diagrams-and-content-assets-from-ideas)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Logic 9 Service 8

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

- 1 **Webhook - Receive Idea** Webhook *Starts it*
- 2 **Manual Trigger - Test** Manual trigger *Starts it*
- 3 **Merge Input Sources** Merge *Logic*
- 4 **Set Test Idea Data** Set *Logic*
- 5 **Validate & Normalize Input** Code *Logic*
- 6 **AI - Enrich & Structure Idea** Http Request *Service*
- 7 **Wait For Data** Wait *Logic*
- 8 **Parse Claude Enrichment** Code *Logic*
- 9 **NapkinAI - Authenticate** Http Request *Service*
- 10 **NapkinAI - Submit Idea for Visual** Http Request *Service*
- 11 **NapkinAI - Poll Generation Status** Http Request *Service*
- 12 **Check Job Completion** If *Logic*
- 13 **NapkinAI - Retrieve Generated Assets** Http Request *Service*
- 14 **Wait 5s - Retry Poll** Wait *Logic*
- 15 **Assemble Full Output Package** Code *Logic*
- 16 **Send Email - Visual Assets Delivery** Email Send *Service*
- 17 **Send Slack - Quick Notification** Http Request *Service*
- 18 **Log to Database** Postgres *Service*
- 19 **Mark Idea as Processed** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 19, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Email, Postgres
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Email and Postgres accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 19 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 19 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%2Fgenerate-visual-diagrams-and-content-assets-from-ideas)
- **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.

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

## Workflows like it

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

- [**Sync Gmail emails to PostgreSQL with S3** 19 steps · Gmail, Postgres](https://millionrounds.com/workflow/sync-gmail-emails-to-postgresql-with-s3)
- [**YouTube outlier detector** 19 steps · Postgres, YouTube](https://millionrounds.com/workflow/youtube-outlier-detector)
- [**Conversational PostgreSQL agent with Claude** 19 steps · calls a model · Postgres](https://millionrounds.com/workflow/conversational-postgresql-agent-with-claude)
- [**Create daily Israeli economic newsletter with RSS and OpenAI** 19 steps · calls a model · Email, RSS](https://millionrounds.com/workflow/create-daily-israeli-economic-newsletter-with-rss-and-openai)
- [**Publish LinkedIn posts from RSS with Ollama and PostgreSQL** 19 steps · calls a model · LinkedIn, Postgres](https://millionrounds.com/workflow/publish-linkedin-posts-from-rss-with-ollama-and-postgresql)
- [**Onboard Nextcloud users with Gmail and PostgreSQL** 18 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/onboard-nextcloud-users-with-gmail-and-postgresql)
