AI Image Generator and Marketing Asset Logger
detail.loadingPreview
This workflow automates AI image generation from a prompt, saves the image to Google Drive, and logs the request in a Google Sheet. It uses the `Image Prompt` node to refine prompts for the `Generate Image` (OpenAI API) node.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow streamlines the creation and management of AI-generated marketing assets. It begins with a trigger node that accepts an image title, prompt, and chat ID. The Image Prompt node, powered by an AI model (GPT-4.1 via OpenRouter), expands on the initial prompt to create a more detailed and effective instruction for image generation. The Generate Image node then uses this refined prompt to interact with the OpenAI API, creating a unique image. Following generation, the Convert to File node prepares the image data, and the Google Drive node saves the image to a specified folder. Finally, the Image Log node records the request details, generated image ID, and a link to the saved image in a Google Sheet for easy tracking and management.
Key Features
- AI-powered image prompt enhancement using LangChain agents.
- Seamless integration with OpenAI for image generation.
- Automatic saving of generated images to Google Drive.
- Comprehensive logging of image requests and links in Google Sheets.
- Flexible trigger for initiating the workflow via other n8n workflows or external services.
How To Use
- Configure the
When Executed by Another Workflownode with the desired input parameters:imageTitle,imagePrompt, andchatID. - Ensure your OpenAI API credentials are set up in the
Generate Imagenode. - Configure the
Google Drivenode with your Google Drive credentials and the target folder ID (AI Image Generationis used in the example). - Set up your Google Sheets credentials and the target spreadsheet and sheet name (
Marketing Team Logis used in the example) for theImage Lognode. - Activate the workflow. It can be triggered manually or by another n8n workflow.
Apps Used
Workflow JSON
{
"id": "313c0a5a-1a21-4ed0-86f2-c255304ba69e",
"name": "AI Image Generator and Marketing Asset Logger",
"nodes": 0,
"category": "AI Marketing Team Workflows",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 313c0a5a-1a21...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automated AI Image Editing and Cloud Logging Workflow
This workflow leverages AI to edit images based on a prompt and automatically logs the process. It uses nodes like `When Executed by Another Workflow`, `Edit Image` (OpenAI), `Convert to File`, `Upload Image` (Google Drive), and `Image Log` (Google Sheets).
AI Marketing Team: Streamline Content Creation and Image Management via Telegram
Automate marketing tasks with this n8n workflow. Leverage GPT-4.1 to generate blog posts, LinkedIn updates, and manage image creation/editing through Telegram.
AI Image Retrieval from Google Sheets with n8n
Automate the retrieval of images from a Google Sheet database using n8n's AI capabilities. This workflow uses the Langchain node with GPT-4.1-mini to search and return image details, then retrieves the image via Google Drive and sends it via Telegram.
AI-Powered Blog Post to Visual Content Creation Workflow
Automate the creation of engaging visual content for blog posts using AI. This workflow uses Tavily for research and GPT-4.1 for generating both blog content and corresponding image prompts, streamlining marketing content production.
LinkedIn Post to Visual Prompt Generator for Marketing Graphics
Automate the creation of marketing graphics from LinkedIn posts. This workflow uses AI to generate visual prompts for image generation tools, saving time for marketing teams.
AI-Generated Faceless Videos with Audio and Google Drive Upload
Automate the creation of faceless videos using AI image generation, text-to-video, sound generation, and direct Google Drive uploads. This workflow leverages PIAPI, RunwayML, ElevenLabs, and Creatomate for a seamless AI marketing asset pipeline.