Generate Social Media Images with Gemini + Gmail via n8n
Generate Social Media Images with Gemini + Gmail via n8n
Regular price
£78.99
Regular price
£78.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Generate Social Media Images with Gemini + Gmail via n8n
Regular price
£78.99
Regular price
£78.99
Sale price
Unit price
/
per
Generate art-directed social media images automatically with Gemini + Gmail in n8n
This n8n workflow turns an image brief submitted through an n8n Form into a finished, styled social media image using Google Gemini—and then emails the result (or a failure notice) to the requester via Gmail. It also logs the exact prompt to Google Sheets for traceability.
What this workflow does
- Collects your request via n8n Form: captures the requester’s email, intended use, a description, and a selected visual style.
- Transforms the brief into an art-directed prompt with Google Gemini: rewrites the rough brief into a single detailed 40–70 word image-generation prompt including composition, lighting, palette, mood, and the chosen style.
- Generates the image with Gemini Image generation: sends the prompt to Google Gemini Image generation and outputs the generated image as binary data.
- Handles failures gracefully: if image generation fails, it sends a Gmail message to the requester explaining the image could not be generated.
- Logs prompts in Google Sheets: when successful, appends a log entry to a selected Google Sheets spreadsheet and sheet/tab (e.g., a tab named “Images”).
- Emails the image as an attachment: sends the generated image to the requester via Gmail and includes the exact prompt in the email body.
Use cases
- Turn marketing team briefs into consistent social post creatives on demand.
- Give SaaS operators a self-serve workflow: submit a style + description, receive a finished image by email.
- Support scalable content ops by storing the final Gemini prompt in Google Sheets for review and iteration.
Technical details
- n8n Form Trigger (collect request details and requester email)
- Google Gemini via n8nn8n-nodes-langchainchain LLM and n8nn8n-nodes-langchaingoogle Gemini
- Google Sheets OAuth (append prompt logs to a chosen sheet/tab)
- Gmail OAuth (send success attachments or failure notifications)
Setup: add Google Gemini (PaLM) API credentials, Google Sheets OAuth, and Gmail OAuth; select your target spreadsheet and sheet/tab for logging; then test the form URL to confirm prompts and email attachments arrive correctly.
