Hi,
Would like to ask if there is a way to pass data to the next flow where the shortcut button is redirected?
Thank you so much for the response.
Hi,
Would like to ask if there is a way to pass data to the next flow where the shortcut button is redirected?
Thank you so much for the response.
Hi @Swoop_Loop,
The buttons on a card set work as keyword flow triggers, therefore if you set up different flows with each of the shortcut buttons as triggers the respective flow will trigger dependent on the button the user presses.
Alternatively, you could use the Ask a Question feature after sending the card set and then whichever button the user clicks from the card set will be stored as the answer to the question.
I hope this helps, if you have any further problems please don’t hesitate to ask.
@KarenBarker So you say that a shortcut can be used as a keyword trigger however correct me if I’m wrong but this is then in a new flow therefore the data from the originating flow is now lost?
Is there not a way to use the shortcut to goto a label within the flow?
Also within my flow I have an http request which has the response available in a JSON format. I can display the first record in a card then need to use the shortcut to trigger the next or previous record.
So several issues here;
a) I need to stay in the same flow to keep the JSON response - correct?
b) I may be able to increment to the next record using “n” expression. //need to check that
c) There’s no equivalent to go back to the previous record.
d) further there’s no way to directly index a record as the index is hardcoded within the expression e.g. #
Hi Andrew,
The best way to handle this if you want to stay in the same flow would be to Ask A Question immediately after the card. The shortcut button being pressed then becomes the answer to the question as opposed to triggering a new flow. You can then continue in the flow and if required use the answer to the question to shape the direction the user takes in the flow by going to a label etc.
The code service would be the best option to allow you to navigate through your JSON object and return the required node to add to the card.
@KarenBarker @DanielBeckett I agree that Ask A Question appears to be the only workaround however this breaks the Card paradym which provides for these types of shortcuts. Having another activity step to ask the question is messy.
Could you consider jumping to Labels within the flow as a new feature for Cards?
Also, there is a downside with the workaround that this invokes another flow which, correct me if I’m wrong, would be set against the usage i.e it would cost more to implement?
Regards
ps - Flow XO is a great platform so I don’t want to sound negative - just needs some relatively simple tweaks
The workaround for using a question after a shortcut actually saves on interactions since you’re keeping the user within the same flow.
Thanks for the suggestions though - we’ll certainly keep them in mind
@DanielBeckett I can see that this helps Flow XO’s commercial model however this is restrictive. I need to try this but is it legitimate to re-trigger the same flow and is this then classes as a new integration?
Hi Andrew,
Since ‘Ask a Question’ would be capturing the shortcut values and not another flow an extra interaction wouldn’t be used. An interactions is only counted when a flow is triggered, i.e. the first action in the flow is run. When using Goto a label in the same flow this also doesn’t use an additional interaction.
Agreed this is okay for Ask A Question which can goto a label however for Short Cuts eg in a Card cannot use goto label and can only go to a flow. Even if the flow is in the same flow this triggers another trigger event which is of course counts towards the interaction allowances
But if you send the card set with the shortcuts and then immediately after that insert an ‘Ask a question’ action to capture the shortcut choice you can direct them to another point in the flow using Goto a label
@Danielblackett okay I can see this is a possible workaround however correct me if I’m wrong but the Goto a Label action may only be used 20 times (in total) during the course of a flow. https://support.flowxo.com/article/151-flow
The only scalable solution is to use another flow - agreed?
Yes the GoTo label can only be used 20 times in 1 flow. This is to stop you being able to cause infinite loops which could seriously impact the behaviour of your bot. What is sometimes possible however would be to have an Attribute that counts to 20 and then retriggers the same flow - this is at least only 1 additional interaction per 20 loops of the flow as opposed to 20 interactions. For other people simply filtering further actions in the flow based on the shortcut button clicked on the card is ample.
The best way to handle this really does depend on exactly what you are trying to do with your flow.
Hello @KarenBarker, how are you?
Taking advantage of your explanation, what is the best procedure for counting the 20 interactions and what is the way to reset the same flow to continue?
Sorry for my bad English.
Hi @hitobot,
I see you’ve sent this in to our support email as well so I’ve responded over there with further information
@KarenBarker @hitobot Karen, I would be interested in your response too. i.e. best way to count and reset to the same flow. At the moment I have removed goto actions and always re-start the flow however at scale this is wasteful on interaction costs.
The solution is to set an Attribute to +1 inside the loop which counts to 20. On the GoTo label you’ll then need a Filter that says attribute < 20. After this you’ll need to retrigger the flow to get another 20 iterations of the loop.
Here’s an example flow showing how this works:
I tried to do it with Card Shortcuts and Message Shortcuts, but didn’t succeed.
First of all, which type of Ask a Question we should ask? Text or choice?
Second, if question needs to be choice, then do we need to make any actual choices or leave it blank?
When I ask for a Choice question without actual choices inside, right after Card/Message Shortcuts, it just says nothing and waits for clicking on Shortcut, then it restarts a flow. No answers from Shortcuts recorded.
When I ask for a Text question, right after Card/Message Shortcuts, it waits for input of text answer, then does nothing and then restarts a flow. No answers from Shortcuts recorded.
Please help
CHOICE QUESTIONS
If you set up a choice question you can display button choices ~(shortcuts) so the user can click on one of your choices. Here, the user will see:
Your question.
[Choice One] [Choice Two] etc
You will need to provide those shortcut options here.
Once a user clicks one of these choices, your flow can then send a message or a reply.
You could filter those replies based on the answer above i.e
Send Message - filter (answer equas Choice One)
Send Message - filter (answer equals Choice Two)
TEXT QUESTIONS
If you just sent a text question your user will receive just the question and can type a reply.
You can then continue sending further messages in your flow.
If you having issues with your flow you can share this using the [Private button] at the top of your flow. This will give you a link to share with the support team support@flowxo.com i’m sure we can help get things working well.
Thanks, Sarah.
But these are Question actions. I know and understand them and answers from Choice Question (“shortcuts”) work perfectly well. What I can’t understand is how to catch answers given by Card/Message shortcuts (without quotation marks here) into Question following right after it, as Karen mentioned in her post.