Generate real-estate marketing images and videos with OpenAI and Google Drive
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Drive
n8n-nodes-base.googleDrive - Gmail
n8n-nodes-base.gmail - Switch
n8n-nodes-base.switch - n8n Form
n8n-nodes-base.form - Wait
n8n-nodes-base.wait - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - OpenAI
@n8n/n8n-nodes-langchain.openAi - HTTP Request
n8n-nodes-base.httpRequest
What it does
π‘ Automated Real-Estate Content Generation Workflow This n8n workflow automates turning short user ideas into production-ready real-estate marketing assets (photorealistic images and optional 360Β° videos). A form submission seeds a prompt board β an LLM refines prompts β the refined prompt is sent to an image/video generator β assets are uploaded to Google Drive and an approval email is sent so stakeholders can accept/reject outputs. --- βοΈ How It Works (High Level) 1. Trigger: User submits the ideation form (On form submission). 2. Record: The raw idea is appended to Google Sheets (Append row in sheet). 3. Refine: An AI agent (LangChain/OpenAI) refines the prompt into a photorealistic prompt and produces captions & variants (AI Agent). 4. Store Refined Prompt: Update the sheet with the improved prompt (Append or update row in sheet). 5. Generate Asset: Send improved prompt to OpenAI image/video generation nodes (Generate an image2 / Generate a video). 6. Upload & Share: Upload resulting files to Google Drive (Upload file / Upload file1) and set sharing permissions (Share file / Share file1). 7. Approval Flow: Email the requester with the asset + improved prompt and wait for approval (Send message and wait for response). 8. Decision: A Switch node routes approved outputs to final storage/notifications and rejected ones back for rework (or sends a failure email). 9. Video Branch: Separate flow β refine β HTTP β video generator β upload β share β update sheet (parallel video pipeline). --- Quick Setup Guide π Demo & Setup Video π Sheet Template π Course --- π Nodes of Interest (Quick Reference) - On form submission β Form trigger for ideation input - Append row in sheet β Initial recording to Google Sheets - AI Agent β LangChain/OpenAI agent for prompt refinement - Generate an image2 β OpenAI image generation node - Upload file / Upload file1 β Google Drive upload nodes - Share file / Share file1 β Set file sharing permissions - Send message and wait for response β Gmail approval workflow - Switch β Approval vs rejection routing - Form + AI Agent1 + Generate a video β Video generation pipeline - Wait / Wait1 β Handle long-running generation - OpenAI Chat Model / OpenAI Chat Model1 β LLM configuration nodes --- π What You'll Need (Credentials & Access) - Google Sheets OAuth2 (sheet access) - Google Drive OAuth2 (file storage) - OpenAI API Key (image/video + LLM) - Gmail OAuth2 (email approvals) - n8n webhook/public form access - Optional: External HTTP endpoints for video processing π‘ Tip: Store credentials securely in n8n credential manager and avoid hardcoding secrets. --- β‘ Recommended Settings & Best Practices - Model & Prompt Control: Use strong system prompts enforcing photorealism and real-estate context. - Rate Limits & Retries: Add retry logic with exponential backoff for API calls. - Wait Times: Use Wait nodes for long video generation tasks. - File Size & Format: Standardize image sizes (e.g., 1792Γ1024) and compress videos. - Sharing Permissions: Use view-only links for approvals. - Logging & Observability: Track prompt, model, timestamp in Google Sheets. - Security: Use credential manager, rotate API keys regularly. - Cost Control: Monitor OpenAI usage and apply limits. - Input Validation: Validate prompt length and required fields. --- π Customization Ideas - Property type presets (apartment, villa, office, etc.) - Auto-generate captions, hashtags, and listing descriptions - Add AI moderation before sharing assets - Replace Google Drive with S3 / Cloudflare R2 + CDN - Auto-post approved assets to social media or CMS - A/B test prompts for performance optimization - Multi-language prompt support - Slack/Telegram approval dashboard instead of email --- π·οΈ Tags n8n, automation, real-estate, prompt-engineering, OpenAI, DALLΒ·E, video, google-sheets, google-drive, gmail, approval-flow, image-generation