← All N8N workflows
AI & researchAgentChat TriggerCodeGoogle SheetsIf

Send a Telegram message

Configured with Agent, Chat Trigger, Google Sheets, Limit, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen chat messagereceivedChat TriggerAI & modelsOpenAI Chat ModelOpenAI Chat ModelTransformStructured OutputParserOutput Parser StructuredMessagingGet Audio FileTelegramAI & modelsTranscribe RecordingOpen AiTransformLimitLimitTriggerReceive TelegrammessageTelegram TriggerRoutingIf it's a voice messageIfTransformSet chatInput frommessageEdit FieldsTransformSet chatInput fromvoiceEdit FieldsAI & modelsList of Ingredients andnutrientsAgentTransformExplode the listSplit OutCodeAdd dateCodeData storeStore in sheetGoogle SheetsMessagingRespond messageTelegram

Node categories in this workflow

  • Trigger
  • AI & models
  • Transform
  • Messaging
  • Routing
  • Code
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When chat message receivedTriggerChat TriggerSee node parameters
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
Get Audio FileMessagingTelegramfile
Transcribe RecordingAI & modelsOpen Aiaudio / transcribe
LimitTransformLimitSee node parameters
Receive Telegram messageTriggerTelegram TriggerSee node parameters
If it's a voice messageRoutingIfSee node parameters
Set chatInput from messageTransformEdit FieldsSee node parameters
Set chatInput from voiceTransformEdit FieldsSee node parameters
List of Ingredients and nutrientsAI & modelsAgentSee node parameters
Explode the listTransformSplit OutSee node parameters
Add dateCodeCodeSee node parameters
Store in sheetData storeGoogle Sheetsappend
Respond messageMessagingTelegramSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • googleSheetsOAuth2Api
  • openAiApi
  • telegramApi

Workflow notes

Send a Telegram message

Send a Telegram message

  1. To your channel with the list of what you ate during your last meal. Your input can be a written or a voice message.
Setup

Setup

  1. Create a telegram Bot by following the instructions here.
  2. Create an empty Google sheet and set it in "Store in sheet" along with your credentials
  3. Set your creadential for your OpenAI account
Check your data

Check your data

  • to see if it seems correct
  • you can filter and sum your nutrients to check if you had enough!
If it's an Audio file

If it's an Audio file

TRanscript it using openAI

Testing

Testing

You can chat with the workflow by clicking on "open chat" to test your input and the response

Personalize the prompt!!

Personalize the prompt!!

  • It's a very simple one, you can of course make it better!
Personalize the response message

Personalize the response message

You can send the response of the Agent Or just be more polite!

Contact me

Contact me

  • If you need any modification to this workflow
  • if you need some help with this workflow
  • Or if you need any workflow in n8n, Make, or Langchain / Langgraph

Write to me: user@example.com

This a light version of My Meals. I have a working "Pro" version with searches in the USDA database for each ingredients that return ALL the Nutrients.

Send a Telegram message

Send a Telegram message

Purpose and structure

This folder contains the Send a Telegram message workflow. Its executable nodes use agent, chatTrigger, code, googleSheets, if, limit, lmChatOpenAi, openAi, outputParserStructured, set, splitOut, telegram, telegramTrigger. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When chat message received, Receive Telegram message

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Telegram/0864_Telegram_Splitout_Create_Triggered.json MIT; preserve source notices.

More in AI & research