I have a Set Variable Module that returns me a list of names. Then, I created another module that should pick one of the names randomly, but is not working. How should I do that?
1 Like
Hi @Luisa_Scaletsky, welcome to the community!
Getting random team members name is an interesting use case around getting random item from array.
Here are the steps that you can follow to get that:
-
Take this array as an example.
-
Use this formula as shown in screenshot below : where i am getting name from first item of the shuffled array. you can use different keys to get different items.
-
this will be the output of the function
If i randomize that 25 times and arrgegrate using text aggregator, this is how it looks, just for an example.
1 more example with different key -“role”
Output:
I am sure this will help you in your use case to get random team member name.
Let me know if you have any questions!
Best,
@Prem_Patel