Question

How to Get Unique Values from Collections

  • 6 March 2024
  • 1 reply
  • 23 views

I’m currently needing to assign unique promo codes to customers in a campaign. This will be thousands of customers at a time. What’s the best way to achieve this in Customer.io?  I looked at the Collections and Query Collection options to update customer attributes with unique values. 


1 reply

Userlevel 2

Hi there,

This is Byron from the support team. At this time, querying a unique value in a collection is not possible. We have a request open with our product team for a feature like this, so I’ve added your “vote” on your behalf and included a link back to this thread.

 

In the meantime, you might consider adding the promo codes as an attribute to profiles, and if they’re a one-time use code, removing them later.

Reply