Agent Builder Usecase transform node issue

Does anyone know how to properly use the Transform node in Agent Builder? I’m building a workflow where a reasoning model selects the closest related card from a vector store using a dynamic object. However, I’m getting a string-type error — after transforming the data, my agent node doesn’t receive the expected strings. Any idea what I might be missing or where I can find clear docs or examples on this?