Templates / Generate LinkedIn posts from books using OpenAI, LangChain & Pinecone vector search

Generate LinkedIn posts from books using OpenAI, LangChain & Pinecone vector search

Ready for 3.0

by Mohamed Abdelwahab ✓ · 1,046 views · created 2025-07-20 · Social Media, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs on Google Drive events (file updated) (plus 1 other trigger). Along the way it connects Google Drive, Pinecone Vector Store, Embeddings OpenAI and OpenAI Chat Model and 3 more.

How it runs

Trigger: On Google Drive events (file updated) (plus 1 other trigger).

  1. DownLoadPdf (Google Drive): download
  2. linkedInPostsContent (Google Sheets): uses Google Sheets
  3. Extract from File: extracts data from a file (pdf)
  4. Limit: keeps the first few items
  5. Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  6. LinkedIn: uses LinkedIn
  7. Aggregate: combines items into one
  8. If: checks a condition and branches into true / false
  9. LinkedIn Post Idea Generation (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecorn Vector Store-book); memory: Simple Memory; output parser: Structured Output Parser
  10. linkedInPostsContent (Google Sheets): update

…plus 3 more steps. See the full node list below.

Services it uses

Google DrivePinecone Vector StoreEmbeddings OpenAIOpenAI Chat ModelOpenAILinkedInGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (19)

From the author

Automates the process of generating, storing, and publishing engaging LinkedIn posts derived from books (PDFs) using AI and vector search. --- 🧠 Overview This workflow: 1. Watches a Google Drive folder for new or updated book PDFs. 2. Extracts and embeds the…

Excerpt from Mohamed Abdelwahab's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.