Back to Integrations
integrationOpenRouter Chat Model node
integrationTelegram node

OpenRouter Chat Model and Telegram integration

Save yourself the work of writing custom integrations for OpenRouter Chat Model and Telegram and use n8n instead. Build adaptable and scalable AI, Langchain, Communication, and HITL workflows that work with your technology stack. All within a building experience you will love.

How to connect OpenRouter Chat Model and Telegram

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

OpenRouter Chat Model and Telegram integration: Create a new workflow and add the first step

Step 2: Add and configure OpenRouter Chat Model and Telegram nodes

You can find OpenRouter Chat Model and Telegram in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure OpenRouter Chat Model and Telegram nodes one by one: input data on the left, parameters in the middle, and output data on the right.

OpenRouter Chat Model and Telegram integration: Add and configure OpenRouter Chat Model and Telegram nodes

Step 3: Connect OpenRouter Chat Model and Telegram

A connection establishes a link between OpenRouter Chat Model and Telegram (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

OpenRouter Chat Model and Telegram integration: Connect OpenRouter Chat Model and Telegram

Step 4: Customize and extend your OpenRouter Chat Model and Telegram integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect OpenRouter Chat Model and Telegram with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

OpenRouter Chat Model and Telegram integration: Customize and extend your OpenRouter Chat Model and Telegram integration

Step 5: Test and activate your OpenRouter Chat Model and Telegram workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from OpenRouter Chat Model to Telegram or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

OpenRouter Chat Model and Telegram integration: Test and activate your OpenRouter Chat Model and Telegram workflow

AI Email Analyzer: Process PDFs, Images & Save to Google Drive + Telegram

This workflow automates the process of analyzing emails and their attachments (PDFs and images) using AI models (DeepSeek, Gemini, and OpenRouter). It extracts and summarizes the content of emails and attachments, saves the summaries to Google Sheets, and sends a final consolidated summary via Telegram.

This is a powerful tool for automating email analysis and summarization, saving time and ensuring that important information is easily accessible and actionable.

Below is a breakdown of the workflow:

  1. How It Works
    The workflow is designed to process incoming emails, analyze their content and attachments, and generate summaries. Here's how it works:

Email Trigger:
The workflow starts with the Email Trigger (IMAP) node, which monitors an email inbox for new emails.
If an email contains attachments, the workflow processes them.

Check for Attachments:
The Contain Attachments? node checks if the email has attachments.
If attachments are present, the workflow proceeds to process them.

Process Attachments:
The Get PDF and Images Attachments node extracts PDF and image attachments from the email.
The Switch node separates PDFs and images for further processing:
PDFs: The Extract from PDF node extracts text from PDFs, and the PDF Analyzer node summarizes the content.
Images: The Analyze Image node uses AI to describe the content of images.

Summarize Email Content:
The Convert Text node converts the email's HTML content to plain text.
The Email Summarization Chain node uses AI to generate a summary of the email's text content.

Save Summaries:
The Save Summary PDF, Save Summary Image, and Save Summary Text nodes save the summaries of PDFs, images, and email text, respectively, to Google Sheets.

Consolidate Summaries:
The All Summaries node aggregates the summaries of the email text, PDFs, and images.
The Create Final Summary node uses AI to generate a unified summary of all the content.

Send Final Summary:
The Send Final Summary node sends the consolidated summary via Telegram to a specified chat ID.

  1. Set Up Steps
    To set up and use this workflow in n8n, follow these steps:

IMAP Configuration:
Set up IMAP credentials in n8n for the Email Trigger (IMAP) node.
Ensure the email account is accessible via IMAP.

AI Model Configuration:
Configure the DeepSeek, Gemini, and OpenRouter credentials in n8n for the Email Summarization Chain, PDF Analyzer, and Create Final Summary nodes.
Ensure the AI models are set up to generate summaries.

Google Sheets Integration:
Set up Google Sheets credentials in n8n for the Save Summary PDF, Save Summary Image, and Save Summary Text nodes.
Specify the Google Sheet and worksheet where the summaries will be saved.

Telegram Integration:
Set up Telegram credentials in n8n for the Send Final Summary node.
Insert your Chat ID in the Telegram node to receive the final summary.

Test the Workflow:
Send an email with attachments (PDFs and images) to the monitored email account.
The workflow will:
Extract and summarize the email content and attachments.
Save the summaries to Google Sheets.
Send a consolidated summary via Telegram.

Optional Customization:
replace IMAP trigger with Gmail or Outlook trigger
Modify the workflow to include additional features, such as:
Adding more AI models for different types of analysis.
Sending notifications via other channels (e.g., Slack, email).
Integrating with other storage services (e.g., Dropbox, AWS S3).

Nodes used in this workflow

Popular OpenRouter Chat Model and Telegram workflows

+5

AI Email Analyzer: Process PDFs, Images & Save to Google Drive + Telegram

This workflow automates the process of analyzing emails and their attachments (PDFs and images) using AI models (DeepSeek, Gemini, and OpenRouter). It extracts and summarizes the content of emails and attachments, saves the summaries to Google Sheets, and sends a final consolidated summary via Telegram. This is a powerful tool for automating email analysis and summarization, saving time and ensuring that important information is easily accessible and actionable. Below is a breakdown of the workflow: How It Works The workflow is designed to process incoming emails, analyze their content and attachments, and generate summaries. Here's how it works: Email Trigger: The workflow starts with the Email Trigger (IMAP) node, which monitors an email inbox for new emails. If an email contains attachments, the workflow processes them. Check for Attachments: The Contain Attachments? node checks if the email has attachments. If attachments are present, the workflow proceeds to process them. Process Attachments: The Get PDF and Images Attachments node extracts PDF and image attachments from the email. The Switch node separates PDFs and images for further processing: PDFs: The Extract from PDF node extracts text from PDFs, and the PDF Analyzer node summarizes the content. Images: The Analyze Image node uses AI to describe the content of images. Summarize Email Content: The Convert Text node converts the email's HTML content to plain text. The Email Summarization Chain node uses AI to generate a summary of the email's text content. Save Summaries: The Save Summary PDF, Save Summary Image, and Save Summary Text nodes save the summaries of PDFs, images, and email text, respectively, to Google Sheets. Consolidate Summaries: The All Summaries node aggregates the summaries of the email text, PDFs, and images. The Create Final Summary node uses AI to generate a unified summary of all the content. Send Final Summary: The Send Final Summary node sends the consolidated summary via Telegram to a specified chat ID. Set Up Steps To set up and use this workflow in n8n, follow these steps: IMAP Configuration: Set up IMAP credentials in n8n for the Email Trigger (IMAP) node. Ensure the email account is accessible via IMAP. AI Model Configuration: Configure the DeepSeek, Gemini, and OpenRouter credentials in n8n for the Email Summarization Chain, PDF Analyzer, and Create Final Summary nodes. Ensure the AI models are set up to generate summaries. Google Sheets Integration: Set up Google Sheets credentials in n8n for the Save Summary PDF, Save Summary Image, and Save Summary Text nodes. Specify the Google Sheet and worksheet where the summaries will be saved. Telegram Integration: Set up Telegram credentials in n8n for the Send Final Summary node. Insert your Chat ID in the Telegram node to receive the final summary. Test the Workflow: Send an email with attachments (PDFs and images) to the monitored email account. The workflow will: Extract and summarize the email content and attachments. Save the summaries to Google Sheets. Send a consolidated summary via Telegram. Optional Customization: replace IMAP trigger with Gmail or Outlook trigger Modify the workflow to include additional features, such as: Adding more AI models for different types of analysis. Sending notifications via other channels (e.g., Slack, email). Integrating with other storage services (e.g., Dropbox, AWS S3).

Build your own OpenRouter Chat Model and Telegram integration

Create custom OpenRouter Chat Model and Telegram workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Telegram supported actions

Get
Get up to date information about a chat
Get Administrators
Get the Administrators of a chat
Get Member
Get the member of a chat
Leave
Leave a group, supergroup or channel
Set Description
Set the description of a chat
Set Title
Set the title of a chat
Answer Query
Send answer to callback query sent from inline keyboard
Answer Inline Query
Send answer to callback query sent from inline bot
Get
Get a file
Delete Chat Message
Delete a chat message
Edit Message Text
Edit a text message
Pin Chat Message
Pin a chat message
Send Animation
Send an animated file
Send Audio
Send a audio file
Send Chat Action
Send a chat action
Send Document
Send a document
Send Location
Send a location
Send Media Group
Send group of photos or videos to album
Send Message
Send a text message
Send and Wait for Response
Send a message and wait for response
Send Photo
Send a photo
Send Sticker
Send a sticker
Send Video
Send a video
Unpin Chat Message
Unpin a chat message

FAQs

  • Can OpenRouter Chat Model connect with Telegram?

  • Can I use OpenRouter Chat Model’s API with n8n?

  • Can I use Telegram’s API with n8n?

  • Is n8n secure for integrating OpenRouter Chat Model and Telegram?

  • How to get started with OpenRouter Chat Model and Telegram integration in n8n.io?

Need help setting up your OpenRouter Chat Model and Telegram integration?

Discover our latest community's recommendations and join the discussions about OpenRouter Chat Model and Telegram integration.
Trigi Digital

Looking to integrate OpenRouter Chat Model and Telegram in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate OpenRouter Chat Model with Telegram

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon