I’m working with Qdrant vector database through n8n and running into a problem with duplicate entries. From what I understand, Qdrant should replace existing points when you insert new ones with the same ID. However, I can’t figure out how to properly assign IDs to the points in n8n.
I tried putting an id field in the metadata section, but that doesn’t seem to work as the actual point identifier. Each time I run my workflow with the same document, it creates a new entry instead of updating the existing one.
Has anyone successfully configured point IDs in n8n’s Qdrant integration? I need to prevent these duplicates from being created every time I process the same data.
I encountered a similar issue some time ago. To resolve it, focus on properly configuring the Qdrant node in n8n. Ensure that the Point ID is linked directly to a unique identifier, such as a hash derived from the document content, rather than placing it in the metadata. It’s crucial that this identifier is consistently used across workflow runs to enable the upsert functionality. Once I made this adjustment, it effectively prevented the creation of duplicates and ensured the existing points were updated as expected.
totally feel ya! just make sure the id’s in the point payload, not in meta. in the qdrant node, look for ‘point id’ and link it to a unique part of ur data, like a document hash or filename. it really helps with not getting those annoying duplicates.
I ran into this same problem when I first started using n8n with Qdrant. To resolve it, make sure to map the Point ID field separately from your metadata. There’s a dedicated field in the Qdrant node specifically for the point identifier, which controls the upsert behavior. Using a consistent hash from the document content or a unique document ID that remains constant across runs works well. The key is to ensure this ID is sent to the actual point ID parameter in the Qdrant node, not in the vector metadata. Once I corrected that mapping, it stopped creating duplicates and began updating existing points as intended.