Sync WooCommerce products, blog, and Google Drive files to Pinecone with OpenAI
Ready for 3.0What this workflow does
This AI workflow has 135 nodes and runs manually, when you click “Execute workflow” (plus 7 other triggers). Along the way it connects WooCommerce, Embeddings OpenAI, Pinecone Vector Store and Google Drive and 1 more.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 7 other triggers).
- Settings (Edit Fields (Set)): sets or maps fields
- Drive: Reduce to single run (Code): runs custom JavaScript code
- Preflight: Validate configuration (Code): runs custom JavaScript code
- Route by trigger (Switch): routes items into branches
- Products: Get all products (WooCommerce): uses WooCommerce
- Webhook: Verify signature (Code): runs custom JavaScript code
- Blog: Fetch static pages (HTTP Request): calls an HTTP API
- Drive: Find documents (Google Drive): uses Google Drive
- Products: Get dedup table entries (Data table): uses Data table
- Webhook: Signature valid? (If): checks a condition and branches into true / false
…plus 100 more steps. See the full node list below.
Services it uses
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 (20)
- Manual Trigger
n8n-nodes-base.manualTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - WooCommerce
n8n-nodes-base.wooCommerce - Data table
n8n-nodes-base.dataTable - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Webhook
n8n-nodes-base.webhook - No Operation, do nothing
n8n-nodes-base.noOp - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Gmail
n8n-nodes-base.gmail - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch
From the author
Quick overview This workflow keeps a Pinecone knowledge base in sync with WooCommerce products and reviews, WordPress pages/posts, and files from a Google Drive folder by generating OpenAI embeddings, chunking content, and tracking sync state in an n8n Data…