custom trigger in middle of the workflow
# 🤝help
m
Hey Team Good noon, I create a voice to text trigger with an external button. When i click the button at the beginning of the workflow, i let the browser record my voice and sends the transcript to the bot using custom trigger and use it as a text choice in raw input. But when i am already inside the workflow and on the text bot where i expect the voice to text to work, the custom trigger is reaching the bot but the raw input with options is not updating. the user's transcript should be added to the list of choices in the raw input. the raw input's message is just repeating, thanks for your help in advance. Let me know if this is a little confusing. i can clarify. https://cdn.discordapp.com/attachments/1221871123881529505/1221871124149698570/image.png?ex=66142729&is=6601b229&hm=6106a0087e832341767edbc9212893e49022b871cf09fc4c9a0ae1e09f2987a1& https://cdn.discordapp.com/attachments/1221871123881529505/1221871124443435068/image.png?ex=66142729&is=6601b229&hm=986c3bc8dea289d338afcf9e5eb2bb61a7fce2119dad61ee398c402a7787114c&
Hey @ancient-judge-90472 do you know?
a
Hey @fresh-fireman-491 , i am trying to do the same thing but the raw input is not getting updated . can you please have a look at it.
f
Hi, This is by design, triggers are not used for that. However, as a workaround, you can have a variable that store where the user was, then after the trigger card add a bunch of transitions/expressions that should redirect the bot to where it was.
m
Thanks @famous-jewelry-85388 for the reply.. yes i did something like this in the bot. I got the value what the user said and store it in a variable and then added it to one of the options.. it works when i do the trigger alone.. but when the control has reached a raw input and waiting for an input.. if i use the trigger there, the trigger flow should reach the same node with the value as one of the choices, but the node does not refresh with the latest choices. thanks for the help in advance. Also is there a better way to do this.. to add accessibility to the bot, like text to voice and voice to text?
3 Views