I have a flow to create an IT ticket, which gives the option for the user to upload a screenshot along with the ticket. So basically in flow a it asks do you want to add a screenshot. If yes, flow a sends a message “paste your screenshot below”, then a go to flow trigger sends it to flow b. Where the new file trigger is waiting for the user to upload the screenshot. In my logs it detects the file was uploaded but for some reason it never goes to the next question. And when i check the logs it says it “The question couldn’t be asked because another question was already waiting to be answered.”
So i guess the question is, how come the new file trigger isn’t moving on to the next question after the user already uploaded the file?
The question couldn't be asked because another question was already waiting to be answered
Hi @dandorestant,
When the bot asks the user a question it always expects to receive an answer (or for the user to quit or skip the question). If you want them to send a file it’s better to use send a message instead so that the user isn’t stuck answering the question. You would then continue the actions in your other flow that has the new file trigger.
Thanks! didn’t realize i had the last action in flow A set as a question.
Now i have another problem. I thought the trigger a flow function in Flow A was sending me to flow B, but in reality Flow B was just detecting the new file because i had no filters set. So my next question is, how do i get Flow A to trigger Flow B, because flow B is useless without the metadata from Flow A.
In the logs i get, “No triggers matching the keyword”. So i guess i’m not sure how to tell Flow A how to find Flow B
Hope that makes sense
The user’s response path is automatically picked up on the new file trigger so you can grab attributes in the new flow and carry out further actions.
Here’s a basic example:
Hope that helps!
That was a big help. i removed the “go to Flow B action” from Flow A and set the attributes and it works perfectly.
I also added a set attribute action that only runs if they say yes to my “do want to add a screenshot?” question. it sets my screenshot attribute to screenshotyes
Then for Flow B i added a filter to only run the new file trigger if the screenshot attribute equals screenshotyes
Then once the flow is complete it changes the screenshot attribute to screenshotsent, so that if i send any more files to the bot the trigger doesn’t run.
Everything is working perfectly now, Thanks for all your help!