Load help center pages into a Pinecone knowledge base with OpenAI embeddings
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- config (Code): runs custom JavaScript code
- document list configured? (If): checks a condition and branches into true / false
- list the documents (Code): runs custom JavaScript code
- use the demo knowledge base (Code): runs custom JavaScript code
- Fetch the document (HTTP Request): calls an HTTP API
- chunk the documents (Code): runs custom JavaScript code
- read the document text (Code): runs custom JavaScript code
- loading on? (If): checks a condition and branches into true / false
- build the embedding batches (Code): runs custom JavaScript code
- STOP: preview - vectors not upserted (Code): runs custom JavaScript code
…plus 7 more steps. See the full node list below.
HTTP calls to: api.openai.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow manually fetches help pages (or demo docs), chunks them, generates OpenAI embeddings, and upserts the vectors into a Pinecone index so they can be used for retrieval-based support or chat. How it works 1. Starts when you run the…