I have some certain template texts in array
Ex:
[ I understand that you have questions about '${title}' , Let me help you with that.
,
I definitely can help you to navigate to '${title}', let me find that for you .
,
I can certainly help you navigate to '${title}', let me find that for you
,
You requested '${title}' I will help you to find more details
,
Thanks for selecting '${title}' give me a minute to get the details
,
All right! You choose '${title}' Give me a minute to get that details.
,
Allow me to give you a few minutes to find out the details of '${title}'.
,
Let give me a few minutes to come up with the details of '${title}'.
,
Okay! You choose '${title}'. Please wait a few seconds to get the details.
]
here ${title} i want to replace user selected payloads and the response should be a dynamic one.
After that i need to send this as response into api. so can anyone please help me out.