This n8n workflow automates the process of generating AI images based on user prompts received via Telegram. When a user sends a message, the workflow treats the message as an image prompt, generates an image using OpenAI, stores the image on Google Drive, logs details in Google Sheets, and then shares the image back to the user via Telegram. It streamlines content creation, idea visualization, and efficient media management in a single automated process.
The workflow starts with a Telegram trigger listening for new messages. The message text is processed as an image prompt using a language model node with OpenAI. A POST request is sent to the OpenAI image generation API, creating an image based on the prompt. The resulting image URL is fetched through an HTTP request, then saved to Google Drive in a specified folder. Simultaneously, details such as the prompt and image link are logged into a Google Sheets spreadsheet for record-keeping. Finally, the generated image is sent back to the user on Telegram, completing the loop.
This workflow is ideal for content creators, marketing teams, or developers looking to automate visual content creation from user input, maintain a visual library, and instantly share images via messaging platforms.
Reviews
There are no reviews yet.