Solved

Dynamically Selecting a Web Feed

  • 3 March 2024
  • 1 reply
  • 27 views

Badge

Let’s say I have 10 web feeds, User A is interested in WebFeed1, and their Klaviyo profile has a custom property named feed_name that stores the feed they are interested, in this case “WebFeed1”.

Is there a way to dynamically select a WebFeed1 and include only content from WebFeed1 in User A’s email without creating a separate campaign for each web feed or using a bunch of if/else conditional logic? I’m thinking something like:

 

{% for item in feeds[person|lookup:”feed_name”].rss.channel.items %}

//render something interesting from the feed

{ %endfor %}

 

Or something similar?

 

Thanks in advance!

 

icon

Best answer by Brian Turcotte 5 March 2024, 19:58

View original

1 reply

Userlevel 7
Badge +36

Hi @kdmny30!

At this time, there is no such logic, but I will definitely forward this to our product team for future feature consideration!

Best,

Brian

Reply