⚡ Only 300 spots remaining • Closes in 2d 14h 32m

Back to Workflow Library
Social Media

AI-Powered YouTube Comment Auto-Replier

Scale comment engagement. This workflow scans new comments on your YouTube channel, feeds the comment text to a Google Gemini AI node to draft a supportive reply, and submits it to YouTube.

#YouTube
#Gemini AI
#AI
#Engagement
#Social Media

Automation Logic

n8n JSON Blueprint

This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.

This is an exclusive blueprint. Copy the JSON below to use it.

QUICK DEPLOY

  • 1
    Download the .json file
  • 2
    Open n8n & click "Import"
  • 3
    Configure your API keys

PRO TIP

Always test your workflow in a development environment before pushing to production.

JSON BLUEPRINT

n8n-workflow.json
{
  "nodes": [
    {
      "parameters": {
        "channelId": "your-youtube-channel-id",
        "limit": 10
      },
      "name": "YouTube Comment Trigger",
      "type": "n8n-nodes-base.youtubeTrigger",
      "typeVersion": 1,
      "position": [
        100,
        300
      ]
    },
    {
      "parameters": {
        "model": "gemini-1.5-pro",
        "prompt": "=Reply politely to this user comment: {{$json.textDisplay}}"
      },
      "name": "Draft AI Response",
      "type": "n8n-nodes-base.googleGemini",
      "typeVersion": 1,
      "position": [
        300,
        300
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://www.googleapis.com/youtube/v3/comments",
        "headers": {
          "Authorization": "Bearer youtube-token"
        },
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "snippet",
              "value": "={ \"parentId\": \"{{$node[\"YouTube Comment Trigger\"].json.id}}\", \"textOriginal\": \"{{$json.text}}\" }"
            }
          ]
        }
      },
      "name": "Post YouTube Reply",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        500,
        300
      ]
    }
  ],
  "connections": {
    "YouTube Comment Trigger": {
      "main": [
        [
          {
            "node": "Draft AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Draft AI Response": {
      "main": [
        [
          {
            "node": "Post YouTube Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

To use this, copy the JSON above and paste it directly onto your n8n canvas.

IMPLEMENTATION GUIDE

Required Nodes

  • YouTube Node
  • Gemini AI Node
  • AI Node
  • Engagement Node
  • Social Media Node
  • Cron / Webhook Trigger

Core Benefits

  • 100% Automated Execution
  • Reduces Manual Data Entry
  • Infinite Scalability

Need Help Building Your Private Cloud?

Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.

user