Send Files to Kindle via Telegram Bot
detail.loadingPreview
Automatically send documents received via a Telegram bot to your Kindle email address.
About This Workflow
This n8n workflow automates the process of transferring files from a Telegram bot directly to your Kindle device. When a user sends a file to your designated Telegram bot, this workflow will capture the file, extract its name, and forward it as an email attachment to your Kindle's unique email address. This is a convenient way to get documents, articles, or books onto your Kindle without manual intervention.
Key Features
- Telegram Trigger: Initiates the workflow upon receiving a new message from a Telegram bot.
- File Detection: Checks if the received message contains a file attachment.
- File Renaming: Extracts the original file name to be used in the email subject and body.
- Email Sending: Forwards the file as an attachment to a specified Kindle email address using Microsoft Outlook.
- Success Notification: Sends a confirmation message back to the Telegram chat upon successful delivery.
- Error Handling (Basic): Provides a warning message if no file is detected in the Telegram message.
How To Use
Setup Guide
1. Telegram Bot Setup:
- Create a new Telegram bot using BotFather on Telegram.
- Obtain the API Token for your bot and configure it in n8n's Telegram Trigger node.
2. Email Configuration:
- Set up your email credentials (e.g., Microsoft Outlook) in n8n.
- Ensure your Kindle email address is configured to receive emails from your sending email address. This is done via your Amazon account settings (Manage Your Content and Devices -> Preferences -> Personal Document Settings -> Approved Personal Document E-mail List).
3. Kindle Setup:
- Find your Kindle's unique email address (e.g.,
your-amazon-username@kindle.com). - Important: In your Amazon account, under Personal Document Settings, ensure that the email address you are sending from is added to the Approved Personal Document E-mail List.
Workflow Nodes:
receive file message from telegram bot: Configured to listen formessageupdates and download the file. Requires your Telegram Bot API Token.check if there is a file in the message: An IF node that verifies the presence of adocumentin the incoming message. If no document is found, it routes to the warning node.rename file to as attachment out email: A Code node that extracts thefile_namefrom the Telegram message document and prepares it for the email attachment.send email with the file as attchament to kindle: Configured with your email service credentials (e.g., Microsoft Outlook). Set the To Recipients to your Kindle's email address and use the{{ $json.message.document.file_name }}expression in the subject and/or body. The Attachments should be set to use thedatabinary property.reply to telegram chat that the file has been sent successfully: A Telegram node to confirm to the user that the file has been sent.reply to warn that file is missing: A Telegram node to inform the user if no file was detected in their message.
Apps Used
Workflow JSON
{
"id": "2ed7d8b0-1886-42b2-a776-83f4512418e5",
"name": "Send Files to Kindle via Telegram Bot",
"nodes": 18,
"category": "File Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 2ed7d8b0-1886...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Slack Image Upload Workflow
This workflow automates the process of uploading images from Slack to a public S3 CDN, generating shareable links.
Automated Gmail Attachment Archiving to Google Drive with Metadata
Automatically process Gmail attachments, organize them into dated and company-specific folders in Google Drive, and add structured metadata.
Download and Upload Image via FTP
Downloads an image from a URL and uploads it to an FTP server, then lists files in the FTP directory.