Hello, I want to create an automation with n8n. I want the automation to notify me on Telegram when the YouTube channels I specify upload new videos. I’m not sure how to do this; can you help me?
You could do something like this:
In order to return results, I picked a date early in October - but in order to do what you’re looking for exactly, you’d need either:
- Implement a polling logic. In other words, store the Ids of the already processed videos in a database/Google Sheet etc., then run the workflow every 5 minutes fetching all videos and filter out those that have already been processed. If you set this up, it would be unlikely for you to see a duplicate message.
- A simpler approach would be to simply run your workflow every 5 minutes and then search for videos published after whatever time it was 5 minutes ago. To achieve this you’d need a Schedule Trigger node (to have the workflow run every 5 minutes) and then set the published after value from your screenshot to an expression like
I’d probably go with option 2, personally!
can you share me option 2 ? thanks
That would look something like this:
Thank you so much, i will try