Youtube Comments Reply Bot

Regarding the YouTube module: Has anyone implemented a solution or logic to enable automatic replies to YouTube comments as they come in? It seems that the n8n YouTube module does not currently support this functionality.

  • n8n version: 1.69.2
  • Database (default: SQLite): QLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): self-hosted in google cloud
  • Operating system: Windows10

hey @Kiremit

Just checking in to see if you’ve been able to implement this and want to share it with the community? Seem like a good use case :slight_smile:

No I did not.

There seems to be a comments API by google: Comments  |  YouTube Data API  |  Google for Developers and a commentThreads as well: CommentThreads  |  YouTube Data API  |  Google for Developers

You could perhaps manually check for comments and use an AI agent to insert/reply to comments based on that.

Hope this helps!

Problem is when setting up these requests manually you often need a refresh token and an access token. And at max that refresh token holds for 7 days until it needs to be manually refreshed unless you publish it as an app which is impossible if its for your own use case.