Turn JSON files on your FTP server into a searchable knowledge index. The flow reads files, creates text embeddings with OpenAI, and stores them in Qdrant for fast semantic search. It suits teams building chatbots, help centers, or internal search tools.
The run starts with a manual test trigger in n8n. It lists all JSON files on FTP, loops through each file, and downloads the binary content. A data loader converts the JSON into a document format. If needed, a character text splitter breaks the content into smaller chunks using a chunk id marker. OpenAI then turns each chunk into a vector. The vectors and metadata go to a Qdrant collection in batches of 100 using cosine distance and 1536 vector size.
You need FTP access, an OpenAI API key, and a Qdrant endpoint with a collection that matches the 1536 vector size. Expect a consistent index that updates from your file source with one click. Common uses include product docs, policy libraries, and multilingual content. Most teams cut manual prep time and gain better search results without writing custom code.