AI Agents

Create images using OpenAI and Telegram

12 nodes 207 152 Automatic trigger
Download

Workflow Description

This template receives text messages from Telegram users, sends them to OpenAI for image generation based on text descriptions, and returns the generated images to users through the same channels automatically.

How it works

  1. 1.Receive incoming text messages from Telegram users via the Telegram trigger node
  2. 2.Send text descriptions to OpenAI API to generate corresponding images
  3. 3.Merge data from OpenAI response with original message information using the merge node
  4. 4.Send generated images back to the user as Telegram messages
  5. 5.Aggregate and process results using the aggregate node
  6. 6.Log workflow execution details for performance monitoring and troubleshooting

Use cases

  • Generate custom artwork and illustrations on demand without requiring users to learn complex design tools
  • Automate visual content creation for marketing campaigns, social media posts, and promotional materials in real-time

Requirements

  • Active OpenAI account with valid API key and sufficient credit balance for image generation requests
  • Registered and configured Telegram bot with proper permissions for sending and receiving messages

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Telegram OpenAI

Details

Trigger Automatic trigger
Nodes 12
Apps 2
Views 207
Downloads 152

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (12)

/

Telegram Trigger

Set

#1

OpenAI

OpenAI

#2

Telegram

Set

#3

Merge

Merge

#4

Aggregate

Aggregate

#5

Sticky Note2

Sticky Note

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note3

Sticky Note

#9

Sticky Note4

Sticky Note

#10

Sticky Note5

Sticky Note

#11

Sticky Note6

Sticky Note

#12