
8eb02 (8eb02) asked a question.
I want to fetch the Group Names of a User in comma separated string.
I have used the "Get Users Groups" card but then don't know how to convert that output into comma separated string.
For example I have below output from the "Get Users Groups" card (Groups that are assigned to a User).
And I need the "Profile.Name" path value to be comma separated like "Everyone,Test Group1,Test Group2". So how can I achieve this.

@8eb02 (8eb02) .. pass your output to - "For each" card to parse the list of groups returned (your screen above) and call a "helper function" and pass each group object at a time and follow that with a "Get card" to filter profile.name for each group and you can write to a db/create your csv
HTH
-Bala
@User1646066528187443648 (Okta) can you suggest any other approach without writing to a db/create csv because I have to pass these comma separated groups name to the another workflow card, there is no need to store these values in any of the file.
@8eb02 (8eb02) - Here is how:
Make sure the "Pluck" output is a list of text
For the separator it can be what ever you want. The example here is comma space so without params (, )
Resulted in:
Everyone, Australia, group1, OktaGroupA, isTestGroup, testQueueGroup, queue_group, rateLimitTest, exclude1, specificWorkspaceGroup, test0365, testGroupAdd, drainGroup, ruleTestGroup, campaignEveryone, slackGroup2, privledgedUsers, allUsers, everyoneTest, MFA for Everyone