Menu
Feedback
Start here
Tutorials


Tutorials
Studio
Dynamic groups
2 min read

Dynamic group and contact searches

In the contacts tab, there is a search bar. This search bar can be used to find and filter contacts that obey the rules defined in the bar. Normally, we use contact fields and some operators to make the search expression, that is:

If my group has the contact field ""Age"" and the contact field ""Gender"" and I want to know how many male contacts are over 18 years old, I can use the following expression in the search:

Age > 18 AND (sexo = ""M"" OR sexo = ""Male"")

Below are some of the operators that we can use in these searches:

  • AND (-and

  • obeys both rules at the same time)

  • OR (-or

  • obeys one of the rules)

  • , >= (Greater than, greater than or equal to)

{"base64":"  ","img":{"width":493,"height":114,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":6705,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/weni-by-vtex/studio/dynamic-groups_1.png"}}

That is, a dynamic group is a type of group where we cannot manually add and/or remove users. All added users enter the group if they obeyed the search rule.

In case you click on the button to save your dynamic group, a pop-up will appear to choose the name of your new group.

{"base64":"  ","img":{"width":547,"height":212,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":6546,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/weni-by-vtex/studio/dynamic-groups_2.png"}}

In case you want to edit the name of the group, export the participating contacts, delete the group or even modify the rule for participation, the process is the same as for static groups.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Creating contact from an external Webhook
« Previous
Editing events
Next »
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback