# Generate Twitter content in personal style with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Supabase vectors. It puts OpenAI behind a retrieval step, so answers are drawn from documents you...

Source: https://millionrounds.com/workflow/generate-twitter-content-in-personal-style-with-openai (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 Twitter content in personal style with OpenAI

Started by someone submitting a form, and works across Supabase vectors. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 14 steps: a working afternoon to understand properly.

Medium Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-twitter-content-in-personal-style-with-openai)

**14 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 7 Logic 3 Service 2

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

- 1 **Form: Add to KB** Form trigger *Starts it*
- 2 **Embeddings OpenAI (ingest)** Embeddings Open Ai *Model*
- 3 **Text Splitter** Text Splitter Recursive Character Text Splitter *Model*
- 4 **Form: Generate** Form trigger *Starts it*
- 5 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 6 **Normalize (ingest)** Set *Logic*
- 7 **VectorStore (Supabase)** Vector Store Supabase *Model*
- 8 **KB (Supabase VectorStore)** Vector Store Supabase *Model*
- 9 **Document Loader (+metadata)** Document Default Data Loader *Model*
- 10 **Build Params** Set *Logic*
- 11 **Generator Agent** Agent *Model*
- 12 **End Page (ingest)** Form *Service*
- 13 **Edit Fields (format HTML)** Set *Logic*
- 14 **End Page (generate)** Form *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 14
- **Size:** Medium: a working afternoon
- **Connects to:** Supabase vectors
- **Model:** OpenAI
- **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 Supabase vectors account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. 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. 14 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 14 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-twitter-content-in-personal-style-with-openai)
- **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.

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

## Workflows like it

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

- [**AI LinkedIn content agent with Claude and OpenAI** 15 steps · calls a model · Linear, Supabase vectors](https://millionrounds.com/workflow/ai-linkedin-content-agent-with-claude-and-openai)
- [**Auto post blogs to LinkedIn and Twitter with Claude and OpenAI** 11 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/auto-post-blogs-to-linkedin-and-twitter-with-claude-and-open)
- [**Scrape and ingest web content into Supabase pgvector** 18 steps · calls a model · Supabase, Supabase vectors](https://millionrounds.com/workflow/scrape-and-ingest-web-content-into-supabase-pgvector)
- [**Smart RAG agent: GPT-4o with Supabase and Postgres** 8 steps · calls a model · Supabase vectors](https://millionrounds.com/workflow/smart-rag-agent-gpt-4o-with-supabase-and-postgres)
- [**RAG chat assistant with Claude and Supabase** 6 steps · calls a model · Supabase vectors](https://millionrounds.com/workflow/rag-chat-assistant-with-claude-and-supabase)
- [**Generate LinkedIn posts with Telegram and Supabase** 25 steps · calls a model · LinkedIn, Supabase vectors](https://millionrounds.com/workflow/generate-linkedin-posts-with-telegram-and-supabase)
