brave-dinner-14812
04/22/2025, 4:40 PMorange-egg-72655
04/23/2025, 1:58 PMjs
if (event.preview.toLowerCase().includes("shampoo")) {
// we can assume the user is asking for shampoo
// search the shampoo kb
workflow.kbId = "place-the-kb-id"
return ...
}
and then after calling such an action or execute code card, you would query the kb or search the kb with passing {{workflow.kbId}} inside the "Included Knowledge Bases" tab.brave-dinner-14812
04/23/2025, 4:34 PM{{['kb-id1', 'kb-id2']}} in the Included Knowledge Bases section in order to have the bot look in those two knowledge bases?orange-egg-72655
04/25/2025, 2:12 PMbrave-dinner-14812
04/29/2025, 7:08 PM