In Flowise AgentFlow, you can use an agent condition with different vectorStore node in the output, the variable to be checked would be preferably a work flow state.