Choose KB based on variable
# 🤝help
c
Hi, I would like to query different KBs based on the value of a variable. The variable would be the KB name. This would help me to not have 13 duplicates of the same flow. Is this possible. This might be similar to this question, I was not sure if this is the same: https://discord.com/channels/1108396290624213082/1225470887562575996
f
Hello @cuddly-house-42668 So you could set the variable and rather than 13 flows you could just have a unique node for each KB. Here is a quick video https://vimeo.com/931190040/16aba547d1?share=copy
c
Thank you so much. I already use the query knowledge base card. This looks like a good workaround. but still the option to put the variable directly in the field would be super helpful.
f
I could see that my only concern would be validation that the variable had a valid input in that case
You are welcome to add this to the feature request channel though. https://discord.com/channels/1108396290624213082/1111026806254993459