Save Telegram Files to Google Drive Automatically with n8n

This n8n workflow automates saving files received via Telegram messages directly to Google Drive, eliminating manual downloads and uploads. It ensures important files are securely backed up immediately as they arrive, saving time and reducing error.
telegramTrigger
if
googleDrive
Workflow Identifier: 1645
NODES in Use: Telegram Trigger, If, Google Drive
Save Telegram files with n8n and Google Drive

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow automatically saves files sent to a Telegram bot into a Google Drive folder. It solves the problem of manual downloading and uploading of files, saving you time and avoiding mistakes. Every new file received in Telegram is instantly uploaded to the right Google Drive folder with the original name kept.

The workflow runs all the time. It watches for new Telegram messages with files, downloads those files, and uploads them to Google Drive without you touching anything.


Who should use this workflow

This is good for people who get many files through Telegram and want to save them fast and safely. It helps freelancers, remote teams, or anyone tired of moving files manually between Telegram and cloud storage.


Tools and services used


How this workflow works (Input → Process → Output)

Inputs

Incoming messages to the Telegram bot that include file attachments.

Processing Steps

Output

The attached file from Telegram saved in the chosen Google Drive folder, ready for use.


Beginner step-by-step: How to use this workflow in n8n

Importing the workflow

  1. Click the Download button on this page to save the workflow file.
  2. Open the n8n editor and select “Import from File”.
  3. Find and import the downloaded workflow file.

Configuring credentials and settings

  1. Go to Credentials in n8n and add your Telegram Bot API Key.
  2. Add your Google Drive OAuth2 credentials.
  3. In the Google Drive node, update the folder ID with your target Drive folder.

Testing the workflow

  1. Send a file message to your Telegram bot.
  2. Check if the file appears in the Google Drive folder.

Activating the workflow

  1. In the top right, toggle the workflow switch to “Active”.
  2. The workflow now runs continuously, saving new Telegram files automatically.

Remember to verify bot permissions and credentials if files do not upload.

If running n8n under heavy use, consider self-host n8n for better performance.


Customization ideas

  • Change the Google Drive folder by editing the folderId in the Google Drive node.
  • Filter file types by checking $json.message.document.mime_type in the If node.
  • Rename uploaded files using expressions like "ClientFile_" + $json.message.document.file_name.
  • Add a notification node (Slack or Email) after the upload to get alerts when files save.

Edge cases and troubleshooting

If files do not upload, check Google Drive folder ID and OAuth2 credentials are correct.

If the Telegram trigger does not fire, confirm the bot’s message permissions and that the n8n webhook URL works.

Always keep a backup of your workflow export to restore if needed.


Summary of results

✓ Saves Telegram files directly to Google Drive folder automatically.

✓ Keeps original file names intact.

✓ Runs all the time without manual effort.

✓ Cuts down time spent managing files by around 30 minutes daily.

✓ Reduces risk of file loss or misplacement.

Save Telegram files with n8n and Google Drive

Visit through Desktop to Interact with the Workflow.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.