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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "AI_Lead_Qualification_System",
|
| 3 |
+
"nodes": [
|
| 4 |
+
{
|
| 5 |
+
"parameters": {
|
| 6 |
+
"httpMethod": "POST",
|
| 7 |
+
"path": "2e540804-d6b5-49b5-b2bf-18ac1e2dd4d9",
|
| 8 |
+
"options": {}
|
| 9 |
+
},
|
| 10 |
+
"type": "n8n-nodes-base.webhook",
|
| 11 |
+
"typeVersion": 2,
|
| 12 |
+
"position": [
|
| 13 |
+
-304,
|
| 14 |
+
-336
|
| 15 |
+
],
|
| 16 |
+
"id": "07a11afb-f7d1-4aa3-a075-fd9c0bb77720",
|
| 17 |
+
"name": "Webhook",
|
| 18 |
+
"webhookId": "2e540804-d6b5-49b5-b2bf-18ac1e2dd4d9"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"parameters": {
|
| 22 |
+
"operation": "scrape",
|
| 23 |
+
"url": "={{ $json.body.website }}",
|
| 24 |
+
"scrapeOptions": {
|
| 25 |
+
"options": {
|
| 26 |
+
"headers": {}
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
"requestOptions": {}
|
| 30 |
+
},
|
| 31 |
+
"type": "@mendable/n8n-nodes-firecrawl.firecrawl",
|
| 32 |
+
"typeVersion": 1,
|
| 33 |
+
"position": [
|
| 34 |
+
16,
|
| 35 |
+
-336
|
| 36 |
+
],
|
| 37 |
+
"id": "21141293-0e5d-421d-bb21-c6f9317214e1",
|
| 38 |
+
"name": "Scrape a url and get its content",
|
| 39 |
+
"credentials": {
|
| 40 |
+
"firecrawlApi": {
|
| 41 |
+
"id": "dePfkAPgFNjl3M54",
|
| 42 |
+
"name": "Firecrawl account"
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"onError": "continueRegularOutput"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"parameters": {
|
| 49 |
+
"model": {
|
| 50 |
+
"__rl": true,
|
| 51 |
+
"mode": "list",
|
| 52 |
+
"value": "gpt-4.1-mini"
|
| 53 |
+
},
|
| 54 |
+
"options": {}
|
| 55 |
+
},
|
| 56 |
+
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
| 57 |
+
"typeVersion": 1.2,
|
| 58 |
+
"position": [
|
| 59 |
+
272,
|
| 60 |
+
-144
|
| 61 |
+
],
|
| 62 |
+
"id": "4c41f576-f0c7-4b4a-bf03-66db63fd25ce",
|
| 63 |
+
"name": "OpenAI Chat Model",
|
| 64 |
+
"credentials": {
|
| 65 |
+
"openAiApi": {
|
| 66 |
+
"id": "a0dNAA87bsJcRBWO",
|
| 67 |
+
"name": "OpenAi account 2"
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"parameters": {
|
| 73 |
+
"jsonSchemaExample": "{\n \"leadFit\": \"High\",\n \"urgency\": \"High\",\n \"qualificationStatus\": \"Hot\",\n \"reason\": \"The lead operates an established SaaS platform, provided a professional website, a clear automation goal, and has a budget of $5k–$10k, indicating they are serious and ready to proceed.\",\n \"timeline\": \"3 weeks\",\n \"budget\": \"$5k–$10k\",\n \"followUpAction\": \"Schedule a discovery call and send relevant SaaS automation case studies\",\n \"Email_Status\": \"Not yet\",\n \"subject\": \"Helping your SaaS scale with AI automation 🚀\",\n \"emailBody\": \"Hi Alex,\\n\\nThanks for sharing your vision for automating your SaaS onboarding process. After reviewing your site and project description, we believe Agentrix212 can deliver a tailored automation that saves you time, reduces errors, and improves customer experience.\\n\\nWe’d love to schedule a 20-minute discovery call to walk you through similar projects we’ve completed and explore how we can make this work for you.\\n\\nWould you be available this week?\\n\\nWarm regards,\\nThe Agentrix212 Team\",\n \"evaluatedAt\": \"10 August 2025 03:15 PM\"\n}\n"
|
| 74 |
+
},
|
| 75 |
+
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
|
| 76 |
+
"typeVersion": 1.3,
|
| 77 |
+
"position": [
|
| 78 |
+
512,
|
| 79 |
+
-144
|
| 80 |
+
],
|
| 81 |
+
"id": "23461626-44c7-47ae-932a-82df4cf1b7f6",
|
| 82 |
+
"name": "Structured Output Parser"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"parameters": {
|
| 86 |
+
"promptType": "define",
|
| 87 |
+
"text": "=Budget: {{ $('Webhook').item.json.body.budget }}\nGoal: {{ $('Webhook').item.json.body.automationGoal }}\nTools in Use: {{ $('Webhook').item.json.body.currentTools }}\nTimeline: {{ $('Webhook').item.json.body.timeline }}\n\nWebsite Summary:\n{{ $json.data.markdown }}",
|
| 88 |
+
"hasOutputParser": true,
|
| 89 |
+
"messages": {
|
| 90 |
+
"messageValues": [
|
| 91 |
+
{
|
| 92 |
+
"message": "=You are an AI lead evaluator working for Agentrix212.com, an AI Automation and Agent Development agency.\n\nYour task is to analyze leads and only mark them as \"Hot\" when they:\n- Have a working, professional website URL\n- Provide a clear, detailed project description that aligns with automation, AI agents, or no-code workflows\n- State or imply a strong budget (>$1k) and readiness to start soon\n- Show professionalism and seriousness in their submission\n\nHere is a lead's submitted info:\n- Name: {{ $('Webhook').item.json.body.fullName }}\n- Email: {{ $('Webhook').item.json.body.email }}\n- Phone: {{ $('Webhook').item.json.body.phone }}\n- Business Name: {{ $('Webhook').item.json.body.companyName }}\n- Website URL: {{ $('Webhook').item.json.body.website }}\n- Project Description: {{ $('Webhook').item.json.body.automationGoal }}\n\nHere is the full content scraped from their website:\n---\n{{ $json.data.markdown }}\n---\n\nPlease evaluate this lead in detail. Provide a clear, structured analysis using the following criteria:\n\n### 🔍 Evaluation:\n1. **Lead Fit**: High / Medium / Low — based on how aligned the lead’s business and goals are with Agentrix212’s services.\n2. **Urgency**: High / Medium / Low — based on how quickly they seem ready to start.\n3. **Qualification Summary**:\n - One of: `\"Hot\"`, `\"Warm\"`, or `\"Not Qualified\"`\n - `\"Hot\"` = meets all seriousness criteria (website, clarity, budget, readiness)\n - `\"Warm\"` = some potential but missing one or two seriousness factors\n - `\"Not Qualified\"` = lacks clear intent, budget, or alignment\n4. **Reason**: Explain in 1–2 lines why Agentrix212 is (or isn’t) a fit.\n5. **Timeline Estimate**: Extract or infer (e.g., 1 week, 1 month).\n6. **Budget Estimate**: Extract or infer (e.g., <$1k, $1k–$5k, $5k–$10k, >$10k).\n7. **Suggested Follow-up Action**: Specific next step (e.g., “Book discovery call”, “Send portfolio”, “No follow-up required”).\n\nCorrelate all info to form a qualification conclusion. Assess if the project description matches the stated budget and timeline, adjusting the qualification accordingly.\n\n---\n\n### 📬 Email Generation:\nAlways generate:\n- `email_subject`: short and friendly\n- `email_content`: a complete, well-formatted **HTML email body** with proper tags (`<html>`, `<body>`, `<p>`, `<a>`, etc.)\n\n#### If **Hot**:\n- Write the email in a warm, confident, and consultative tone using HTML formatting.\n- Show understanding of their business and goals.\n- Explain how Agentrix212 can help.\n- End with a clear next step including a clickable link with anchor text \"Book Your Meeting\":\n `<a href=\"https://calendly.com/agentrix212/30min\">Book Your Meeting</a>`\n\n#### If **Warm**:\n- Write a friendly, concise HTML email inviting further discussion.\n- Keep the tone open and encouraging.\n\n#### If **Not Qualified**:\n- Write a short, polite HTML email thanking them and explaining it’s not a fit now.\n- Optionally suggest resources or future opportunities.\n\n---\n\n### 📅 Metadata:\nToday's date is: {{ $now.format('yyyy-MM-dd') }} \nInclude in output:\n- `evaluatedAt`: formatted as `Day-Month-Year HH:MM AM/PM` (e.g., \"05 August 2025 02:45 PM\")\n\n---\n"
|
| 93 |
+
}
|
| 94 |
+
]
|
| 95 |
+
},
|
| 96 |
+
"batching": {}
|
| 97 |
+
},
|
| 98 |
+
"type": "@n8n/n8n-nodes-langchain.chainLlm",
|
| 99 |
+
"typeVersion": 1.7,
|
| 100 |
+
"position": [
|
| 101 |
+
336,
|
| 102 |
+
-336
|
| 103 |
+
],
|
| 104 |
+
"id": "7632d17f-781b-41d7-ae91-6222019ef56b",
|
| 105 |
+
"name": "Basic LLM Chain",
|
| 106 |
+
"onError": "continueRegularOutput"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"parameters": {
|
| 110 |
+
"operation": "append",
|
| 111 |
+
"documentId": {
|
| 112 |
+
"__rl": true,
|
| 113 |
+
"value": "1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4",
|
| 114 |
+
"mode": "list",
|
| 115 |
+
"cachedResultName": "Lead_Qualification",
|
| 116 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit?usp=drivesdk"
|
| 117 |
+
},
|
| 118 |
+
"sheetName": {
|
| 119 |
+
"__rl": true,
|
| 120 |
+
"value": 1432051968,
|
| 121 |
+
"mode": "list",
|
| 122 |
+
"cachedResultName": "Leads",
|
| 123 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit#gid=1432051968"
|
| 124 |
+
},
|
| 125 |
+
"columns": {
|
| 126 |
+
"mappingMode": "defineBelow",
|
| 127 |
+
"value": {
|
| 128 |
+
"Timestamp": "={{ $json.output.evaluatedAt }}",
|
| 129 |
+
"Name": "={{ $('Webhook').item.json.body.fullName }}",
|
| 130 |
+
"Email": "={{ $('Webhook').item.json.body.email }}",
|
| 131 |
+
"Phone Number": "={{ $('Webhook').item.json.body.phone }}",
|
| 132 |
+
"Lead Fit": "={{ $json.output.leadFit }}",
|
| 133 |
+
"Business Name": "={{ $('Webhook').item.json.body.companyName }}",
|
| 134 |
+
"Website URL": "={{ $('Webhook').item.json.body.website }}",
|
| 135 |
+
"Urgency": "={{ $json.output.urgency }}",
|
| 136 |
+
"Reason": "={{ $json.output.reason }}",
|
| 137 |
+
"Project Description": "={{ $('Webhook').item.json.body.automationGoal }}",
|
| 138 |
+
"Timeline": "={{ $('Webhook').item.json.body.timeline }}",
|
| 139 |
+
"Budget": "={{ $('Webhook').item.json.body.budget }}",
|
| 140 |
+
"Next Step": "={{ $json.output.followUpAction }}",
|
| 141 |
+
"Email Status": "={{ $json.output.Email_Status }}",
|
| 142 |
+
"Email Subject ": "={{ $json.output.subject }}",
|
| 143 |
+
"Email Content ": "={{ $json.output.emailBody }}"
|
| 144 |
+
},
|
| 145 |
+
"matchingColumns": [],
|
| 146 |
+
"schema": [
|
| 147 |
+
{
|
| 148 |
+
"id": "Timestamp",
|
| 149 |
+
"displayName": "Timestamp",
|
| 150 |
+
"required": false,
|
| 151 |
+
"defaultMatch": false,
|
| 152 |
+
"display": true,
|
| 153 |
+
"type": "string",
|
| 154 |
+
"canBeUsedToMatch": true
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"id": "Name",
|
| 158 |
+
"displayName": "Name",
|
| 159 |
+
"required": false,
|
| 160 |
+
"defaultMatch": false,
|
| 161 |
+
"display": true,
|
| 162 |
+
"type": "string",
|
| 163 |
+
"canBeUsedToMatch": true
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"id": "Email",
|
| 167 |
+
"displayName": "Email",
|
| 168 |
+
"required": false,
|
| 169 |
+
"defaultMatch": false,
|
| 170 |
+
"display": true,
|
| 171 |
+
"type": "string",
|
| 172 |
+
"canBeUsedToMatch": true
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"id": "Phone Number",
|
| 176 |
+
"displayName": "Phone Number",
|
| 177 |
+
"required": false,
|
| 178 |
+
"defaultMatch": false,
|
| 179 |
+
"display": true,
|
| 180 |
+
"type": "string",
|
| 181 |
+
"canBeUsedToMatch": true
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"id": "Business Name",
|
| 185 |
+
"displayName": "Business Name",
|
| 186 |
+
"required": false,
|
| 187 |
+
"defaultMatch": false,
|
| 188 |
+
"display": true,
|
| 189 |
+
"type": "string",
|
| 190 |
+
"canBeUsedToMatch": true
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"id": "Website URL",
|
| 194 |
+
"displayName": "Website URL",
|
| 195 |
+
"required": false,
|
| 196 |
+
"defaultMatch": false,
|
| 197 |
+
"display": true,
|
| 198 |
+
"type": "string",
|
| 199 |
+
"canBeUsedToMatch": true
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"id": "Lead Fit",
|
| 203 |
+
"displayName": "Lead Fit",
|
| 204 |
+
"required": false,
|
| 205 |
+
"defaultMatch": false,
|
| 206 |
+
"display": true,
|
| 207 |
+
"type": "string",
|
| 208 |
+
"canBeUsedToMatch": true
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"id": "Urgency",
|
| 212 |
+
"displayName": "Urgency",
|
| 213 |
+
"required": false,
|
| 214 |
+
"defaultMatch": false,
|
| 215 |
+
"display": true,
|
| 216 |
+
"type": "string",
|
| 217 |
+
"canBeUsedToMatch": true
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"id": "Reason",
|
| 221 |
+
"displayName": "Reason",
|
| 222 |
+
"required": false,
|
| 223 |
+
"defaultMatch": false,
|
| 224 |
+
"display": true,
|
| 225 |
+
"type": "string",
|
| 226 |
+
"canBeUsedToMatch": true
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"id": "Project Description",
|
| 230 |
+
"displayName": "Project Description",
|
| 231 |
+
"required": false,
|
| 232 |
+
"defaultMatch": false,
|
| 233 |
+
"display": true,
|
| 234 |
+
"type": "string",
|
| 235 |
+
"canBeUsedToMatch": true
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"id": "Timeline",
|
| 239 |
+
"displayName": "Timeline",
|
| 240 |
+
"required": false,
|
| 241 |
+
"defaultMatch": false,
|
| 242 |
+
"display": true,
|
| 243 |
+
"type": "string",
|
| 244 |
+
"canBeUsedToMatch": true
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"id": "Budget",
|
| 248 |
+
"displayName": "Budget",
|
| 249 |
+
"required": false,
|
| 250 |
+
"defaultMatch": false,
|
| 251 |
+
"display": true,
|
| 252 |
+
"type": "string",
|
| 253 |
+
"canBeUsedToMatch": true
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"id": "Email Status",
|
| 257 |
+
"displayName": "Email Status",
|
| 258 |
+
"required": false,
|
| 259 |
+
"defaultMatch": false,
|
| 260 |
+
"display": true,
|
| 261 |
+
"type": "string",
|
| 262 |
+
"canBeUsedToMatch": true,
|
| 263 |
+
"removed": false
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"id": "Next Step",
|
| 267 |
+
"displayName": "Next Step",
|
| 268 |
+
"required": false,
|
| 269 |
+
"defaultMatch": false,
|
| 270 |
+
"display": true,
|
| 271 |
+
"type": "string",
|
| 272 |
+
"canBeUsedToMatch": true
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"id": "Email Subject ",
|
| 276 |
+
"displayName": "Email Subject ",
|
| 277 |
+
"required": false,
|
| 278 |
+
"defaultMatch": false,
|
| 279 |
+
"display": true,
|
| 280 |
+
"type": "string",
|
| 281 |
+
"canBeUsedToMatch": true,
|
| 282 |
+
"removed": false
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"id": "Email Content ",
|
| 286 |
+
"displayName": "Email Content ",
|
| 287 |
+
"required": false,
|
| 288 |
+
"defaultMatch": false,
|
| 289 |
+
"display": true,
|
| 290 |
+
"type": "string",
|
| 291 |
+
"canBeUsedToMatch": true,
|
| 292 |
+
"removed": false
|
| 293 |
+
}
|
| 294 |
+
],
|
| 295 |
+
"attemptToConvertTypes": false,
|
| 296 |
+
"convertFieldsToString": false
|
| 297 |
+
},
|
| 298 |
+
"options": {}
|
| 299 |
+
},
|
| 300 |
+
"type": "n8n-nodes-base.googleSheets",
|
| 301 |
+
"typeVersion": 4.6,
|
| 302 |
+
"position": [
|
| 303 |
+
880,
|
| 304 |
+
-336
|
| 305 |
+
],
|
| 306 |
+
"id": "d574dc86-b9f1-4578-9aad-e65a6e9ef427",
|
| 307 |
+
"name": "Append row in sheet1",
|
| 308 |
+
"credentials": {
|
| 309 |
+
"googleSheetsOAuth2Api": {
|
| 310 |
+
"id": "03CEMaGPaZ8zhwpp",
|
| 311 |
+
"name": "Google Sheets account"
|
| 312 |
+
}
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"parameters": {
|
| 317 |
+
"rule": {
|
| 318 |
+
"interval": [
|
| 319 |
+
{
|
| 320 |
+
"field": "hours"
|
| 321 |
+
}
|
| 322 |
+
]
|
| 323 |
+
}
|
| 324 |
+
},
|
| 325 |
+
"type": "n8n-nodes-base.scheduleTrigger",
|
| 326 |
+
"typeVersion": 1.2,
|
| 327 |
+
"position": [
|
| 328 |
+
-256,
|
| 329 |
+
48
|
| 330 |
+
],
|
| 331 |
+
"id": "3fe385d2-5db0-4b3e-8b33-a1abdcd15d7a",
|
| 332 |
+
"name": "Schedule Trigger"
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"parameters": {
|
| 336 |
+
"documentId": {
|
| 337 |
+
"__rl": true,
|
| 338 |
+
"value": "1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4",
|
| 339 |
+
"mode": "list",
|
| 340 |
+
"cachedResultName": "Lead_Qualification",
|
| 341 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit?usp=drivesdk"
|
| 342 |
+
},
|
| 343 |
+
"sheetName": {
|
| 344 |
+
"__rl": true,
|
| 345 |
+
"value": 1432051968,
|
| 346 |
+
"mode": "list",
|
| 347 |
+
"cachedResultName": "Leads",
|
| 348 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit#gid=1432051968"
|
| 349 |
+
},
|
| 350 |
+
"filtersUI": {
|
| 351 |
+
"values": [
|
| 352 |
+
{
|
| 353 |
+
"lookupColumn": "Next Step",
|
| 354 |
+
"lookupValue": "Book discovery call"
|
| 355 |
+
}
|
| 356 |
+
]
|
| 357 |
+
},
|
| 358 |
+
"options": {}
|
| 359 |
+
},
|
| 360 |
+
"type": "n8n-nodes-base.googleSheets",
|
| 361 |
+
"typeVersion": 4.6,
|
| 362 |
+
"position": [
|
| 363 |
+
112,
|
| 364 |
+
48
|
| 365 |
+
],
|
| 366 |
+
"id": "b9089e97-6cc2-450f-8aa9-a336dda73a1a",
|
| 367 |
+
"name": "Get row(s) in sheet",
|
| 368 |
+
"credentials": {
|
| 369 |
+
"googleSheetsOAuth2Api": {
|
| 370 |
+
"id": "03CEMaGPaZ8zhwpp",
|
| 371 |
+
"name": "Google Sheets account"
|
| 372 |
+
}
|
| 373 |
+
}
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"parameters": {
|
| 377 |
+
"sendTo": "={{ $json.Email }}",
|
| 378 |
+
"subject": "={{ $json['Email Subject '] }}",
|
| 379 |
+
"message": "={{ $json['Email Content '] }}",
|
| 380 |
+
"options": {
|
| 381 |
+
"appendAttribution": false,
|
| 382 |
+
"senderName": "Agnetrix212"
|
| 383 |
+
}
|
| 384 |
+
},
|
| 385 |
+
"type": "n8n-nodes-base.gmail",
|
| 386 |
+
"typeVersion": 2.1,
|
| 387 |
+
"position": [
|
| 388 |
+
448,
|
| 389 |
+
48
|
| 390 |
+
],
|
| 391 |
+
"id": "761e39a0-a2e4-46da-ac28-e9a138046672",
|
| 392 |
+
"name": "Send a message",
|
| 393 |
+
"webhookId": "7afd574d-24c8-4387-84b6-470b459f6dc7",
|
| 394 |
+
"credentials": {
|
| 395 |
+
"gmailOAuth2": {
|
| 396 |
+
"id": "4lzrCCQGQEh0HXKW",
|
| 397 |
+
"name": "Gmail account"
|
| 398 |
+
}
|
| 399 |
+
}
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"parameters": {
|
| 403 |
+
"operation": "update",
|
| 404 |
+
"documentId": {
|
| 405 |
+
"__rl": true,
|
| 406 |
+
"value": "1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4",
|
| 407 |
+
"mode": "list",
|
| 408 |
+
"cachedResultName": "Lead_Qualification",
|
| 409 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit?usp=drivesdk"
|
| 410 |
+
},
|
| 411 |
+
"sheetName": {
|
| 412 |
+
"__rl": true,
|
| 413 |
+
"value": 1432051968,
|
| 414 |
+
"mode": "list",
|
| 415 |
+
"cachedResultName": "Leads",
|
| 416 |
+
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1Bb_EjMeYqNWaQhBGaW-OaXH5paSk9Hq1e-4_vIB0SC4/edit#gid=1432051968"
|
| 417 |
+
},
|
| 418 |
+
"columns": {
|
| 419 |
+
"mappingMode": "defineBelow",
|
| 420 |
+
"value": {
|
| 421 |
+
"Email Status": "Sent",
|
| 422 |
+
"row_number": "={{ $('Get row(s) in sheet').item.json.row_number }}"
|
| 423 |
+
},
|
| 424 |
+
"matchingColumns": [
|
| 425 |
+
"row_number"
|
| 426 |
+
],
|
| 427 |
+
"schema": [
|
| 428 |
+
{
|
| 429 |
+
"id": "Timestamp",
|
| 430 |
+
"displayName": "Timestamp",
|
| 431 |
+
"required": false,
|
| 432 |
+
"defaultMatch": false,
|
| 433 |
+
"display": true,
|
| 434 |
+
"type": "string",
|
| 435 |
+
"canBeUsedToMatch": true
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"id": "Name",
|
| 439 |
+
"displayName": "Name",
|
| 440 |
+
"required": false,
|
| 441 |
+
"defaultMatch": false,
|
| 442 |
+
"display": true,
|
| 443 |
+
"type": "string",
|
| 444 |
+
"canBeUsedToMatch": true
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"id": "Email",
|
| 448 |
+
"displayName": "Email",
|
| 449 |
+
"required": false,
|
| 450 |
+
"defaultMatch": false,
|
| 451 |
+
"display": true,
|
| 452 |
+
"type": "string",
|
| 453 |
+
"canBeUsedToMatch": true
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"id": "Phone Number",
|
| 457 |
+
"displayName": "Phone Number",
|
| 458 |
+
"required": false,
|
| 459 |
+
"defaultMatch": false,
|
| 460 |
+
"display": true,
|
| 461 |
+
"type": "string",
|
| 462 |
+
"canBeUsedToMatch": true
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"id": "Business Name",
|
| 466 |
+
"displayName": "Business Name",
|
| 467 |
+
"required": false,
|
| 468 |
+
"defaultMatch": false,
|
| 469 |
+
"display": true,
|
| 470 |
+
"type": "string",
|
| 471 |
+
"canBeUsedToMatch": true
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"id": "Website URL",
|
| 475 |
+
"displayName": "Website URL",
|
| 476 |
+
"required": false,
|
| 477 |
+
"defaultMatch": false,
|
| 478 |
+
"display": true,
|
| 479 |
+
"type": "string",
|
| 480 |
+
"canBeUsedToMatch": true
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"id": "Lead Fit",
|
| 484 |
+
"displayName": "Lead Fit",
|
| 485 |
+
"required": false,
|
| 486 |
+
"defaultMatch": false,
|
| 487 |
+
"display": true,
|
| 488 |
+
"type": "string",
|
| 489 |
+
"canBeUsedToMatch": true
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"id": "Urgency",
|
| 493 |
+
"displayName": "Urgency",
|
| 494 |
+
"required": false,
|
| 495 |
+
"defaultMatch": false,
|
| 496 |
+
"display": true,
|
| 497 |
+
"type": "string",
|
| 498 |
+
"canBeUsedToMatch": true
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"id": "Reason",
|
| 502 |
+
"displayName": "Reason",
|
| 503 |
+
"required": false,
|
| 504 |
+
"defaultMatch": false,
|
| 505 |
+
"display": true,
|
| 506 |
+
"type": "string",
|
| 507 |
+
"canBeUsedToMatch": true
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"id": "Project Description",
|
| 511 |
+
"displayName": "Project Description",
|
| 512 |
+
"required": false,
|
| 513 |
+
"defaultMatch": false,
|
| 514 |
+
"display": true,
|
| 515 |
+
"type": "string",
|
| 516 |
+
"canBeUsedToMatch": true
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"id": "Timeline",
|
| 520 |
+
"displayName": "Timeline",
|
| 521 |
+
"required": false,
|
| 522 |
+
"defaultMatch": false,
|
| 523 |
+
"display": true,
|
| 524 |
+
"type": "string",
|
| 525 |
+
"canBeUsedToMatch": true
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"id": "Budget",
|
| 529 |
+
"displayName": "Budget",
|
| 530 |
+
"required": false,
|
| 531 |
+
"defaultMatch": false,
|
| 532 |
+
"display": true,
|
| 533 |
+
"type": "string",
|
| 534 |
+
"canBeUsedToMatch": true
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"id": "Email Status",
|
| 538 |
+
"displayName": "Email Status",
|
| 539 |
+
"required": false,
|
| 540 |
+
"defaultMatch": false,
|
| 541 |
+
"display": true,
|
| 542 |
+
"type": "string",
|
| 543 |
+
"canBeUsedToMatch": true
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"id": "Next Step",
|
| 547 |
+
"displayName": "Next Step",
|
| 548 |
+
"required": false,
|
| 549 |
+
"defaultMatch": false,
|
| 550 |
+
"display": true,
|
| 551 |
+
"type": "string",
|
| 552 |
+
"canBeUsedToMatch": true
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"id": "Email Subject ",
|
| 556 |
+
"displayName": "Email Subject ",
|
| 557 |
+
"required": false,
|
| 558 |
+
"defaultMatch": false,
|
| 559 |
+
"display": true,
|
| 560 |
+
"type": "string",
|
| 561 |
+
"canBeUsedToMatch": true
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"id": "Email Content ",
|
| 565 |
+
"displayName": "Email Content ",
|
| 566 |
+
"required": false,
|
| 567 |
+
"defaultMatch": false,
|
| 568 |
+
"display": true,
|
| 569 |
+
"type": "string",
|
| 570 |
+
"canBeUsedToMatch": true
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"id": "row_number",
|
| 574 |
+
"displayName": "row_number",
|
| 575 |
+
"required": false,
|
| 576 |
+
"defaultMatch": false,
|
| 577 |
+
"display": true,
|
| 578 |
+
"type": "number",
|
| 579 |
+
"canBeUsedToMatch": true,
|
| 580 |
+
"readOnly": true,
|
| 581 |
+
"removed": false
|
| 582 |
+
}
|
| 583 |
+
],
|
| 584 |
+
"attemptToConvertTypes": false,
|
| 585 |
+
"convertFieldsToString": false
|
| 586 |
+
},
|
| 587 |
+
"options": {}
|
| 588 |
+
},
|
| 589 |
+
"type": "n8n-nodes-base.googleSheets",
|
| 590 |
+
"typeVersion": 4.6,
|
| 591 |
+
"position": [
|
| 592 |
+
832,
|
| 593 |
+
48
|
| 594 |
+
],
|
| 595 |
+
"id": "9b9f2060-ef6d-498b-92e7-f32f0aca1b23",
|
| 596 |
+
"name": "Update row in sheet",
|
| 597 |
+
"credentials": {
|
| 598 |
+
"googleSheetsOAuth2Api": {
|
| 599 |
+
"id": "03CEMaGPaZ8zhwpp",
|
| 600 |
+
"name": "Google Sheets account"
|
| 601 |
+
}
|
| 602 |
+
}
|
| 603 |
+
}
|
| 604 |
+
],
|
| 605 |
+
"pinData": {},
|
| 606 |
+
"connections": {
|
| 607 |
+
"Webhook": {
|
| 608 |
+
"main": [
|
| 609 |
+
[
|
| 610 |
+
{
|
| 611 |
+
"node": "Scrape a url and get its content",
|
| 612 |
+
"type": "main",
|
| 613 |
+
"index": 0
|
| 614 |
+
}
|
| 615 |
+
]
|
| 616 |
+
]
|
| 617 |
+
},
|
| 618 |
+
"Scrape a url and get its content": {
|
| 619 |
+
"main": [
|
| 620 |
+
[
|
| 621 |
+
{
|
| 622 |
+
"node": "Basic LLM Chain",
|
| 623 |
+
"type": "main",
|
| 624 |
+
"index": 0
|
| 625 |
+
}
|
| 626 |
+
]
|
| 627 |
+
]
|
| 628 |
+
},
|
| 629 |
+
"OpenAI Chat Model": {
|
| 630 |
+
"ai_languageModel": [
|
| 631 |
+
[
|
| 632 |
+
{
|
| 633 |
+
"node": "Basic LLM Chain",
|
| 634 |
+
"type": "ai_languageModel",
|
| 635 |
+
"index": 0
|
| 636 |
+
}
|
| 637 |
+
]
|
| 638 |
+
]
|
| 639 |
+
},
|
| 640 |
+
"Structured Output Parser": {
|
| 641 |
+
"ai_outputParser": [
|
| 642 |
+
[
|
| 643 |
+
{
|
| 644 |
+
"node": "Basic LLM Chain",
|
| 645 |
+
"type": "ai_outputParser",
|
| 646 |
+
"index": 0
|
| 647 |
+
}
|
| 648 |
+
]
|
| 649 |
+
]
|
| 650 |
+
},
|
| 651 |
+
"Basic LLM Chain": {
|
| 652 |
+
"main": [
|
| 653 |
+
[
|
| 654 |
+
{
|
| 655 |
+
"node": "Append row in sheet1",
|
| 656 |
+
"type": "main",
|
| 657 |
+
"index": 0
|
| 658 |
+
}
|
| 659 |
+
]
|
| 660 |
+
]
|
| 661 |
+
},
|
| 662 |
+
"Schedule Trigger": {
|
| 663 |
+
"main": [
|
| 664 |
+
[
|
| 665 |
+
{
|
| 666 |
+
"node": "Get row(s) in sheet",
|
| 667 |
+
"type": "main",
|
| 668 |
+
"index": 0
|
| 669 |
+
}
|
| 670 |
+
]
|
| 671 |
+
]
|
| 672 |
+
},
|
| 673 |
+
"Get row(s) in sheet": {
|
| 674 |
+
"main": [
|
| 675 |
+
[
|
| 676 |
+
{
|
| 677 |
+
"node": "Send a message",
|
| 678 |
+
"type": "main",
|
| 679 |
+
"index": 0
|
| 680 |
+
}
|
| 681 |
+
]
|
| 682 |
+
]
|
| 683 |
+
},
|
| 684 |
+
"Send a message": {
|
| 685 |
+
"main": [
|
| 686 |
+
[
|
| 687 |
+
{
|
| 688 |
+
"node": "Update row in sheet",
|
| 689 |
+
"type": "main",
|
| 690 |
+
"index": 0
|
| 691 |
+
}
|
| 692 |
+
]
|
| 693 |
+
]
|
| 694 |
+
}
|
| 695 |
+
},
|
| 696 |
+
"active": false,
|
| 697 |
+
"settings": {
|
| 698 |
+
"executionOrder": "v1"
|
| 699 |
+
},
|
| 700 |
+
"versionId": "bf98b5a9-720b-4c00-8ad3-75762d9655aa",
|
| 701 |
+
"meta": {
|
| 702 |
+
"templateCredsSetupCompleted": true,
|
| 703 |
+
"instanceId": "cc8fbc6c0e10ac107523cabe2453f0b9216ff0ef0c1f112312039de381e2f175"
|
| 704 |
+
},
|
| 705 |
+
"id": "OYUhAchl95C0sJXB",
|
| 706 |
+
"tags": []
|
| 707 |
+
}
|