How to use a vector base in a workflow without a chat trigger

Hello,
I am currently building a RAG system with Supabase.
However it seems difficult to use the vector in a workflow without having it triggered with a chat.

I would like to be able to

  1. upload pdf in a vector Store
  2. trigger a workflow which would read the data in the vector base, transform the data with llm
  3. Provide structured data as an output

I would like to do it automatically without needing to trigger a chat (as it is not the preferred user interface)
Cheers