This n8n workflow lets users chat with GPT-5 directly in Telegram.
It simulates typing for a natural UX, sends messages to GPT-5 via AI/ML API, and replies back in the same chat.
Optionally, each interaction can be logged in Google Sheets.
openai/gpt-5-chat-latest (AI/ML API)


/newbot, choose name + usernameTelegram API: paste the BotFather tokenAI/ML API: create a key from aimlapi.comGoogle Sheets: connect via OAuth2/Service AccountName: e.g., GPT5 Bot Logs
Sheet: Sheet1
Columns:
user_id | date | query | response
| Node | Function |
|---|---|
π© Receive Telegram Message | Trigger on user message |
π¬ Simulate Typing | Sends "typingβ¦" action to Telegram |
π§ Process with GPT-5 | Calls AI/ML API with message text |
π€ Send Response to Telegram | Replies back to user with model output |
π Log Interaction (optional) | Appends log row to Google Sheets |
Whatβs the capital of Japan?
The capital of Japan is Tokyo.
/execute workflow (not βExecute Nodeβ)Set or Console nodes for debugging

