🎬 YouTube transcription & translation to Google Docs with Gemini AI

⚡ 1,943 views · 🎬 Content Creation & Video

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

YouTube Transcription, Summarization & Translation to Google Docs

This workflow automates the end-to-end process of converting YouTube videos into structured, multilingual written content. It transcribes the video’s speech, optionally summarizes it, translates it into the chosen language and stores the result in a well-formatted Google Doc—ready for review, sharing or publication.

Who’s It For

How It Works

  1. A Webhook triggers the flow with inputs: youtube_url, language and enable_summary.
  2. A Code node formats these inputs into videoId, originalUrl, language and enable_summary.
  3. An HTTP Request node sends the video to Supadata API for full transcription.
  4. Another Code node combines all transcript segments into one body of text.
  5. The Basic LLM Chain node uses the Google Gemini Chat Model to summarize and translate the transcript if requested.
  6. A Google Docs node creates a new document with a title based on videoId and language.
  7. A final Google Docs node appends the processed summary and translation into the created document.

How to Set Up

  1. Webhook Input: Send a POST request with three fields: youtube_url, language, enable_summary.
  2. Configure Supadata API: Add the HTTP URL and Authorization Header for transcription.
  3. Set up Gemini Chat Model: Use Google Vertex AI/Gemini integration in the Basic LLM Chain node.
  4. Create Google Docs Credentials: Connect your Google account using OAuth2.
  5. Document Naming Logic: You may adjust document titles using expressions (e.g., {{ videoId }} - {{ language }}).

Requirements

How to Customize

Add‑ons

Use Case Examples

Common Troubleshooting

IssuePossible CauseSolution
Webhook not triggeringIncorrect webhook URL or POST formatDouble-check payload and content-type (application/json)
Transcription API failsInvalid video ID or API keyValidate YouTube URL and Supadata API access
Empty translation/summarizationTranscript was empty or prompt was weakEnsure the video contains spoken content and refine prompt
Google Doc not createdOAuth2 credentials not authorized properlyReconnect Google Docs credentials in n8n
Gemini LLM Chain failsModel misconfigured or request malformedVerify your model selection and payload structure

Need Help?

Need help getting this set up or customizing it for your workflow?

✅ We can help you:

👉 Contact WeblineIndia’s automation experts !

🔗 Nodes Used

HTTP Request, Webhook, Google Docs, Basic LLM Chain, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup