# Segment contacts dynamically based on products/services

**URL:** <https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814>\
**Category:** Product Support\
**Created:** [September 10, 2021, 11:59am UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814 "2021-09-10T11:59:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wlandgraf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wlandgraf/32/764_2.png) [@wlandgraf](https://forum.mautic.org/u/wlandgraf)\
**Post date:** [September 10, 2021, 11:59am UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/1 "2021-09-10T11:59:16Z")

</div>

Reading the topic created here: [Can Mautic Do This?](https://forum.mautic.org/t/can-mautic-do-this/20706) I saw an interesting requirement:

> [@Can Mautic Do This?](https://forum.mautic.org/t/can-mautic-do-this/20706/1):
>
> Also to send targeted marketing in related services they are segmented in yet.

I wonder, regardless if using API or not, how to accomplish this? If you have a dynamic list of services, what is the best way to setup Mautic to know which contacts belong to each service, and how to extract that information?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 11, 2021, 7:41pm UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/2 "2021-09-11T19:41:59Z")

</div>

Do you want to create personas of your visitors to understand what services they are interested in?

---

<div class="post-metadata">

**Author:** ![wlandgraf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wlandgraf/32/764_2.png) [@wlandgraf](https://forum.mautic.org/u/wlandgraf)\
**Post date:** [September 11, 2021, 8:53pm UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/3 "2021-09-11T20:53:20Z")

</div>

No, I want to segment contacts per service then purchased so I send them more specific information.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 12, 2021, 5:52am UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/4 "2021-09-12T05:52:58Z")

</div>

You can create custom fields which store information about the services they purchased.  
But you need to get the right data into Mautic.

You can

1. Import by csv
2. Use zapier, integromat or n8n to connect with your selling platform / crm
3. Use javascript on your thank you page and submit the data
4. Use an api call when the services are purchased
5. You can manually fill in the data

Create segment based on cistom field and start the campaign.

---

<div class="post-metadata">

**Author:** ![wlandgraf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wlandgraf/32/764_2.png) [@wlandgraf](https://forum.mautic.org/u/wlandgraf)\
**Post date:** [September 12, 2021, 2:03pm UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/5 "2021-09-12T14:03:39Z")

</div>

But is it possible to create a custom field that has multiple values, and even be dynamically modified? For example, I could have services A, B and C. How to configure a custom field so a customer is configured to have services “A” and “C”? And if a new “D” service is created later, it could be added?

Btw, thanks a lot for your time and help, @joeyk.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [September 12, 2021, 6:28pm UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/6 "2021-09-12T18:28:20Z")

</div>

Yes sure.  
In settings - custom fields you can create any field you want. Choose select - multiple kind and add the list of options there (write the same in both columns)  
You can add more options by clicking on the yellow button.

---

<div class="post-metadata">

**Author:** ![wlandgraf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wlandgraf/32/764_2.png) [@wlandgraf](https://forum.mautic.org/u/wlandgraf)\
**Post date:** [September 12, 2021, 6:53pm UTC](https://forum.mautic.org/t/segment-contacts-dynamically-based-on-products-services/20814/7 "2021-09-12T18:53:21Z")

</div>

Thank you very much.
