Hi,
I’m trying to automatize recommendation emails that would be sent to a segment. The recommendations (a list of urls and labels) are unique for each user, computed by my application and will be send to Customer.io though the API in order to be sent by email. I’m wondering what is the best way to do that.
So far I have two ideas :
- Foreach user, compute recommendations, send an event with an array of urls/labels in event data, add a campaign triggered by this event and filtered by my segment, loop in the email template on event data.
- Foreach user, compute recommendations, update a person attribute with an array of uls/labels through the API, create a broadcast using my segment and loop on urls/labels from customer attribute, send it using the API.
Both approches are similar, send custom recommendations in events or in persons updates. What do you thing about theses ? I fear the large number of API calls (~10k users), are we limited ? Is there a better way to achieve that ? Should I use CSV import instead ?