SOLVED - 1 question, many flows: how to use the first answer?

(Michael Mallmann) #1

Hi!

I have a main flow and depending on the users’ answer I trigger different flows, lets say flowMAIN, flowA, flowB, flowC and so on.

When using the WebBot, I need to ask for the USER NAME, as this value is empty by default. So far, so good.

How can I use the name I asked in the flowMAIN within the flowA, flowB, flowC …?
Basically I need a way to “transport” the data from one flow to another.

Thanks for your help!

(John Jackson) #2

Hi Michael, what you need to do is (after you’ve collected the name) save it as an attribute (maybe ‘name’).

Then, in any other flow, you’ll get ‘name’ in the attributes data output on the trigger.

So to use it, you should select the attributes output and then amend it so it reads like this:

{{new_message.attributes__name}}

Which should print out the name you saved in any flow.

(Michael Mallmann) #3

Hi John!

I tried, but it doesn’t seem to work.
Let me explain what I did.

In FlowMain I set a BOT Ask Name, then I set a Bot Attribute.
In FlowA I set a Bot Get Attribute, then I tried to use the Attribute Name
and it didn’t work.

Is there anything wrong?

Thanks!

(John Jackson) #4

All seems in order Michael. Might be best to open a support ticket at support@flowxo.com. Please send screenshots of the expanded log entries so we can see what info is being set or obtained at each stage. :+1: