01 / 22HTTP Request
Subscribe to YouTube Notifications
Add a Manual Trigger node named "When clicking 'Execute workflow'" and a Schedule Trigger node named "Trigger every 5 days", both feeding an HTTP Request node named "Subscribe to YouTube Notifications". It POSTs to PubSubHubbub's hub, asking YouTube to push a ping to your webhook whenever this channel uploads, and periodically re-subscribes since these subscriptions expire.
6 things to set here- 1Open the HTTP Request node — double-click it on the canvas
- 2URL — copy the value below
- 3hub.topic — copy the value below
- 4hub.callback — copy the value below
- 5hub.mode — copy the value below
- 6Check before moving on — A successful call re-establishes the push subscription for another lease period.
URL
https://pubsubhubbub.appspot.com/subscribe
hub.topic
https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_CHANNEL_ID
hub.callback
https://your-n8n-host/webhook/youtube-trigger
hub.mode
subscribe
hub.lease_seconds
864000
Checkpoint
A successful call re-establishes the push subscription for another lease period.