Check a value and end the iteration after get the desired value

Hello,

I don’t know if I will manage to explain this well. I am exporting LinkedIn posts of the leads in my CRM. Some of the posts are reposts and some are posts that the people wrote themselves. When I get the posts I get them in bundles. I have a data point where it shows if the post is a repost or not.

I need to get only the last post that is not a repost. So the iteration needs to stop when it gets the 1st post with a “false” value.

Any idea how I can do that?

Thanks

Sure you just put a filter after your HTTP request, remove the operator and check the is_repost value for true and then continue your scenario. The HTTP is ALREADY creating the necessary output bundles so you don’t need an iterator.