lets say I have input (simplified) like this
[ { type: "text", text: "how are you {name}" }, { type: "input",