Qdrant Vector Database node

Good morning,
I am seeking information regarding the following issue.
From a webhook, I receive a PDF file and a “nome_file” field containing the file title:
json{
“body”: {
“titolo”: “Prenotazione CIE”,
“nome_file”: “Prenotazione online CIE.pdf”
}
}
I would like to add the key “nome_file”: “Prenotazione online CIE.pdf” as metadata to the Qdrant Vector Store node, so that the Points in the Qdrant database contain this information and can subsequently be filtered or deleted based on it.
I cannot figure out how to handle and pass this information to the node.
Thank you in advance for your help.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

so the Qdrant Vector Store node has a metadata field where you can pass custom data. in your case, after the webhook, you’d want to set an expression in the metadata parameter like `{ “nome_file”: “{{ $json.body.nome_file }}” }` - this passes the filename into each vector point that gets stored.

then later you can filter or delete points in qdrant using that metadata key. lmk if that works