Generate Interior Moodboards with Claude/Gemini Agents, Hugging Face Image Generation, and PDF Export
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 (15)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Nextcloud
n8n-nodes-base.nextCloud - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail
What it does
🎨 Template Overview This comprehensive n8n workflow automates the complete process of generating professional interior design moodboards from concept to client delivery. Users submit a design brief through a form, and the system automatically generates 12 AI-powered images, compiles them into a beautifully formatted two-page PDF moodboard, and emails the final deliverable. !Screenshot 20251120 091956.png(fileId:3404) Key Features: - Form-based design brief submission - AI-powered image prompt generation (12 detailed prompts per project) - Automated image generation via Hugging Face API - Nextcloud cloud storage with public URL sharing - Professional two-page HTML/PDF moodboard creation - Automated email delivery with PDF attachment Technologies Used: Claude Sonnet 4 (OpenRouter), Google Gemini 2.5 Pro, Hugging Face FLUX.1-schnell, Nextcloud, Gotenberg PDF Service, Gmail --- ⚙️ Self-Hosted Requirements This template requires the following self-hosted or third-party services: - Nextcloud Instance - For cloud file storage and public URL generation - Gotenberg PDF Service - For HTML to PDF conversion (can be self-hosted via Docker) - OpenRouter API Access - For Claude Sonnet 4 AI agent - Google Gemini API Access - For secondary AI processing - Hugging Face API Access - For FLUX.1-schnell image generation - Gmail Account - For email delivery (or any SMTP service) --- 📋 Setup Instructions Step 1: Configure API Credentials 1. OpenRouter (Claude Sonnet 4) - Sign up at openrouter.ai - Generate an API key - Add credentials to the "OpenRouter Chat Model" node 2. Google Gemini API - Visit Google AI Studio - Create an API key - Add credentials to the "Google Gemini Chat Model1" node 3. Hugging Face API - Register at huggingface.co - Generate an access token from Settings → Access Tokens - Add credentials to the "Image Generator" node using HTTP Header Auth - Header name: Authorization, Value: Bearer YOURTOKEN 4. Nextcloud - Set up a Nextcloud instance or use a hosted provider - Generate an app password from Settings → Security - Configure credentials in all Nextcloud nodes: - "Create a folder" - "Upload Image" - "Share a file" 5. Gotenberg PDF Service - Self-host using Docker: docker run --rm -p 3000:3000 gotenberg/gotenberg:8 - Or use a hosted instance - Update the URL in the "PDF creator" node - Configure HTTP Basic Auth credentials if required 6. Gmail - Enable 2-Factor Authentication on your Google account - Generate an App Password from Google Account settings - Add OAuth2 credentials to the "Send PDF" node Step 2: Customize Workflow Settings 1. Email Extractor Node - Review the stripPlus variable (default: true) - This removes "+tag" portions from email addresses for folder naming 2. Nextcloud Folder Structure - Default path: /moodboard/{username}/ - Modify in "Create a folder" node if needed 3. Image Generator Settings - Model: FLUX.1-schnell (fast generation, good quality) - Adjust model in "Image Generator" node if needed - Alternative models: FLUX.1-dev, Stable Diffusion XL 4. PDF Generation Settings - Default timeout: 360 seconds - Page size: A4 (210mm × 297mm) - Adjust in "PDF creator" node headers if needed Step 3: Test the Workflow 1. Activate the Form - Open the "Moodboard Form" node - Copy the webhook URL - Access the form in your browser 2. Submit a Test Request - Fill in the form fields: - Title: Short, descriptive name (e.g., "Modern Minimalist Bedroom") - Description: Detailed design brief with colors, materials, mood, lighting - Email: Your test email address - Submit and monitor workflow execution 3. Verify Each Stage - Check Nextcloud folder creation - Monitor image generation progress (12 images) - Review HTML moodboard generation - Confirm PDF creation - Check email delivery Step 4: Configure Form Embedding (Optional) Embed the form on your website: html <iframe src="YOURN8NFORMWEBHOOKURL" width="100%" height="800" frameborder="0"> </iframe> --- 🔄 Workflow Structure 1. Form Input & Data Extraction -