Here is a workflow example of how I use a set node to normalize the input to the AI Agent.
Hope this helps.