I want to pull just the group name for contacts, not the UUID as well in a flow
When using @contact.groups, it pulls the name and UUID.
There is a variable available for @contact.groups.name but it doesn’t produce anything in the flow when utilized.
Hi Olaolu,
It’s a bit of a mouthful but you can get the names of the groups a contact is part of using the expression: @(format(foreach(contact.groups, extract, "name")))
More on those functions here:
https://textit.in/mr/docs/expressions.html
Cheers,
Nic
--
You received this message because you are subscribed to the Google Groups "rapidpro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rapidpro/ab1f2a7d-4434-4a32-8359-1490dfa35114%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "rapidpro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapidpro+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rapidpro/b7560ef5-9c05-4d61-bce2-5e90f36e9a6d%40googlegroups.com.
Sure, just have a wait for response that is open ended, save that as a result, then have a split by result for each group.
On Fri, Feb 21, 2020 at 10:51 AM Olaolu Abiodun <mro...@gmail.com> wrote:
That worked!--Folow up question. is it possible to join a contact to multiple groups with one response in a flow? When I use has any of the words in "split by expression", it only recognizes the first response and none of the followup words.For example, if i had three groups, say "FB", "TWT", "SMS" and each group's keyword to join was it's respective name. if the contact responds with all three in a flow, in order to jin all three groups, only the FB would be recognized (if it was th eone entered first).Does that make sense?
On Wednesday, February 19, 2020 at 11:38:20 AM UTC-5, Olaolu Abiodun wrote:Hello All,Your help would be very much appreciated.I want to pull just the group name for contacts, not the UUID as well in a flow
When using @contact.groups, it pulls the name and UUID.
There is a variable available for @contact.groups.name but it doesn’t produce anything in the flow when utilized.
You received this message because you are subscribed to the Google Groups "rapidpro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rapi...@googlegroups.com.