# Post LinkedIn content from a Supabase knowledge base: n8n workflow

> Started by a clock, and works across Google Drive, LinkedIn, Supabase and Supabase vectors.

Source: https://millionrounds.com/workflow/post-linkedin-content-from-a-supabase-knowledge-base (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 LinkedIn content from a Supabase knowledge base

Started by a clock, and works across Google Drive, LinkedIn, Supabase and Supabase vectors. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 29 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fpost-linkedin-content-from-a-supabase-knowledge-base)

**29 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 3 Model 16 Logic 3 Service 7

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

- 1 **Split Text Recursively** Text Splitter Recursive Character Text Splitter *Model*
- 2 **When Google Drive File Added** Google Drive trigger *Starts it*
- 3 **When File Updated in Google Drive** Google Drive trigger *Starts it*
- 4 **Split Text Recursively - Update** Text Splitter Recursive Character Text Splitter *Model*
- 5 **Create Embeddings from Gemini** Embeddings Google Gemini *Model*
- 6 **Create Embeddings - Update** Embeddings Google Gemini *Model*
- 7 **Chat Model with Google Gemini** Lm Chat Google Gemini *Model*
- 8 **Every Morning at 8am** Schedule trigger *Starts it*
- 9 **Generate Embeddings for Search** Embeddings Google Gemini *Model*
- 10 **Conversational Model with Gemini** Lm Chat Google Gemini *Model*
- 11 **Search Tavily Knowledge Base** Tavily Tool *Service*
- 12 **Parse Structured Output** Output Parser Structured *Model*
- 13 **Load Default Data** Document Default Data Loader *Model*
- 14 **Set Google Drive File ID** Set *Logic*
- 15 **Delete Supabase Rows** Supabase *Service*
- 16 **Load Updated Data** Document Default Data Loader *Model*
- 17 **Store to Supabase Vector** Vector Store Supabase *Model*
- 18 **Store Updated Data to Supabase** Vector Store Supabase *Model*
- 19 **AI Content Creation Agent** Agent *Model*
- 20 **Store Embeddings to Supabase** Vector Store Supabase *Model*
- 21 **Access Company Knowledge Base** Tool Vector Store *Model*
- 22 **Download Google Drive File** Google Drive *Service*
- 23 **Get Updated File ID** Set *Logic*
- 24 **Generate Image with Gemini** Google Gemini *Model*
- 25 **Extract Content from File** Extract From File *Service*
- 26 **Limit to 10 Items** Limit *Logic*
- 27 **Post to LinkedIn** Linked In *Service*
- 28 **Download Updated File** Google Drive *Service*
- 29 **Extract Content from Updated File** Extract From File *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 29
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, LinkedIn, Supabase, Supabase vectors
- **Model:** Gemini
- **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 Google Drive, LinkedIn, Supabase and Supabase vectors accounts, and a key for Gemini. 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. 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?

Take your time. At 29 steps it is large: read it before trusting it with anything live.

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 29 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-linkedin-content-from-a-supabase-knowledge-base)
- **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.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#library)[Supabase](https://millionrounds.com/workflows?service=Supabase#library)[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.

- [**Automate LinkedIn content creation with OpenAI and Notion** 29 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/automate-linkedin-content-creation-with-openai-and-notion)
- [**Create faceless videos with Gemini and ElevenLabs** 29 steps · calls a model · Google Drive](https://millionrounds.com/workflow/create-faceless-videos-with-gemini-and-elevenlabs)
- [**GPT-4o, RunwayML, ElevenLabs for Social Media with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/gpt-4o-runwayml-elevenlabs-for-social-media-with-gemini)
- [**Generate and post Apple App Store review replies with Claude** 29 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/generate-and-post-apple-app-store-review-replies-with-claude)
- [**Generate and publish Instagram carousels with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-instagram-carousels-with-gemini)
- [**Generate viral baby celebrity podcasts with Hedra** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-viral-baby-celebrity-podcasts-with-hedra)
