n8n

How to Automate Gmail and Telegram Video Updates?

Keep your team updated when your favorite YouTube channels post new videos. The automation collects the latest uploads, enriches them with extra details, and sends alerts by Telegram or Gmail as a digest or one email per video. It fits marketing teams, content managers, and community leads who track creators or competitors.

Channel IDs come from a simple form or a default list. The flow builds RSS feed URLs, reads up to 15 recent videos per channel, marks which ones are new, and filters out the rest. It then calls the YouTube Data API with your Google API key to pull richer data and merges everything into one clean record per video. OpenAI drafts clear email copy, while Telegram and Gmail nodes deliver either quick chat updates or scheduled summaries.

Set your Google API key in the variables node, connect Telegram and Gmail, and pick a daily schedule that fits your team. Expect to replace manual channel checks that take about an hour with a simple review that takes minutes, while making sure new uploads never slip through. Ideal for campaign monitoring, content curation, creator relations, and executive updates.

What are the key features?

  • Form submission collects YouTube channel IDs with a clear example to guide input.
  • Fallback to a default channel list when the form is empty to keep runs reliable.
  • Daily schedule and manual test triggers to control when checks happen.
  • Reads up to 15 recent videos per channel from YouTube RSS feeds.
  • Code marks which videos are recent based on publish date and filters only new ones.
  • HTTP request enriches each video via YouTube Data API using a Google API key.
  • Merge combines API results with RSS data for complete, clean records.
  • OpenAI creates readable email subject lines and bodies for per video or digest emails.
  • Telegram sends a concise message so teams see updates fast on mobile or desktop.

What are the benefits?

  • Reduce manual checks from 60 minutes to 5 minutes per day
  • Automate 90 percent of monitoring and focus on review only
  • Capture 100 percent of new uploads from selected channels within your schedule window
  • Handle 50 or more channels without extra effort using RSS and API calls
  • Connect YouTube Data API, OpenAI, Gmail, and Telegram in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with YouTube Data API, OpenAI, Gmail and Telegram. See the Tools Required section above for links to create accounts with these services.
  3. Create the Google API key: In Google Cloud Console, create a project, enable YouTube Data API v3, then generate an API key. Copy the key.
  4. Open the Workflow Variables node in n8n and paste your Google API key into the GOOGLE_API_KEY field. Save the node.
  5. Connect OpenAI: Double click an OpenAI Chat Model node, choose Credential to connect with, click Create new credential, then follow the on screen steps to add your OpenAI API key. Name it clearly, for example OpenAI Prod.
  6. Connect Gmail for sending emails: Double click the Multiple Emails node and the Single Email node. In each, create a new Gmail OAuth2 credential and follow the on screen steps. Confirm the account has permission to send email.
  7. Connect Telegram: In Telegram, create a bot with BotFather and copy the bot token. In the Telegram node, create a new Telegram credential with that token and set the Chat ID. Start a chat with your bot to allow messages.
  8. Choose how channel IDs are provided: Use the Form Trigger to input channel IDs or edit the Default YouTube Channel Ids node to store a default list. Keep one method active to avoid confusion.
  9. Set the schedule: Open the Every Day trigger and choose the time that suits your team. You can also run the When clicking Test workflow trigger to validate any time.
  10. Tune what counts as new: Open the Label New Videos code node and adjust the days window if you want a longer or shorter new video period.
  11. Configure messaging: In Prepare For Telegram Message and the email creation nodes, confirm the subject and body formats. Add your recipient list in the Gmail nodes.
  12. Test end to end: Run the manual trigger. Check Get New Videos output has items, verify a Telegram message arrives, and confirm emails are sent. If nothing appears, check channel IDs, API key validity, bot chat permissions, and that RSS URLs resolve.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Gmail

Sign up

No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

YouTube Data API

Sign up

Free: $0, default 10,000 units/day per project; additional quota via audit request (no paid tier)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.