How to wait, but not for the first item

Hi!

I have a RSS feed Trigger. I’d like, if there is multiple items, to share the first immediatly, then share each every X min. How could I do that?

Bonus: if it’s late, how to wait tomorrow morning?

Hi @camilleroux, you just told the answer: “if”

You can utilize the “IF” node with the following expression {{ $input.all().length }} to count the number of input items:

This will help you determine the count of items being processed, then you can complete your logic…

2 Likes

Ho yes of course ! Thanks a lot
And, how could the next morning to start sharing them?

1 Like

One approach: You can store every item you receive in a database—like a Google Sheet—with columns such as [id, item, share status]

Then, set a trigger to run every X minutes (or on any schedule) to check for new items that haven’t been shared yet.

Hope that makes sense!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.