I am trying to trigger an action every time a specifc YouTube channel uploads a new video.
Tried several configurations using Webhook and HTTP Request nodes but couldn’t make it work.
I also followed the guidelines from YouTube>Data API>Guides>Subscribe to Push Notifications on how to use PubSubHubbub, but I seem to be lacking some very basic understanding of how to bring it all together.
The main problem I am facing is how to subscribed the Webhook and get it successfully verified.
Basically, I created a Webhook Node
Then, using the Test URL, hit and, while is still active, I go to PubSubHubub and subscribe the Test URL along with the YouTube Channel Feed URL:
This returns a blank page with a Challenge mismatch. message.
At the Webhook I get a response with the challenge:
From the documentation, I gather that, to successfully verify the Webhook, I have to send back the challenge in the body of a POST request.
That is when I get the most confused. I tried many configurations
And was expecting to receive details about the channel updates, but this doens’t happen and even when this node doesn’t return an error,
as I check the Subscriber Diagnostics,
the subscription appears to be unverified:
What would be the correct way to receive the push YouTube notifications in my Webhook and from that, be able to send an e-mail, for example?