How can I send card as much as possible automatically?

(Bravedragon623) #1

Now I am developing web bot with flowxo.
Now I have to send card automatically and the number of cards varies on cases.
But I can only find static card number on flowxo.
How can I do it?

(Daniel Beckett) #2

Hi @bravedragon623

There’s unfortunately no built in way for data outputs to be automatically incremented (outside of using some JavaScript in the code service). If you know how many results you potentially need to send then you could have filtered actions for each card. For example, if you know that the maximum number of cards you’ll only even need to send is 4 then you have a filtered action for each possible output

data.output 1 is not empty
data.output 2 is not empty
data.output 3 is not empty
data.output 4 is not empty

etc.

(Bravedragon623) #3

Thanks for your kind answer, Daniel.
:+1: