Hey all. Is it possible to modify a user message b...
# 🌎general
e
Hey all. Is it possible to modify a user message before it goes to the Knowledge Base node? I tried to create one node before the KB node, in which I edit the event.preview and event.payload.text fields, but it seems like it doesn't work at all
e
Hey @eager-accountant-7961, that is a use case for hooks! Go to the Hooks tab and create a "Before Incoming hook"
There you read the user input with
event.preview
, do some processing and set a new value for it.