Any experience/advice creating flows dynamically i...
# ask-community
t
Any experience/advice creating flows dynamically in one script? I have several client configs in json files and one flow looping around those configs to execute the tasks according to each client. I was thinking of dynamically loop but have many flows created instead. any thoughts?
d
Hi @Tomás Emilio Silva Ebensperger! If you have the ability to load the list of Clients and associated Config somewhere (I like to use Firestore on GCP for this purpose) you can
map
over the list of configurations to perform
n
actions for
n
Clients within your Flow
t
thanks! but would that be only one flow?
or as many as the ones you map?
d
That will be one Flow, but you can perform
n
Tasks per configuration
t
sounds good man, thanks i appreciate the help
d
Anytime!