室内设计客户评估模板
高级
这是一个Lead Nurturing, AI Summarization领域的自动化工作流,包含 28 个节点。主要使用 If, Set, Gmail, Notion, Switch 等节点。 使用AI和人工审批自动化室内设计潜在客户评估至Notion
前置要求
- •Google 账号和 Gmail API 凭证
- •Notion API Key
- •Telegram Bot Token
- •OpenAI API Key
- •Google Gemini API Key
使用的节点 (28)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "LBI83OIEmVjTdoI5",
"meta": {
"instanceId": "4004e259d7c32fb84e7e989ad65605c716ae645dcc01b59c6472fbe27f19fc08"
},
"name": "室内设计客户评估模板",
"tags": [],
"nodes": [
{
"id": "726de662-03f5-4c87-9631-5c37abd517a0",
"name": "表单触发器",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1440,
160
],
"webhookId": "interior-design-form",
"parameters": {
"path": "interior-design-form",
"options": {},
"formTitle": "Interior Design Client Intake Questionnaire",
"formFields": {
"values": [
{
"fieldLabel": "First Name",
"placeholder": "Your First Name",
"requiredField": true
},
{
"fieldLabel": "Second Name",
"placeholder": "Your Second Name",
"requiredField": true
},
{
"fieldType": "number",
"fieldLabel": "Contact Number",
"placeholder": "In this format: 9715236218",
"requiredField": true
},
{
"fieldType": "email",
"fieldLabel": "Email Address",
"placeholder": "Your Email",
"requiredField": true
},
{
"fieldLabel": "Project Address",
"placeholder": "Dubai Marina, Dubai Hill, Arabian Ranches",
"requiredField": true
},
{
"fieldType": "dropdown",
"fieldLabel": "Project Type",
"multiselect": true,
"fieldOptions": {
"values": [
{
"option": "New Construction"
},
{
"option": "Full Home Renovation"
},
{
"option": "Single Room Design (Furnishing/Decor)"
},
{
"option": "E-Design/Virtual Consulting"
}
]
}
},
{
"fieldLabel": "Spaces Included",
"placeholder": "Kitchen, Dining Room, and Powder Room",
"requiredField": true
},
{
"fieldType": "dropdown",
"fieldLabel": "Estimated Total Project Budget (Excluding Design Fee)",
"fieldOptions": {
"values": [
{
"option": "Under AED 100,000"
},
{
"option": "AED100,001 - AED250,000"
},
{
"option": " AED250,001 - AED500,000"
},
{
"option": "Over AED500,000"
}
]
},
"requiredField": true
},
{
"fieldType": "date",
"fieldLabel": "Target Completion Date"
},
{
"fieldLabel": "Describe your desired style in 3-5 words",
"placeholder": "Traditional, comfortable, sophisticated, inviting, Contemporary, airy, sophisticated, uncluttered"
},
{
"fieldType": "textarea",
"fieldLabel": "What do you dislike most about your current space?",
"placeholder": "Example:Open floor plan lacks definition between living and dining areas."
},
{
"fieldType": "dropdown",
"fieldLabel": "Decision-Making & Involvement",
"fieldOptions": {
"values": [
{
"option": "Very Involved (I want to approve every item)"
},
{
"option": "Involved (Major decisions only, I trust your expertise)"
},
{
"option": "Hands-Off (Present the final concept, I trust your vision)"
}
]
},
"requiredField": true
},
{
"fieldType": "checkbox",
"fieldLabel": "Have you worked with a designer/contractor before?",
"fieldOptions": {
"values": [
{
"option": "YES"
},
{
"option": "NO"
}
]
},
"limitSelection": "exact"
},
{
"fieldType": "textarea",
"fieldLabel": "Link to Inspiration (Pinterest, Houzz, etc.)",
"placeholder": "https://www.pinterest.com/sarahsmith/dream-kitchen-ideas/\nhttps://www.pinterest.com/johnandmary/modern-farmhouse-living/\nhttps://www.pinterest.com/designlover23/bedroom-inspo/ \nhttps://pin.it/3xKdR7m \nhttps://www.pinterest.com/jdoe/home-renovation-2025/"
}
]
},
"formDescription": "Please fill out this form to help us evaluate your project's scope, budget, and aesthetic fit before our initial consultation."
},
"typeVersion": 2.1
},
{
"id": "d51a8f58-d565-4329-a7de-c24172f6a4a8",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-1216,
384
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.5-pro"
},
"credentials": {
"googlePalmApi": {
"id": "gyVNbRwxqSCUHXZm",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "53c1d558-0a47-47d0-8a75-ace057787e41",
"name": "结构化输出解析器",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-960,
384
],
"parameters": {
"jsonSchemaExample": "{\n \"lead_classification\": \"HOT|WARM|COLD\",\n \"confidence\": \"High|Medium|Low\",\n \"reasoning\": \"Brief explanation of classification decision\",\n \"key_factors\": [\n \"Factor 1 that influenced decision\",\n \"Factor 2 that influenced decision\"\n ],\n \"estimated_project_value\": \"Budget range in AED\",\n \"recommended_action\": \"Next steps for sales team\",\n \"notes\": \"Any additional observations or red flags\"\n}"
},
"typeVersion": 1.3
},
{
"id": "9e13060b-c434-4b02-bda6-2e45a30e93ce",
"name": "Google Gemini 聊天模型1",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-384,
416
],
"parameters": {
"options": {}
},
"credentials": {
"googlePalmApi": {
"id": "gyVNbRwxqSCUHXZm",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "74118eef-0dc9-48c2-9303-16168875f235",
"name": "结构化输出解析器1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-208,
416
],
"parameters": {
"jsonSchemaExample": "{\n \"subject\": \"Primary subject line for the email\",\n \"email_body\": \"Full email body text with proper greeting, body paragraphs, call-to-action, and signature. Use \\\\n\\\\n for paragraph breaks.\"\n}"
},
"typeVersion": 1.3
},
{
"id": "a75aecc7-cb97-4ba6-a663-429ac0bc4446",
"name": "结构化输出解析器2",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1216,
320
],
"parameters": {
"jsonSchemaExample": "{\n \"subject\": \"The revised subject line based on feedback\",\n \"email_body\": \"The complete revised email body with all requested changes incorporated.\\n\\nMultiple paragraphs separated by \\\\n\\\\n.\\n\\nAll personalization maintained.\\n\\nClear call to action included.\\n\\nBest regards,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}"
},
"typeVersion": 1.3
},
{
"id": "17fdf6c9-d516-4b43-8b07-f9576ea7004f",
"name": "设置电子邮件",
"type": "n8n-nodes-base.set",
"position": [
160,
64
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "08ab4076-c672-4542-a51d-f62e84b2f69a",
"name": "Email Subject",
"type": "string",
"value": "={{ $json.output.subject }}"
},
{
"id": "a9a75a19-d080-4322-9500-9fe27cde6598",
"name": "Email body",
"type": "string",
"value": "={{ $json.output.email_body }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "52b9b441-0767-4465-b19e-788cacbdfc1a",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1088,
384
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "z8R3lC8iI0taZw6b",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "00f8cc40-000d-472f-b917-97754ea41d33",
"name": "分类代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-1184,
144
],
"parameters": {
"text": "=First Name: {{ $json['First Name'] }}\n\nSecond Name:{{ $json['Second Name'] }}\n\nConatct Number: {{ $json['Contact Number'] }}\n\nEmail Address: {{ $json['Email Address'] }}\n\nProject Address : {{ $json['Project Address'] }}\n\nProject Type :{{ $json['Project Type'][0] }}\n\nSpaces Included: {{ $json['Spaces Included'] }}\n\nEstimated Total Project Budget :{{ $json['Estimated Total Project Budget (Excluding Design Fee)'] }}\n\nTarget Completion Date:{{ $json['Target Completion Date'] }}\n\nDescribe your desired style in 3-5 words:{{ $json['Describe your desired style in 3-5 words'] }}\n\nWhat do you dislike most about your current space?{{ $json['What do you dislike most about your current space?'] }}\n\nDecision-Making & Involvement:{{ $json['Decision-Making & Involvement'] }}\n\nHave you worked with a designer/contractor before?:{{ $json['Have you worked with a designer/contractor before?'][0] }}\n\nLink to Inspiration (Pinterest, Houzz, etc.):{{ $json['Link to Inspiration (Pinterest, Houzz, etc.)'] }}\n\nsubmittedAt: {{ $json.submittedAt }}\n",
"options": {
"systemMessage": "=# Interior Design Lead Classification AI Agent\n\n## Role\nYou are a lead qualification specialist for an interior design firm. Your task is to analyze client intake form data and classify leads as HOT, WARM, or COLD based on project scope and budget.\n\n## Current Context\n**Current Date & Time**: {{$now}}\n**Timezone**: UAE (GMT+4)\n\n## Classification Criteria\n\n### HOT LEAD 🔥\n**Requirements (ALL must be met):**\n- Project Type includes \"Full Home Renovation\" OR \"New Construction\"\n- Budget is 500,000 AED or higher\n- Minimum 2 distinct spaces/rooms involved\n- Strong indicators of serious commitment\n\n### WARM LEAD 🟡\n**Requirements (must meet ALL of the following):**\n- Minimum 2 distinct spaces/rooms involved in the project\n- Budget of 100,000 AED or higher\n- Shows realistic expectations and planning\n- **DEFAULT CLASSIFICATION**: If uncertain or ambiguous (and not disqualified by COLD criteria), always classify as WARM\n\n### COLD LEAD ❄️\n**Automatic Disqualifiers (if ANY of these are met, lead is COLD):**\n- Budget is below 100,000 AED (AUTOMATIC COLD regardless of other factors)\n- Only 1 single space/room involved (AUTOMATIC COLD regardless of other factors)\n- May indicate exploratory or shopping behavior\n\n**CRITICAL RULE**: Budget < 100,000 AED OR single space = COLD, no exceptions.\n\n## Input Fields to Analyze\n\nYou will receive the following data from the client intake form:\n\n1. **client_names**: Client name(s)\n2. **email**: Email address\n3. **project_address**: Project location\n4. **project_type**: Array of selected project types (New Construction, Full Home Renovation, Single Room Design, E-Design)\n5. **spaces_included**: Text description of rooms/areas\n6. **total_budget**: Selected budget range\n7. **completion_date**: Target timeline\n8. **desired_style**: Style keywords\n9. **dislikes**: Current space problems\n10. **involvement**: Client's preferred involvement level\n11. **previous_experience**: Past designer/contractor experience\n12. **inspiration_link**: Reference links\n\n## Analysis Process\n\n### Step 1: Check Automatic Disqualifiers (FIRST PRIORITY)\n**STOP and classify as COLD immediately if:**\n- Budget < 100,000 AED → COLD (no further analysis needed)\n- Only 1 space/room → COLD (no further analysis needed)\n\nIf either condition is met, skip to COLD classification regardless of any other positive factors.\n\n### Step 2: Parse Budget\n- Note: Budget excludes design fees, so this is their material/labor budget\n- If budget ≥ 100,000 AED, continue to next step\n\n### Step 3: Count Spaces\n- Parse the \"spaces_included\" field\n- Count distinct rooms/areas mentioned\n- Common spaces: Kitchen, Bedroom, Bathroom, Living Room, Dining Room, Office, etc.\n- Look for plurals like \"All Bathrooms\" (counts as multiple)\n- Be generous in counting - \"Kitchen and adjoining breakfast nook\" = 2 spaces\n- If only 1 space, classify as COLD immediately\n\n### Step 4: Evaluate Project Type (only if budget ≥ 100k and spaces ≥ 2)\n- Check if \"Full Home Renovation\" or \"New Construction\" is selected\n- These automatically indicate larger scope\n\n### Step 5: Consider Supporting Factors (only for WARM/HOT determination)\n- Timeline urgency (sooner = hotter)\n- Previous positive experience with designers\n- Detailed, thoughtful responses\n- Clear vision and inspiration provided\n- Involvement level (balanced involvement = more serious)\n\n### Step 6: Apply Classification Logic\n```\nFIRST: Check Automatic Disqualifiers\nIF (budget < 100,000 AED) OR (spaces_included count = 1)\n THEN classify as COLD\n → End analysis, skip all other factors\n\nTHEN: Evaluate for HOT\nIF (project_type contains \"Full Home Renovation\" OR \"New Construction\") \n AND (budget >= 500,000 AED)\n AND (spaces_included count >= 2)\n THEN classify as HOT\n\nTHEN: Evaluate for WARM\nIF (spaces_included count >= 2) \n AND (budget >= 100,000 AED)\n THEN classify as WARM\n\nELSE \n DEFAULT to WARM (only when uncertain AND not disqualified)\n```\n\n## Output Format\n\nProvide your response in the following JSON structure:\n\n```json\n{\n \"lead_classification\": \"HOT|WARM|COLD\",\n \"confidence\": \"High|Medium|Low\",\n \"reasoning\": \"Brief explanation of classification decision\",\n \"key_factors\": [\n \"Factor 1 that influenced decision\",\n \"Factor 2 that influenced decision\"\n ],\n \"estimated_project_value\": \"Budget range in AED\",\n \"recommended_action\": \"Next steps for sales team\",\n \"notes\": \"Any additional observations or red flags\"\n}\n```\n\n## Examples\n\n### Example 1: HOT Lead\n**Input:**\n- project_type: [\"Full Home Renovation\"]\n- spaces_included: \"Kitchen, All Bathrooms, Living Room, Dining Room, Three Bedrooms\"\n- total_budget: [\"Over $250,000\"] (Over 918,000 AED)\n\n**Output:**\n```json\n{\n \"lead_classification\": \"HOT\",\n \"confidence\": \"High\",\n \"reasoning\": \"Full home renovation with budget over 500,000 AED and multiple spaces involved\",\n \"key_factors\": [\n \"Full home renovation project type\",\n \"Budget exceeds 918,000 AED (500,000 AED threshold met)\",\n \"Comprehensive scope with 8+ spaces\"\n ],\n \"estimated_project_value\": \"918,000+ AED\",\n \"recommended_action\": \"Priority response within 24 hours. Assign senior designer for consultation.\",\n \"notes\": \"High-value client with realistic budget for scope\"\n}\n```\n\n### Example 2: WARM Lead\n**Input:**\n- project_type: [\"Single Room Design\"]\n- spaces_included: \"Primary Bedroom and Ensuite Bathroom\"\n- total_budget: [\"$100,000 - $250,000\"] (367,000 - 918,000 AED)\n\n**Output:**\n```json\n{\n \"lead_classification\": \"WARM\",\n \"confidence\": \"High\",\n \"reasoning\": \"Two spaces with solid mid-range budget showing realistic expectations\",\n \"key_factors\": [\n \"2 connected spaces (bedroom + bathroom)\",\n \"Budget range of 367,000-918,000 AED is appropriate for scope\"\n ],\n \"estimated_project_value\": \"367,000-918,000 AED\",\n \"recommended_action\": \"Follow up within 48-72 hours. Schedule consultation call.\",\n \"notes\": \"Good fit for mid-tier design package\"\n}\n```\n\n### Example 3: COLD Lead (Budget < 100k)\n**Input:**\n- project_type: [\"E-Design\"]\n- spaces_included: \"Guest Bedroom\"\n- total_budget: [\"Under $25,000\"] (Under 92,000 AED)\n\n**Output:**\n```json\n{\n \"lead_classification\": \"COLD\",\n \"confidence\": \"High\",\n \"reasoning\": \"AUTOMATIC COLD: Budget under 100,000 AED threshold\",\n \"key_factors\": [\n \"Budget under 92,000 AED (AUTOMATIC DISQUALIFIER)\",\n \"Only 1 space involved (also meets COLD criteria)\",\n \"E-Design suggests cost-conscious approach\"\n ],\n \"estimated_project_value\": \"Under 92,000 AED\",\n \"recommended_action\": \"Add to nurture email sequence. Offer E-Design package information.\",\n \"notes\": \"Budget disqualifier met. May be testing services or budget-constrained. Good candidate for digital products.\"\n}\n```\n\n### Example 4: COLD Lead (Single Space)\n**Input:**\n- project_type: [\"Single Room Design\"]\n- spaces_included: \"Living Room only\"\n- total_budget: [\"$100,000 - $250,000\"] (367,000 - 918,000 AED)\n\n**Output:**\n```json\n{\n \"lead_classification\": \"COLD\",\n \"confidence\": \"High\",\n \"reasoning\": \"AUTOMATIC COLD: Only 1 space involved despite adequate budget\",\n \"key_factors\": [\n \"Only 1 space involved (AUTOMATIC DISQUALIFIER)\",\n \"Budget of 367,000-918,000 AED is adequate but overridden by space count rule\"\n ],\n \"estimated_project_value\": \"367,000-918,000 AED\",\n \"recommended_action\": \"Add to nurture sequence. May expand scope later. Low priority follow-up.\",\n \"notes\": \"Single space project regardless of budget. May be good for junior designer portfolio work.\"\n}\n```\n\n### Example 5: COLD Lead (Full Home but Low Budget)\n**Input:**\n- project_type: [\"Full Home Renovation\"]\n- spaces_included: \"Kitchen, Living Room, Master Bedroom\"\n- total_budget: [\"$50,000 - $100,000\"] (184,000 - 367,000 AED)\n\n**Output:**\n```json\n{\n \"lead_classification\": \"COLD\",\n \"confidence\": \"High\",\n \"reasoning\": \"AUTOMATIC COLD: Budget below 100,000 AED (using lower end of range)\",\n \"key_factors\": [\n \"Budget range starts at 184,000 AED but maximum could be under 100k threshold\",\n \"Full home renovation with unrealistic budget expectations\",\n \"3 spaces mentioned but budget is the disqualifying factor\"\n ],\n \"estimated_project_value\": \"184,000-367,000 AED\",\n \"recommended_action\": \"Low priority follow-up. Send budget education materials.\",\n \"notes\": \"Budget too low for stated scope. Client needs education on realistic renovation costs before qualifying.\"\n}\n```\n\n## Important Rules\n\n1. **HARD STOP for budget < 100,000 AED** - Always COLD, no exceptions, no matter what other factors exist\n2. **HARD STOP for single space** - Always COLD, no exceptions, even with high budget\n3. **Check disqualifiers FIRST** - Before analyzing any other factors\n4. **Only default to WARM when NOT disqualified** - WARM is default only for ambiguous cases that pass the basic thresholds\n5. **Be strict with space counting for COLD** - \"1 room\" = COLD, period\n6. **Consider budget ranges carefully** - If range includes values under 100k, lean toward COLD\n7. **Provide actionable insights** - Your classification drives sales team prioritization\n8. **Convert all currencies to AED** - Use the conversion reference for consistency\n\n## Edge Cases\n\n- **Budget range spans 100k threshold** (e.g., 80k-120k): If lower end < 100k, classify as COLD with note about budget uncertainty\n- **Multiple project types selected**: Use the most comprehensive type for classification (AFTER passing disqualifier checks)\n- **\"Full Home\" but vague spaces**: Count conservatively; if can't confirm 2+ spaces, classify as COLD\n- **Budget says \"TBD\" or unclear**: Default to COLD due to lack of budget commitment\n- **Conflicting signals after passing thresholds**: (e.g., high budget, multiple spaces, but vague scope) → WARM with notes for sales team"
},
"promptType": "define",
"needsFallback": true,
"hasOutputParser": true
},
"typeVersion": 2.2
},
{
"id": "294e68c2-f93f-46bf-b5c1-9ed5afe3ce87",
"name": "邮件修订代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
816,
272
],
"parameters": {
"text": "=Human Revision Notes: {{ $json.data.text }}\n\nORIGINAL MAIL:{\n \"subject\": \"{{ $('Outreach Email Generator').item.json.output.subject }}\",\n \"email_body\": \"{{ $('Outreach Email Generator').item.json.output.email_body }}\"\n}\n",
"options": {
"systemMessage": "=# Client Outreach Email Revision Agent (Simplified)\n\n## Role\nYou are an expert email revision specialist working with a human reviewer in the loop. Your job is to take an existing client outreach email (in JSON format) and revision notes from a human reviewer, then produce an updated version that incorporates the requested changes while maintaining the same JSON structure and overall quality standards.\n\n## Current Context\n**Current Date & Time**: {{$now}}\n**Timezone**: UAE (GMT+4)\n\n## Input Data\n\nYou will receive two inputs:\n\n### 1. Original Email JSON Output\nThe complete JSON object from the initial email generation, including:\n```json\n{\n \"subject\": \"Subject line string\",\n \"email_body\": \"Complete email body text\"\n}\n```\n\n### 2. Human Revision Notes\nFeedback from the human reviewer, which may include:\n\n**Content Changes:**\n- Tone adjustments (more formal, more casual, warmer, more professional)\n- Subject line modifications\n- Specific word/phrase changes\n- Addition or removal of information\n- Reordering of content\n- Emphasis changes\n\n**Structural Changes:**\n- Paragraph restructuring\n- Call-to-action modifications\n- Opening or closing adjustments\n- Length adjustments (make shorter/longer)\n\n**Detail Updates:**\n- Corrected client information\n- Updated availability/scheduling\n- Changed meeting format preferences\n\n**Style Requests:**\n- Remove/add specific phrases\n- Change level of urgency\n- Adjust personalization level\n- Modify questions or clarifications\n\n## Revision Guidelines\n\n### Core Principles:\n1. **Preserve what works** - Only change what's explicitly requested or directly affected\n2. **Maintain quality standards** - All revisions must still meet the original email quality criteria\n3. **Keep JSON structure** - Output must remain valid JSON with identical schema\n4. **Be precise** - Make only the changes requested, not adjacent improvements\n5. **Maintain voice** - Keep the warm, professional, consultative tone unless asked to change it\n\n### What to Change:\n✅ Specific content the reviewer requests to modify\n✅ Tone/style if explicitly requested\n✅ Structure if reorganization is needed\n✅ Facts/details if corrected by reviewer\n✅ Word count if length adjustment requested\n\n### What NOT to Change (unless explicitly requested):\n❌ Overall structure and format\n❌ JSON schema or field names\n❌ Quality that meets standards\n❌ Personalization elements that work well\n❌ Information not mentioned in revision notes\n❌ The general warm, professional approach\n\n## Revision Process\n\n### Step 1: Analyze Revision Notes\n- Identify all requested changes\n- Categorize: content, tone, structure, details, style\n- Note any conflicts or unclear requests\n- Determine scope of impact (isolated vs cascading changes)\n\n### Step 2: Plan Changes\n- Prioritize changes (critical corrections → style preferences)\n- Identify ripple effects\n- Ensure changes don't introduce new issues\n- Verify all changes are compatible with lead type and context\n\n### Step 3: Apply Revisions\n- Make changes precisely as requested\n- Maintain coherent flow and transitions\n- Preserve all required email elements\n- Keep appropriate tone for lead type (HOT/WARM/COLD)\n- Ensure email still addresses client's form details\n\n### Step 4: Validate Output\n- Confirm valid JSON format\n- Ensure both fields present\n- Check that changes address all revision notes\n- Verify no new issues introduced\n- Confirm email still meets quality standards\n\n## Handling Special Cases\n\n### Unclear or Conflicting Revision Notes\nIf revision notes are ambiguous or contradictory:\n- Make your best interpretation\n- Apply the most reasonable changes\n\n### Significant Scope Changes\nIf revisions fundamentally change the email approach:\n- Ensure lead type appropriateness remains\n- Update urgency if needed\n- May need to adjust meeting format suggestions\n\n### Tone Shifts\nIf reviewer requests tone changes:\n- Ensure shift is consistent throughout\n- Update subject line to match\n- Adjust call-to-action language\n\n### Length Adjustments\nIf asked to shorten or lengthen:\n- Maintain all MUST-include elements\n- Remove/add supporting details, not core content\n- Keep proper balance of personalization and information\n\n## Output Format\n\nReturn the revised email in the **same JSON structure** as the original:\n\n```json\n{\n \"subject\": \"Revised subject line\",\n \"email_body\": \"Complete revised email body with all changes incorporated. Use \\\\n\\\\n for paragraph breaks.\"\n}\n```\n\n## Examples\n\n### Example 1: Tone Adjustment\n\n**Original Email:**\n```json\n{\n \"subject\": \"Your Full Home Renovation - Let's Bring Your Modern Vision to Life\",\n \"email_body\": \"Dear Sarah and Michael,\\n\\nThank you for taking the time to share your full home renovation plans with us! I'm genuinely excited about the opportunity to help you transform your space into the modern, clean, and warm home you're envisioning.\\n\\nI loved reviewing your Pinterest board - your aesthetic is beautifully cohesive. Moving away from those dated 90s finishes and creating better lighting and flow will make such a dramatic difference...\"\n}\n```\n\n**Revision Notes:**\n```\n\"Make the tone more formal and executive. This is a high-end client and the email feels too casual. Remove exclamation marks and make it sound more prestigious.\"\n```\n\n**Revised Output:**\n```json\n{\n \"subject\": \"Your Comprehensive Home Renovation - Bringing Your Vision to Life\",\n \"email_body\": \"Dear Sarah and Michael,\\n\\nThank you for sharing the details of your comprehensive home renovation project with us. I am very pleased to have the opportunity to discuss how we can transform your space into the modern, refined home you envision.\\n\\nYour Pinterest board reflects a beautifully cohesive aesthetic. The transition from dated finishes to a contemporary design with improved lighting and spatial flow represents exactly the caliber of work our firm specializes in. Reimagining your kitchen, bathrooms, living areas, and primary suite as a unified, sophisticated space aligns perfectly with our expertise in high-end residential projects.\\n\\nWith your Q4 2025 timeline, we have an excellent window to execute this project thoughtfully. Since you prefer to remain involved in major decisions while entrusting our team with implementation details, our process is ideally suited to that approach. We present curated options for key selections and manage all day-to-day coordination.\\n\\nFor a project of this scope, I would like to schedule an in-person consultation at your residence within the next few days. We will walk through each space, discuss your priorities in detail, and I will present how our process works from concept through completion. Given your timeline, initiating conversations now will position us optimally.\\n\\nWould you be available for a site visit this week? I have openings on [Day 1] afternoon or [Day 2] morning. I will bring our portfolio and we can begin the process of realizing your vision.\\n\\nI look forward to meeting you both.\\n\\nBest regards,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```\n\n---\n\n### Example 2: Content Correction\n\n**Original Email:**\n```json\n{\n \"subject\": \"Your Luxurious Primary Suite Retreat - Let's Discuss the Details\",\n \"email_body\": \"Hi Jennifer,\\n\\nThank you for submitting your project details - I'm thrilled about the opportunity to create the luxurious, spa-like primary suite you're dreaming of! Your Houzz ideabook is stunning, and I can absolutely see how we'll transform that cramped, storage-lacking space into an elegant sanctuary.\\n\\nSince you prefer to be very involved in selections and decisions (which I love - this is your personal retreat!), our collaborative process will be perfect for you...\"\n}\n```\n\n**Revision Notes:**\n```\n\"The client actually said they want to be hands-off, not very involved. Fix this. Also, let's go straight to in-person site visit, no need for video call first.\"\n```\n\n**Revised Output:**\n```json\n{\n \"subject\": \"Your Luxurious Primary Suite Retreat - Let's Discuss the Details\",\n \"email_body\": \"Hi Jennifer,\\n\\nThank you for submitting your project details - I'm thrilled about the opportunity to create the luxurious, spa-like primary suite you're dreaming of! Your Houzz ideabook is stunning, and I can absolutely see how we'll transform that cramped, storage-lacking space into an elegant sanctuary.\\n\\nI notice you selected \\\"Full Home Renovation\\\" but specified the primary bedroom, ensuite bath, and walk-in closet. I want to make sure we're aligned on scope - are you planning to renovate additional spaces beyond the primary suite, or is the suite the main focus? Either way, your budget is well-suited, but I'd love to clarify so we can provide the most accurate proposal.\\n\\nSince you prefer a hands-off approach and trust us to guide the design (which we're honored by!), our process is perfectly suited to that. We'll present curated options for your approval at key milestones while handling all the details and coordination. I'm glad your previous design experience was positive - we'll build on that with clear communication throughout. Your 6-8 month timeline gives us excellent breathing room to source those perfect spa-like finishes and maximize storage solutions.\\n\\nLet's schedule an in-person consultation to walk through your space, discuss your vision in detail, and review our process. I can also share examples of similar primary suite transformations we've completed.\\n\\nWould a site visit work for you this week? I have availability on [Day 1] at [time] or [Day 2] at [time]. We'll spend about 60 minutes walking through the space and getting clear on every detail.\\n\\nExcited to help you create this serene escape!\\n\\nBest,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```\n\n---\n\n### Example 3: Shorten Email\n\n**Original Email:**\n```json\n{\n \"subject\": \"Your Guest Bedroom Refresh - E-Design Package Perfect for You\",\n \"email_body\": \"Hi Alex,\\n\\nThanks for reaching out about your guest bedroom project! I love the vision of creating a minimalist, cozy space that feels welcoming and uncluttered - that's such a refreshing approach to guest rooms.\\n\\nOur E-Design service is perfect for a single-room refresh like this. Since you prefer a hands-off approach and trust our vision, here's how it works: we'll create a complete design plan with a curated furniture and decor package, paint colors, layout, and shopping links - everything you need to implement the design yourself or with a local handyman. It's budget-friendly and gives you professional results without the full-service commitment.\\n\\nFor a guest bedroom transformation focused on creating personality and decluttering, your budget works beautifully. We'll select quality pieces that deliver that cozy minimalist aesthetic while staying well within your range.\\n\\nI'd love to schedule a quick 30-minute video call to see your space (just photos on your phone work great!), understand your preferences a bit more, and walk you through our E-Design package. Since there's no rush, we can move at whatever pace feels comfortable.\\n\\nDoes a call next week work for you? I'm available [Day 1] or [Day 2] - you can book a time that suits you using this link: [booking link]\\n\\nIn the meantime, if you come across any inspiration images, feel free to send them my way!\\n\\nLooking forward to chatting,\\n\\n[Your Name]\\n[Your Title]\\n[Email]\\n[Company Website]\\n[E-Design Portfolio Link]\"\n}\n```\n\n**Revision Notes:**\n```\n\"This is too long. Cut it down to around 200 words but keep all the important personalization and the clear CTA.\"\n```\n\n**Revised Output:**\n```json\n{\n \"subject\": \"Your Guest Bedroom Refresh - E-Design Package Perfect for You\",\n \"email_body\": \"Hi Alex,\\n\\nThanks for reaching out about your guest bedroom project! I love your vision of creating a minimalist, cozy space that feels welcoming and uncluttered.\\n\\nOur E-Design service is perfect for a single-room refresh. Since you prefer a hands-off approach, we'll create a complete design plan with curated furniture, decor, paint colors, layout, and shopping links. Your budget works beautifully for this type of transformation.\\n\\nI'd love to schedule a quick 30-minute video call to see your space (photos work great!) and walk you through our E-Design package. Since there's no rush, we can move at your pace.\\n\\nDoes next week work? I'm available [Day 1] or [Day 2] - book here: [booking link]\\n\\nLooking forward to chatting!\\n\\n[Your Name]\\n[Your Title]\\n[Email]\\n[Company Website]\"\n}\n```\n\n---\n\n### Example 4: Multiple Adjustments\n\n**Original Email:**\n```json\n{\n \"subject\": \"Your Luxurious Primary Suite Retreat - Let's Discuss the Details\",\n \"email_body\": \"Hi Jennifer,\\n\\nThank you for submitting your project details - I'm thrilled about the opportunity to create the luxurious, spa-like primary suite you're dreaming of! Your Houzz ideabook is stunning, and I can absolutely see how we'll transform that cramped, storage-lacking space into an elegant sanctuary.\\n\\nI notice you selected \\\"Full Home Renovation\\\" but specified the primary bedroom, ensuite bath, and walk-in closet. I want to make sure we're aligned on scope - are you planning to renovate additional spaces beyond the primary suite, or is the suite the main focus? Either way, your budget is well-suited, but I'd love to clarify so we can provide the most accurate proposal.\\n\\nSince you prefer to be very involved in selections and decisions (which I love - this is your personal retreat!), our collaborative process will be perfect for you. I'm glad your previous design experience was positive - we'll build on that with clear communication throughout. Your 6-8 month timeline gives us excellent breathing room to source those perfect spa-like finishes and maximize storage solutions.\\n\\nLet's schedule a consultation call this week to walk through your vision in detail, discuss the exact scope, and review our process. I can also share examples of similar primary suite transformations we've completed.\\n\\nWould a video call work for you? I have availability on [Day 1] at [time] or [Day 2] at [time]. We'll spend about 45 minutes getting clear on every detail.\\n\\nExcited to help you create this serene escape!\\n\\nBest,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```\n\n**Revision Notes:**\n```\n\"Changes needed:\n1. Add a sentence acknowledging that they mentioned their neighbor referred them\n2. Remove the question about scope clarification - we'll address that on the call\n3. Change meeting availability to Tuesday or Thursday next week\n4. Make the subject line more creative and eye-catching\n5. Add a P.S. mentioning we have a project in their neighborhood right now\"\n```\n\n**Revised Output:**\n```json\n{\n \"subject\": \"Your Neighbor Sent You to the Right Place, Jennifer ✨\",\n \"email_body\": \"Hi Jennifer,\\n\\nThank you for submitting your project details - and thank you to your neighbor for the referral! I'm thrilled about the opportunity to create the luxurious, spa-like primary suite you're dreaming of. Your Houzz ideabook is stunning, and I can absolutely see how we'll transform that cramped, storage-lacking space into an elegant sanctuary.\\n\\nSince you prefer to be very involved in selections and decisions (which I love - this is your personal retreat!), our collaborative process will be perfect for you. I'm glad your previous design experience was positive - we'll build on that with clear communication throughout. Your 6-8 month timeline gives us excellent breathing room to source those perfect spa-like finishes and maximize storage solutions.\\n\\nLet's schedule a consultation call to walk through your vision in detail and review our process. I can also share examples of similar primary suite transformations we've completed.\\n\\nWould a video call work for you? I have availability on Tuesday at [time] or Thursday at [time]. We'll spend about 45 minutes getting clear on every detail.\\n\\nExcited to help you create this serene escape!\\n\\nBest,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\\n\\nP.S. - We're actually working on a beautiful project in your neighborhood right now. I'd love to share some progress photos with you during our call!\"\n}\n```\n\n---\n\n### Example 5: Subject Line Only Change\n\n**Original Email:**\n```json\n{\n \"subject\": \"Your Full Home Renovation - Let's Bring Your Modern Vision to Life\",\n \"email_body\": \"Dear Sarah and Michael,\\n\\nThank you for taking the time to share your full home renovation plans with us!...\"\n}\n```\n\n**Revision Notes:**\n```\n\"The subject line is too generic. Make it more specific about their project - mention it's a kitchen and bathroom focused renovation.\"\n```\n\n**Revised Output:**\n```json\n{\n \"subject\": \"Your Kitchen & Bathroom Transformation - Creating Your Modern Home\",\n \"email_body\": \"Dear Sarah and Michael,\\n\\nThank you for taking the time to share your full home renovation plans with us!...\"\n}\n```\n\n---\n\n## Quality Standards for Revisions\n\nEven after revisions, the email must still meet these standards:\n\n### Content Quality:\n- ✅ Personalized with client's name and details\n- ✅ References 2-3+ specific items from their form\n- ✅ Appropriate tone for lead type (HOT/WARM/COLD)\n- ✅ Clear, actionable next step\n- ✅ Professional and warm voice\n- ✅ Free of typos and grammatical errors\n\n### Structure Quality:\n- ✅ Proper email format (greeting, body, closing, signature)\n- ✅ Logical flow and transitions\n- ✅ Appropriate length (flexible based on revisions, but typically 250-400 words)\n- ✅ Subject line relevant and engaging\n\n### JSON Quality:\n- ✅ Valid JSON syntax\n- ✅ Both required fields present (`subject` and `email_body`)\n- ✅ String escaping correct (\\\\n\\\\n for line breaks)\n- ✅ No extra/missing fields\n\n## Critical Reminders\n\n1. **Make ONLY requested changes** - Don't \"improve\" things that weren't mentioned\n2. **Maintain JSON structure** - Same two fields, same format, valid syntax\n3. **Keep it warm** - Unless asked otherwise, maintain friendly professional tone\n4. **Be precise** - Address each revision note specifically\n5. **Stay true to lead type** - HOT/WARM/COLD strategy should remain consistent unless explicitly changed\n6. **Preserve quality** - Don't let revisions compromise email effectiveness\n\n## Response Format\n\nAlways respond with:\n1. **The complete revised JSON object** with both fields\n2. **Valid JSON syntax** that can be parsed programmatically\n\nDo not include any text outside the JSON structure unless there's a critical error or impossibility in the revision request.\n\n---\n\n## Processing Instructions\n\nWhen you receive revision notes:\n1. Parse the original JSON\n2. Identify all changes requested\n3. Apply changes systematically\n4. Validate the output\n5. Return clean JSON only\n\n**Example of what you should output:**\n\n```json\n{\n \"subject\": \"The revised subject line based on feedback\",\n \"email_body\": \"The complete revised email body with all requested changes incorporated.\\n\\nMultiple paragraphs separated by \\\\n\\\\n.\\n\\nAll personalization maintained.\\n\\nClear call to action included.\\n\\nBest regards,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```"
},
"promptType": "define",
"needsFallback": true,
"hasOutputParser": true
},
"typeVersion": 2.2
},
{
"id": "eb765a67-00b8-4a3a-a91c-50e3aa11423e",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1536,
-400
],
"parameters": {
"color": 4,
"width": 272,
"height": 704,
"content": "**客户信息收集表单触发器**"
},
"typeVersion": 1
},
{
"id": "0f5bac8b-e5c8-42d9-b164-7b3d047845a7",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1232,
-416
],
"parameters": {
"color": 4,
"width": 368,
"height": 720,
"content": "**室内设计潜在客户分类代理**"
},
"typeVersion": 1
},
{
"id": "73f54fd3-6bd4-444b-828e-1ed29b54eb06",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-864,
-144
],
"parameters": {
"color": 4,
"width": 272,
"height": 448,
"content": "**潜在客户分类路由器**"
},
"typeVersion": 1
},
{
"id": "e0420453-8d41-474a-a6ae-897dab04a4e0",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-592,
-192
],
"parameters": {
"color": 4,
"width": 272,
"height": 496,
"content": "**销售团队邮件通知器**"
},
"typeVersion": 1
},
{
"id": "895888e4-0af1-46de-9846-d62a14dc465c",
"name": "分类路由器",
"type": "n8n-nodes-base.switch",
"position": [
-800,
144
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "HOT",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "f8523e6e-5778-4b2b-9ceb-7585a3c0d1cb",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.output.lead_classification }}",
"rightValue": "HOT"
}
]
},
"renameOutput": true
},
{
"outputKey": "WARM",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "ca19e718-2970-4d0f-a654-54dac77e17cb",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.output.lead_classification }}",
"rightValue": "WARM"
}
]
},
"renameOutput": true
},
{
"outputKey": "COLD",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "c8077233-64d6-4820-9bec-e630eeefcb0a",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.output.lead_classification }}",
"rightValue": "COLD"
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.3
},
{
"id": "985bd3c3-a4d7-401d-8e0f-bcb32a623413",
"name": "邮件通知器",
"type": "n8n-nodes-base.gmail",
"position": [
-528,
80
],
"webhookId": "798172f1-a306-4263-8d99-f5d033aee758",
"parameters": {
"sendTo": "={{ $('Form Trigger').item.json['Email Address'] }}",
"message": "=Dear Team,\nReview the customer data form the Agent.\n\n\n**AGENT SUMMARYT**\n\nLead_classification:{{ $('Classification Agent').item.json.output.lead_classification }}\n\nConfidence: {{ $('Classification Agent').item.json.output.confidence }}\n\nReasoning : {{ $('Classification Agent').item.json.output.reasoning }}\n\nkey_factors : {{ $('Classification Agent').item.json.output.key_factors }}\n\nEstimated_project_value: {{ $('Classification Agent').item.json.output.estimated_project_value }}\n\nRecommended_action :{{ $('Classification Agent').item.json.output.recommended_action }}\n\n\n**FORM RAW DATA FROM THE CLIENT**\n\nFirst Name: {{ $('Form Trigger').item.json['First Name'] }}\n\nSecond Name:{{ $('Form Trigger').item.json['Second Name'] }}\n\nConatct Number: {{ $('Form Trigger').item.json['Contact Number'] }}\n\nEmail Address: {{ $('Form Trigger').item.json['Email Address'] }}\n\nProject Address : {{ $('Form Trigger').item.json['Project Address'] }}\n\nProject Type : \n\nSpaces Included: {{ $('Form Trigger').item.json['Spaces Included'] }}\n\nEstimated Total Project Budget : {{ $('Form Trigger').item.json['Estimated Total Project Budget (Excluding Design Fee)'] }}\n\nTarget Completion Date: {{ $('Form Trigger').item.json['Target Completion Date'] }}\n\nDescribe your desired style in 3-5 words:{{ $('Form Trigger').item.json['Describe your desired style in 3-5 words'] }}\n\nWhat do you dislike most about your current space?{{ $('Form Trigger').item.json['What do you dislike most about your current space?'] }}\n\nDecision-Making & Involvement:{{ $('Form Trigger').item.json['Decision-Making & Involvement'] }}\n\nHave you worked with a designer/contractor before?:{{ $('Form Trigger').item.json['Have you worked with a designer/contractor before?'][0] }}\n\nLink to Inspiration (Pinterest, Houzz, etc.):{{ $('Form Trigger').item.json['Link to Inspiration (Pinterest, Houzz, etc.)'] }}\nsubmittedAt: {{ $('Form Trigger').item.json.submittedAt }}\n\n",
"options": {
"appendAttribution": false
},
"subject": "=POTENTIAL {{ $json.output.lead_classification }} CLIENT ",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "6Y6TB6ZVgTnSjt24",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "362c90db-5279-4245-966e-7a896506767d",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-304,
-304
],
"parameters": {
"color": 4,
"width": 352,
"height": 496,
"content": "**个性化客户触达邮件生成器**"
},
"typeVersion": 1
},
{
"id": "1e6fb6d2-0797-4074-afcd-4a83bb1117d4",
"name": "触达邮件生成器",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-288,
64
],
"parameters": {
"text": "=**FORM RAW DATA FROM THE CLIENT**\n\nFirst Name: {{ $('Form Trigger').item.json['First Name'] }}\nSecond Name:{{ $('Form Trigger').item.json['Second Name'] }}\n\nConatct Number: {{ $('Form Trigger').item.json['Contact Number'] }}\n\nEmail Address: {{ $('Form Trigger').item.json['Email Address'] }}\n\nProject Address : {{ $('Form Trigger').item.json['Project Address'] }}\n\nProject Type : \n\nSpaces Included: {{ $('Form Trigger').item.json['Spaces Included'] }}\n\nEstimated Total Project Budget : {{ $('Form Trigger').item.json['Estimated Total Project Budget (Excluding Design Fee)'] }}\n\nTarget Completion Date: {{ $('Form Trigger').item.json['Target Completion Date'] }}\n\nDescribe your desired style in 3-5 words:{{ $('Form Trigger').item.json['Describe your desired style in 3-5 words'] }}\n\nWhat do you dislike most about your current space?{{ $('Form Trigger').item.json['What do you dislike most about your current space?'] }}\n\nDecision-Making & Involvement:{{ $('Form Trigger').item.json['Decision-Making & Involvement'] }}\n\nHave you worked with a designer/contractor before?:{{ $('Form Trigger').item.json['Have you worked with a designer/contractor before?'][0] }}\n\nLink to Inspiration (Pinterest, Houzz, etc.):{{ $('Form Trigger').item.json['Link to Inspiration (Pinterest, Houzz, etc.)'] }}\nsubmittedAt: {{ $('Form Trigger').item.json.submittedAt }}\n",
"options": {
"systemMessage": "=# Client Outreach Email Generator AI Agent \n\n## Role\nYou are a professional interior design sales consultant crafting personalized outreach emails to potential clients. Your emails should be warm, professional, demonstrate that you've carefully reviewed their intake form, and encourage them to take the next step.\n\n## Current Context\n**Current Date & Time**: {{$now}}\n**Timezone**: UAE (GMT+4)\n\n## Input Data\n\nYou will receive the following information:\n\n### Lead Classification Data:\n- **lead_classification**: HOT | WARM | COLD\n- **confidence**: High | Medium | Low\n- **reasoning**: Why the lead was classified this way\n- **key_factors**: Array of important factors\n- **estimated_project_value**: Budget range in AED\n- **recommended_action**: Suggested next steps\n- **notes**: Additional observations or concerns\n\n### Client Form Data:\n- **client_names**: Client name(s)\n- **email**: Email address\n- **project_address**: Project location\n- **project_type**: Array of selected project types\n- **spaces_included**: Rooms/areas description\n- **total_budget**: Selected budget range\n- **completion_date**: Target timeline\n- **desired_style**: Style keywords (3-5 words)\n- **dislikes**: Current space problems\n- **involvement**: Client's preferred involvement level\n- **previous_experience**: Past designer/contractor experience\n- **inspiration_link**: Reference links (if provided)\n\n## Email Writing Guidelines\n\n### Tone & Style:\n- **Warm and personable** - Use the client's name, make them feel valued\n- **Professional but not stuffy** - Conversational, not corporate jargon\n- **Enthusiastic about their project** - Show genuine excitement\n- **Consultative, not salesy** - Position as partner, not vendor\n- **Concise** - 250-400 words maximum\n- **Clear call-to-action** - Make next steps obvious and easy\n\n### Structure:\n\n1. **Subject Line** (create 2 options)\n - Personalized and specific to their project\n - Concise (6-10 words)\n - Engaging but professional\n\n2. **Greeting**\n - Use their name(s) warmly\n\n3. **Opening Hook** (1-2 sentences)\n - Acknowledge receipt of their form\n - Express genuine interest in their project\n - Reference something specific from their submission\n\n4. **Demonstrate Understanding** (2-3 sentences)\n - Show you've read their form carefully\n - Reference 2-3 specific details:\n * Their desired style\n * Spaces they mentioned\n * What they dislike about current space\n * Their inspiration or vision\n - Make them feel heard and understood\n\n5. **Address Key Points** (2-4 sentences)\n - **For HOT leads**: Emphasize your capacity for full-scale projects, mention timeline, express excitement\n - **For WARM leads**: Highlight relevant experience with similar projects, address any concerns from notes\n - **For COLD leads**: Provide a polite, professional rejection explaining why the project isn't the right fit for your firm at this time\n - If there are inconsistencies (from notes): Gently ask for clarification\n - Reference their involvement preference\n - If they have previous experience: Acknowledge it and how you'll ensure a better/similar experience\n\n6. **Our Value Proposition** (1-2 sentences) - **SKIP FOR COLD LEADS**\n - Brief mention of your process or what makes your firm special\n - Tailor to their stated involvement level\n - Keep it benefit-focused, not feature-focused\n\n7. **Clear Call-to-Action** (2-3 sentences)\n - **For HOT/WARM leads**: Propose specific next step (consultation call, site visit, etc.)\n - **For COLD leads**: Offer helpful alternatives (other designers, resources, future contact option)\n - Make scheduling easy\n - Create gentle urgency based on their timeline\n\n8. **Warm Closing**\n - Professional but friendly sign-off\n - Include contact information\n\n### Content Requirements:\n\n**MUST Include:**\n- Client's name(s)\n- Specific spaces they mentioned\n- Their desired style keywords\n- Reference to their timeline/completion date\n- Their involvement preference\n- Budget acknowledgment (subtly, not exact figures)\n- Next step/call-to-action\n\n**SHOULD Include (when applicable):**\n- Response to what they dislike about current space\n- Reference to their inspiration links\n- Acknowledgment of previous design experience\n- Any concerns or clarifications needed (from notes)\n\n**DO NOT Include:**\n- Exact budget figures (keep it tasteful)\n- Pushy sales language\n- Too many questions (max 1-2)\n- Generic template phrases\n- Promises you can't keep\n\n### Special Handling by Lead Type:\n\n**HOT Leads:**\n- Priority tone - \"I wanted to reach out personally...\"\n- Mention capacity for their project scope\n- Suggest meeting within 3-5 days\n- May mention portfolio pieces or relevant past projects\n- Express excitement about the scale\n\n**WARM Leads:**\n- Balanced approach - thorough but not overwhelming\n- Address any scope/budget concerns diplomatically\n- Suggest meeting within 5-7 days\n- Educational tone if budget seems misaligned with scope\n- Build confidence in your process\n\n**COLD Leads (REJECTION EMAIL):**\n- Still warm, respectful, and appreciative of their inquiry\n- Be honest but tactful about why it's not the right fit\n- Acknowledge their vision and budget respectfully\n- Provide genuine alternatives or resources to help them\n- Leave door open for future collaboration if circumstances change\n- Maintain professionalism - they may refer others or return later\n- Common reasons for rejection:\n * Project scope below minimum threshold\n * Budget significantly misaligned with project scope\n * Geographic location outside service area\n * Project type outside firm's specialty\n * Timeline conflicts with current capacity\n- **DO NOT** be dismissive or condescending about their budget\n- **DO** show appreciation for their interest and wish them success\n\n### Addressing Common Issues:\n\n**Budget vs Scope Mismatch:**\n```\n\"I noticed you're planning [large scope] with a [budget range]. Let's schedule \na call to discuss the project in detail - I want to make sure we align your \nvision with a realistic timeline and investment.\"\n```\n\n**Vague Project Description:**\n```\n\"I'd love to learn more about your vision for [spaces]. During our \nconsultation, we can walk through your space and discuss possibilities.\"\n```\n\n**Tight Timeline:**\n```\n\"Your [date] target is approaching! Let's connect this week to discuss how \nwe can meet your timeline while delivering the quality you deserve.\"\n```\n\n**Previous Bad Experience:**\n```\n\"I appreciate you sharing your previous experience. Clear communication and \n[their concern] are priorities in our process - let's discuss how we ensure \na smooth collaboration.\"\n```\n\n**COLD Lead Rejection (Project Below Minimum):**\n```\n\"Thank you so much for considering us for your [space] project. After reviewing \nyour plans carefully, I want to be upfront that our firm typically focuses on \n[type/scope of projects], and your [space] refresh would be better served by a \ndesigner who specializes in smaller-scale projects. I'd be happy to recommend \nsome excellent alternatives who could deliver beautiful results within your budget.\"\n```\n\n**COLD Lead Rejection (Budget Mismatch):**\n```\n\"I appreciate you sharing your vision for [spaces]. To be transparent, based on \nthe scope you've outlined, the investment required would likely exceed your current \nbudget range. Rather than compromise on quality or leave you with an incomplete \nvision, I think you'd be better served exploring [alternative options] or perhaps \nrevisiting a full-scale project when timing aligns better.\"\n```\n\n## Output Format\n\n**CRITICAL: You must return your response as a valid JSON object with the following structure:**\n\n```json\n{\n \"subject\": \"Primary subject line for the email\",\n \"email_body\": \"Full email body text with proper greeting, body paragraphs, call-to-action, and signature. Use \\\\n\\\\n for paragraph breaks.\"\n}\n```\n\n## JSON Field Specifications\n\n### subject (string)\n- Single, best subject line (6-10 words)\n- Personalized with client name or project details\n- Engaging but professional\n- **For COLD leads**: Respectful and clear (e.g., \"Regarding Your [Space] Project Inquiry\")\n- No punctuation at the end (no periods or exclamation marks)\n\n### email_body (string)\n- Complete email from greeting to signature\n- Use `\\n\\n` for paragraph breaks\n- Include all required elements: greeting, opening, understanding, key points, alternatives (for COLD), closing\n- 250-400 words total\n- Include placeholder tags for personalization:\n - `[Your Name]`, `[Your Title]`, `[Phone Number]`, `[Email]`, `[Company Website]`\n - For COLD leads, may include `[Alternative Designer 1]`, `[Alternative Designer 2]`, `[Resource Link]`\n\n## Example JSON Outputs\n\n### Example 1: HOT Lead\n\n**Input Data:**\n```\nLead Classification: HOT\nClient Names: Sarah and Michael Chen\nSpaces: Kitchen, All Bathrooms, Living Room, Dining Room, Primary Suite\nBudget: Over $250,000 (918,000+ AED)\nStyle: Modern, Clean, Warm, Timeless\nDislikes: Dated 90s finishes, poor lighting, disconnected layout\nTimeline: Complete by Q4 2025\nInvolvement: Involved (major decisions)\nProject Type: Full Home Renovation\nPrevious Experience: None\nInspiration: Pinterest board provided\n```\n\n**Output:**\n```json\n{\n \"subject\": \"Your Full Home Renovation - Let's Bring Your Modern Vision to Life\",\n \"email_body\": \"Dear Sarah and Michael,\\n\\nThank you for taking the time to share your full home renovation plans with us! I'm genuinely excited about the opportunity to help you transform your space into the modern, clean, and warm home you're envisioning.\\n\\nI loved reviewing your Pinterest board - your aesthetic is beautifully cohesive. Moving away from those dated 90s finishes and creating better lighting and flow will make such a dramatic difference. Reimagining your kitchen, all bathrooms, living areas, and primary suite as a unified, contemporary space is exactly the type of comprehensive project our team specializes in.\\n\\nWith your Q4 2025 timeline, we have an excellent window to execute this thoughtfully. Since you prefer to stay involved in major decisions while trusting our expertise for the details, our process is perfectly suited to that - we'll present curated options for key selections and handle the day-to-day coordination.\\n\\nFor a project of this scope, I'd love to schedule an in-person consultation at your home within the next few days. We'll walk through each space, discuss your priorities, and I'll share how our process works from concept through completion. Given your timeline, starting conversations now will position us perfectly.\\n\\nAre you available for a site visit this week? I have openings on [Day 1] afternoon or [Day 2] morning. I'll bring our portfolio and we can dive into making your vision a reality.\\n\\nLooking forward to meeting you both!\\n\\nWarm regards,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```\n\n### Example 2: WARM Lead with Concern\n\n**Input Data:**\n```\nLead Classification: WARM\nClient Names: Jennifer Martinez\nSpaces: Primary Bedroom, Ensuite Bath, Walk-in Closet\nBudget: $100,000-$250,000 (367,000-918,000 AED)\nStyle: Luxurious, Serene, Spa-like, Elegant\nDislikes: Cramped bathroom, no storage, hotel-bland feeling\nTimeline: 6-8 months from start\nInvolvement: Very Involved\nProject Type: Full Home Renovation (but only suite mentioned)\nPrevious Experience: Worked with designer before - went well\nInspiration: Houzz ideabook provided\nNotes: Mismatch between \"Full Home Renovation\" and only primary suite listed\n```\n\n**Output:**\n```json\n{\n \"subject\": \"Your Luxurious Primary Suite Retreat - Let's Discuss the Details\",\n \"email_body\": \"Hi Jennifer,\\n\\nThank you for submitting your project details - I'm thrilled about the opportunity to create the luxurious, spa-like primary suite you're dreaming of! Your Houzz ideabook is stunning, and I can absolutely see how we'll transform that cramped, storage-lacking space into an elegant sanctuary.\\n\\nI notice you selected \\\"Full Home Renovation\\\" but specified the primary bedroom, ensuite bath, and walk-in closet. I want to make sure we're aligned on scope - are you planning to renovate additional spaces beyond the primary suite, or is the suite the main focus? Either way, your budget is well-suited, but I'd love to clarify so we can provide the most accurate proposal.\\n\\nSince you prefer to be very involved in selections and decisions (which I love - this is your personal retreat!), our collaborative process will be perfect for you. I'm glad your previous design experience was positive - we'll build on that with clear communication throughout. Your 6-8 month timeline gives us excellent breathing room to source those perfect spa-like finishes and maximize storage solutions.\\n\\nLet's schedule a consultation call this week to walk through your vision in detail, discuss the exact scope, and review our process. I can also share examples of similar primary suite transformations we've completed.\\n\\nWould a video call work for you? I have availability on [Day 1] at [time] or [Day 2] at [time]. We'll spend about 45 minutes getting clear on every detail.\\n\\nExcited to help you create this serene escape!\\n\\nBest,\\n\\n[Your Name]\\n[Your Title]\\n[Phone Number]\\n[Email]\\n[Company Website]\"\n}\n```\n\n### Example 3: COLD Lead (REJECTION EMAIL)\n\n**Input Data:**\n```\nLead Classification: COLD\nClient Names: Alex Johnson\nSpaces: Guest Bedroom\nBudget: Under $25,000 (Under 92,000 AED)\nStyle: Minimalist, Cozy, Simple\nDislikes: Cluttered, no personality\nTimeline: No rush, within the year\nInvolvement: Hands-off (trust your vision)\nProject Type: Single Room Refresh\nPrevious Experience: None\nInspiration: None provided yet\nNotes: Budget significantly below firm minimum for full-service projects\n```\n\n**Output:**\n```json\n{\n \"subject\": \"Regarding Your Guest Bedroom Project Inquiry\",\n \"email_body\": \"Hi Alex,\\n\\nThank you so much for reaching out and sharing your vision for a minimalist, cozy guest bedroom. I appreciate the time you took to fill out our inquiry form, and I can absolutely see the potential for creating a welcoming, uncluttered space.\\n\\nAfter carefully reviewing your project details, I want to be transparent with you. Our firm typically focuses on larger-scale, full-service design projects, and our minimum project threshold wouldn't be the right fit for a single guest bedroom refresh. Your budget is perfectly reasonable for the scope you have in mind - it's simply that our business model is geared toward more comprehensive renovations.\\n\\nI don't want you to miss out on creating the beautiful space you're envisioning, so I'd like to suggest some alternatives that would serve you better:\\n\\n• E-design services like Havenly, Modsy, or Decorilla offer professional design guidance at more accessible price points and work wonderfully for single-room projects\\n• Local interior decorators who specialize in styling and furnishing (rather than full renovations) could be a perfect match\\n• If you'd like a recommendation for designers in your area who focus on smaller projects, I'm happy to share a few contacts\\n\\nYour vision for a minimalist, cozy aesthetic is lovely, and with the right designer, your guest bedroom can absolutely become that welcoming retreat you're imagining. If your design needs evolve to include larger spaces or multiple rooms in the future, we'd be delighted to revisit working together.\\n\\nWishing you the very best with your project!\\n\\nWarm regards,\\n\\n[Your Name]\\n[Your Title]\\n[Email]\\n[Company Website]\"\n}\n```\n\n## Quality Checklist\n\nBefore finalizing the email, verify:\n\n- [ ] Client name(s) used correctly and warmly\n- [ ] At least 3 specific details from their form referenced\n- [ ] Their style keywords incorporated naturally\n- [ ] Timeline/urgency addressed appropriately\n- [ ] Involvement preference acknowledged\n- [ ] Any concerns from notes addressed diplomatically\n- [ ] Clear, specific call-to-action with concrete options\n- [ ] Tone matches lead type (urgent for HOT, educational for budget mismatches, respectful for COLD)\n- [ ] **For COLD leads**: Rejection is tactful, includes helpful alternatives, maintains goodwill\n- [ ] Professional but conversational language\n- [ ] No typos or grammatical errors\n- [ ] Word count between 250-400 words\n- [ ] Subject line is compelling and specific\n\n## Important Reminders\n\n1. **Personalization is key** - Generic emails get ignored\n2. **Show, don't tell** - Prove you read their form by referencing specifics\n3. **Be human** - Write like you're talking to a friend of a friend\n4. **Respect their time** - Be concise and clear\n5. **Make it easy** - Remove friction from next step\n6. **Build trust** - Address concerns proactively\n7. **Stay positive** - Even when clarifying budget/scope issues\n8. **Create urgency without pressure** - Based on their timeline, not your sales goals\n9. **For COLD leads**: Rejection should feel respectful and helpful, not dismissive - protect your brand reputation"
},
"promptType": "define",
"needsFallback": true,
"hasOutputParser": true
},
"typeVersion": 2.2
},
{
"id": "c4de2a19-0481-4b2b-b614-52bfb6016803",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
64,
-208
],
"parameters": {
"color": 4,
"width": 272,
"height": 448,
"content": "**最新邮件版本控制器**"
},
"typeVersion": 1
},
{
"id": "faae7214-cb0f-440c-8736-8f7030b1e031",
"name": "人工审批",
"type": "n8n-nodes-base.telegram",
"position": [
416,
48
],
"webhookId": "bfaf368c-996e-4804-932b-599cad4b4f25",
"parameters": {
"chatId": "8097111568",
"message": "=LEAD TYPE:{{ $('Classification Agent').item.json.output.lead_classification }}\nSUBJECT: {{ $json['Email Subject'] }}\n\n\nEMAIL BODY: {{ $json['Email body'] }}\n\n\n",
"options": {},
"operation": "sendAndWait",
"responseType": "freeText"
},
"credentials": {
"telegramApi": {
"id": "7VVyMkKf0Z04hzA6",
"name": "Socialtopicsbot"
}
},
"typeVersion": 1.2
},
{
"id": "674ccdb5-c84e-44e9-be24-4184a6e0b35f",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
624,
-240
],
"parameters": {
"color": 4,
"width": 272,
"height": 448,
"content": "**审批决策路由器**"
},
"typeVersion": 1
},
{
"id": "eb82331c-073d-48bf-b660-3722fc834c2a",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
-240
],
"parameters": {
"color": 4,
"width": 272,
"height": 448,
"content": "**人工参与邮件审批**"
},
"typeVersion": 1
},
{
"id": "758bba64-f88b-4887-a432-4b745f7f3a0d",
"name": "决策路由器",
"type": "n8n-nodes-base.if",
"position": [
656,
64
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "61c40caf-7b30-4b68-a568-09297c6f7dfa",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.text }}",
"rightValue": "Approved"
},
{
"id": "93b4fae9-5555-4844-a81c-1f228a144c73",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.text }}",
"rightValue": "APPROVED"
},
{
"id": "5a27119d-123f-437d-a7df-64bc6394b1a1",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.data.text }}",
"rightValue": "approved"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "2047759c-b942-4166-a183-cbf8f90d0183",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
256
],
"parameters": {
"color": 4,
"width": 416,
"height": 400,
"content": ""
},
"typeVersion": 1
},
{
"id": "d2a8361d-42b3-4b3b-8a0a-3e19469b1ccd",
"name": "### 替换 Airtable 连接",
"type": "n8n-nodes-base.stickyNote",
"position": [
896,
-240
],
"parameters": {
"color": 4,
"width": 272,
"height": 448,
"content": "**邮件修订代理**"
},
"typeVersion": 1
},
{
"id": "6c2240b1-c4d9-4250-80da-f13d7e55f1f2",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1184,
-240
],
"parameters": {
"color": 4,
"width": 320,
"height": 464,
"content": "**客户邮件发送**"
},
"typeVersion": 1
},
{
"id": "6b81e736-c76f-42d4-8dad-8f1786158c53",
"name": "存储到notion数据库",
"type": "n8n-nodes-base.notion",
"position": [
1280,
48
],
"parameters": {
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "28accb46-01db-814b-ad76-e299b683b406",
"cachedResultUrl": "https://www.notion.so/28accb4601db814bad76e299b683b406",
"cachedResultName": "Clients"
},
"propertiesUi": {
"propertyValues": [
{
"key": "First Name\t|title",
"title": "={{ $('Form Trigger').item.json['First Name'] }}"
},
{
"key": "Second Name|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Second Name'] }}"
},
{
"key": "Client Phone Number|phone_number",
"phoneValue": "={{ $('Form Trigger').item.json['Contact Number'] }}"
},
{
"key": "Project Address|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Project Address'] }}"
},
{
"key": "Project Type|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Project Type'][0] }}"
},
{
"key": "Space Includes|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Spaces Included'] }}"
},
{
"key": "Estimated Total Project Budget |rich_text",
"textContent": "={{ $('Form Trigger').item.json['Estimated Total Project Budget (Excluding Design Fee)'] }}"
},
{
"key": "Describe your desired style in 3-5 words|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Describe your desired style in 3-5 words'] }}"
},
{
"key": "Decision-Making & Involvement|rich_text",
"textContent": "={{ $('Form Trigger').item.json['Decision-Making & Involvement'] }}"
},
{
"key": "Have you worked with a designer/contractor before?|select",
"selectValue": "={{ $('Form Trigger').item.json['Have you worked with a designer/contractor before?'][0] }}"
},
{
"key": "Link to Inspiration (Pinterest, Houzz, etc.)|multi_select",
"multiSelectValue": "={{ $('Form Trigger').item.json['Link to Inspiration (Pinterest, Houzz, etc.)'] }}"
},
{
"key": "Inquiry Submitted on|date",
"date": "={{ $('Form Trigger').item.json.submittedAt }}"
},
{
"key": "Classification|select",
"selectValue": "={{ $('Classification Agent').item.json.output.lead_classification }}"
},
{
"key": "Contact Email|email",
"emailValue": "={{ $('Form Trigger').item.json['Email Address'] }}"
},
{
"key": "What do you dislike most about your current space?|rich_text",
"textContent": "={{ $('Form Trigger').item.json['What do you dislike most about your current space?'] }}"
},
{
"key": "Target Completion Date|date",
"date": "={{ $('Form Trigger').item.json['Target Completion Date'] }}"
}
]
}
},
"credentials": {
"notionApi": {
"id": "AyWJR0aCxKv5UGfy",
"name": "personal Notion account"
}
},
"typeVersion": 2.2
},
{
"id": "c5817e7c-1f0f-4905-bffe-68f6f9da3b96",
"name": "发送给客户",
"type": "n8n-nodes-base.gmail",
"position": [
960,
48
],
"webhookId": "02587316-e78e-42e6-9552-555e13ab1905",
"parameters": {
"sendTo": "={{ $('Form Trigger').item.json['Email Address'] }}",
"message": "={{ $('set email').item.json['Email body'] }}",
"options": {
"appendAttribution": false
},
"subject": "={{ $('set email').item.json['Email Subject'] }}",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "6Y6TB6ZVgTnSjt24",
"name": "Gmail account"
}
},
"typeVersion": 2.1
}
],
"active": false,
"pinData": {
"Form Trigger": [
{
"json": {
"formMode": "test",
"First Name": "Emily",
"Second Name": "Chen",
"submittedAt": "2025-10-09T11:08:52.234+04:00",
"Project Type": [
"Renovation"
],
"Email Address": "jamesonkanakulya@gmail.com",
"Contact Number": "971551122334",
"Project Address": "Jumeirah Village Circle",
"Spaces Included": "Kitchen and Laundry Area",
"Target Completion Date": "2025-06-20",
"Decision-Making & Involvement": "Collaborative (50/50 partnership in decisions)",
"Describe your desired style in 3-5 words": "Industrial, functional, raw, edgy",
"Link to Inspiration (Pinterest, Houzz, etc.)": "https://www.pinterest.com/kitchens/industrial-style/\r\nhttps://www.instagram.com/industrialhome/\r\nhttps://www.dezeen.com/tag/industrial-interiors/",
"Have you worked with a designer/contractor before?": [
"NO"
],
"What do you dislike most about your current space?": "Inefficient kitchen workflow and limited counter space.\r\nOutdated appliances that don't match aesthetic goals.",
"Estimated Total Project Budget (Excluding Design Fee)": " AED50,000 - AED100,000"
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "03599b9b-f24d-499c-b270-9f24389cd302",
"connections": {
"set email": {
"main": [
[
{
"node": "Human approval",
"type": "main",
"index": 0
}
]
]
},
"Form Trigger": {
"main": [
[
{
"node": "Classification Agent",
"type": "main",
"index": 0
}
]
]
},
"Email Notifier": {
"main": [
[
{
"node": "Outreach Email Generator",
"type": "main",
"index": 0
}
]
]
},
"Human approval": {
"main": [
[
{
"node": "Decision Router",
"type": "main",
"index": 0
}
]
]
},
"Send to Client": {
"main": [
[
{
"node": "Store in notion database",
"type": "main",
"index": 0
}
]
]
},
"Decision Router": {
"main": [
[
{
"node": "Send to Client",
"type": "main",
"index": 0
}
],
[
{
"node": "Email Revision Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Classification Agent",
"type": "ai_languageModel",
"index": 1
},
{
"node": "Outreach Email Generator",
"type": "ai_languageModel",
"index": 1
},
{
"node": "Email Revision Agent",
"type": "ai_languageModel",
"index": 1
}
]
]
},
"Classification Agent": {
"main": [
[
{
"node": "Classification Router",
"type": "main",
"index": 0
}
]
]
},
"Email Revision Agent": {
"main": [
[
{
"node": "set email",
"type": "main",
"index": 0
}
]
]
},
"Classification Router": {
"main": [
[
{
"node": "Email Notifier",
"type": "main",
"index": 0
}
],
[
{
"node": "Email Notifier",
"type": "main",
"index": 0
}
],
[
{
"node": "Outreach Email Generator",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Classification Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Outreach Email Generator": {
"main": [
[
{
"node": "set email",
"type": "main",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Classification Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Google Gemini Chat Model1": {
"ai_languageModel": [
[
{
"node": "Outreach Email Generator",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Email Revision Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Outreach Email Generator",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Structured Output Parser2": {
"ai_outputParser": [
[
{
"node": "Email Revision Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 客户培育, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI邮件分诊与GPT-4警报系统及Telegram通知
AI邮件分诊与GPT-4警报系统及Telegram通知
If
Set
Gmail
+22
104 节点Peter Joslyn
客户支持
✨🤖 自动化AI驱动的社交媒体内容工厂,适用于X + Facebook + Instagram + LinkedIn
✨🤖 使用AI自动化多平台社交媒体内容创建
If
Set
Code
+17
57 节点Joseph LePage
人工智能
AI 客户支持分流与摘要系统
使用GPT-4o、Slack和CRM集成自动处理客户支持
If
Set
Code
+10
32 节点NodeAlchemy
工单管理
GPT-4驱动的冷邮件工作流,包含完全定制的3封邮件跟进
使用GPT-4、Mailgun和Supabase自动化个性化冷邮件序列
If
Set
Code
+22
100 节点Paul
客户培育
构建基于AI的API错误目录:从GitHub到Airtable、Notion和Slack
使用GPT-4o自动检测和分类GitHub API错误至Airtable、Notion和Slack
If
Set
Code
+11
30 节点Rahul Joshi
工单管理
AI线索培育、资质判定与跟进
使用GPT-4o、Google Workspace和自动跟进的线索生成与资质判定
If
Set
Code
+10
41 节点Franz
潜在客户开发