Turn every new YouTube upload into a branded image post on social

Step 1 of 22

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.

The n8n panel for: Subscribe to YouTube Notifications6 things to set here
  1. 1Open the HTTP Request nodedouble-click it on the canvas
  2. 2URLcopy the value below
  3. 3hub.topiccopy the value below
  4. 4hub.callbackcopy the value below
  5. 5hub.modecopy the value below
  6. 6Check before moving onA successful call re-establishes the push subscription for another lease period.
HTTP Request panel in n8nTap to enlarge
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.