Chat with OpenAI's GPT via Telegram Bot

n8n AI Messaging Content Creation

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

Use case

LLMs have provided a lot of value for several use cases. Especially some OpenAI models are proving to be quite valuable. However, it's sometimes not super accessible to chat with these models.

This workflow enables you to chat directly with OpenAI's GPT-3.5 via Telegram.

How it works

A simple Telegram bot that connects to your BotFather bot to give AI responses, using OpenAI's GPT-3.5 model, to a user's messages with emojis.

What to do

Add your Telegram API key and your OpenAI API key and have fun!

Tools used: OpenAI, Telegram

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.