What This Workflow Does
This n8n workflow bridges Telegram messaging with OpenAI's DALL-E image generation API, creating an efficient pipeline for on-demand AI visuals. Team members can simply send an image description via Telegram, and the system automatically generates the corresponding AI image while logging all request details to Google Sheets.
The automation solves two key challenges: First, it eliminates manual back-and-forth between creative teams and AI tools. Second, it provides automatic documentation of all image requests, including who requested what and when. This creates accountability and valuable analytics for creative operations.
How It Works
1. Telegram message trigger
The workflow starts when a user sends an image generation request via Telegram. The system captures the message content (the image prompt) along with sender details and timestamp.
2. OpenAI DALL-E processing
The text prompt is sent to OpenAI's DALL-E API, which interprets the description and generates a corresponding AI image. The workflow handles the API call and receives the generated image file.
3. Response delivery
The generated image is sent back to the user via Telegram, completing the request cycle in seconds. Users get immediate visual feedback without leaving their messaging app.
4. Google Sheets logging
Simultaneously, the workflow records all request details to a Google Sheet, including timestamp, requester info, prompt text, and generation parameters. This creates an audit trail and usage database.
Who This Is For
This workflow is ideal for marketing teams, creative agencies, e-commerce businesses, and content creators who regularly need custom visuals. It's particularly valuable for:
- Social media managers creating daily content
- Product teams visualizing concepts
- Bloggers needing custom illustrations
- Teams with distributed creative workflows
What You'll Need
- An n8n instance (cloud or self-hosted)
- Telegram bot token (create via BotFather)
- OpenAI API key with DALL-E access
- Google Sheets spreadsheet for logging
- Google Service Account credentials
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure Telegram bot node with your token
- Add your OpenAI API key to DALL-E node
- Connect Google Sheets node to your spreadsheet
- Test with a simple Telegram message
Key Benefits
90% faster creative workflow: Generate AI images instantly from chat without switching between apps or manually using DALL-E interface.
Complete request tracking: Automatic logging to Google Sheets provides accountability and valuable usage analytics for creative operations.
Team collaboration: Multiple team members can request images through a shared Telegram channel while maintaining centralized control.
Cost transparency: The logs help track DALL-E API usage and associated costs across projects and team members.
Scalable creative production: Handle increased visual content needs without proportional increases in human creative resources.