{"slug": "ai-outreach-human-approval-and-email-sending-json", "title": "AI Outreach, human approval and email sending.JSON", "summary": "A developer built an n8n workflow that uses AI to generate personalized B2B outreach emails for synced prospects, with human approval before sending. The workflow retrieves prospect data, generates email content via a LangChain agent, and structures the output for review.", "body_md": "| { | |\n| \"name\": \"03: AI Outreach, human approval and email sending\", | |\n| \"nodes\": [ | |\n| { | |\n| \"parameters\": {}, | |\n| \"type\": \"n8n-nodes-base.manualTrigger\", | |\n| \"typeVersion\": 1, | |\n| \"position\": [ | |\n| -400, | |\n| 0 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000001\", | |\n| \"name\": \"When clicking ‘Execute workflow’\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"operation\": \"get\", | |\n| \"dataTableId\": { | |\n| \"__rl\": true, | |\n| \"value\": \"Ism0iSIbtMcRqsaF\", | |\n| \"mode\": \"list\", | |\n| \"cachedResultName\": \"Resource 1\", | |\n| \"cachedResultUrl\": \"/projects/uC3FmtjTGhBwqqhO/datatables/Rjk9uVIaaBaQifkN\" | |\n| }, | |\n| \"filters\": { | |\n| \"conditions\": [ | |\n| { | |\n| \"keyName\": \"crm_status\", | |\n| \"keyValue\": \"synced\" | |\n| } | |\n| ] | |\n| } | |\n| }, | |\n| \"type\": \"n8n-nodes-base.dataTable\", | |\n| \"typeVersion\": 1, | |\n| \"position\": [ | |\n| -192, | |\n| 0 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000002\", | |\n| \"name\": \"Get syned prospects\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"promptType\": \"define\", | |\n| \"text\": \"=Create a personalized B2B outreach email for this prospect.\\n\\nPROSPECT\\nFirst Name: {{ $json.first_name }}\\nLast Name: {{ $json.last_name }}\\nJob Title:{{ $json.job_title }}\\nCompany: {{ $json.company_name }}\\n\\nSALES INTELLIGENCE\\nICP Score: {{ $json.icp_score }}\\nICP Tier: {{ $json.icp_tier }}\\nICP Reasoning: {{ $json.icp_reasoning }}\\nIdentified Pain Points: {{ $json.pain_points }}\\nRecommended Product: {{ $json.recommended_product }}\\nProduct Fit Reason:{{ $json.product_fit_reason }}\\nOutreach Angle: {{ $json.outreach_angle }}\\n\\nCOMPANY RESEARCH\\nCompany Summary:{{ $json.company_summary }}\\nProducts and Services: {{ $json.products_services }}\\nTarget Customers: {{ $json.target_customers }}\\nAutomation Opportunities:{{ $json.automation_opportunities }}\\nPersonalization Points: {{ $json.personalization_points }}\\n\\nUse the strongest relevant information to create a personalized outreach email. Do not mention the ICP score or internal sales analysis.\", | |\n| \"hasOutputParser\": true, | |\n| \"options\": { | |\n| \"systemMessage\": \"=You are an expert B2B sales outreach copywriter.\\n\\nYour task is to generate a highly personalized cold outreach email using the prospect's role, company research, ICP analysis, identified pain points, and recommended product.\\n\\nThe email must:\\n1. Be concise and natural.\\n2. Sound individually researched, not mass-generated.\\n3. Use a relevant personalization point about the company.\\n4. Connect a likely business challenge to the recommended solution.\\n5. Focus on business value rather than listing features.\\n6. Avoid exaggerated claims, fake statistics, and invented facts.\\n7. Never claim the company has a specific problem unless the provided research confirms it. When uncertain, frame it as a possibility.\\n8. Include one simple, low-friction call to action.\\n9. Avoid generic openings such as \\\"I hope this email finds you well.\\\"\\n10. Do not use excessive praise, buzzwords, emojis, or aggressive sales language.\\n11. Keep the email body under 150 words.\\n12. Do not include a signature unless sender information is provided.\\n\\nGenerate 3 subject line options and one personalized email.\\n\\nReturn only the structured output required by the output parser.\" | |\n| } | |\n| }, | |\n| \"type\": \"@n8n/n8n-nodes-langchain.agent\", | |\n| \"typeVersion\": 3, | |\n| \"position\": [ | |\n| 16, | |\n| 0 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000003\", | |\n| \"name\": \"AI Outreach Generator\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"schemaType\": \"manual\", | |\n| \"inputSchema\": \"{\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"subject_lines\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"minItems\\\": 3,\\n \\\"maxItems\\\": 3\\n },\\n \\\"selected_subject\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"email_body\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"personalization_used\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"outreach_angle_used\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"call_to_action\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"subject_lines\\\",\\n \\\"selected_subject\\\",\\n \\\"email_body\\\",\\n \\\"personalization_used\\\",\\n \\\"outreach_angle_used\\\",\\n \\\"call_to_action\\\"\\n ]\\n}\" | |\n| }, | |\n| \"type\": \"@n8n/n8n-nodes-langchain.outputParserStructured\", | |\n| \"typeVersion\": 1.3, | |\n| \"position\": [ | |\n| 192, | |\n| 208 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000004\", | |\n| \"name\": \"Structured Output Parser\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"model\": { | |\n| \"__rl\": true, | |\n| \"mode\": \"list\", | |\n| \"value\": \"rct-1.9-vydp\" | |\n| }, | |\n| \"builtInTools\": {}, | |\n| \"options\": {} | |\n| }, | |\n| \"type\": \"@n8n/n8n-nodes-langchain.lmChatOpenAi\", | |\n| \"typeVersion\": 1.3, | |\n| \"position\": [ | |\n| -128, | |\n| 208 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000005\", | |\n| \"name\": \"OpenAI Chat Model\", | |\n| \"credentials\": { | |\n| \"openAiApi\": { | |\n| \"id\": \"ismAIs3b74cRQsaf\", | |\n| \"name\": \"Credential 2\" | |\n| } | |\n| } | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"operation\": \"sendAndWait\", | |\n| \"sendTo\": \"user1@example.com\", | |\n| \"subject\": \"Approval Needed\", | |\n| \"message\": \"={{ JSON.stringify($json.output) }}\", | |\n| \"responseType\": \"freeText\", | |\n| \"options\": { | |\n| \"appendAttribution\": false | |\n| } | |\n| }, | |\n| \"type\": \"n8n-nodes-base.gmail\", | |\n| \"typeVersion\": 2.1, | |\n| \"position\": [ | |\n| 368, | |\n| 0 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000006\", | |\n| \"name\": \"Send message and wait for response\", | |\n| \"webhookId\": \"00000000-0000-4000-8000-000000000007\", | |\n| \"credentials\": { | |\n| \"gmailOAuth2\": { | |\n| \"id\": \"Z2kmbuPYKsxIbah0\", | |\n| \"name\": \"Credential 4\" | |\n| } | |\n| } | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"conditions\": { | |\n| \"options\": { | |\n| \"caseSensitive\": true, | |\n| \"leftValue\": \"\", | |\n| \"typeValidation\": \"strict\", | |\n| \"version\": 2 | |\n| }, | |\n| \"conditions\": [ | |\n| { | |\n| \"id\": \"00000000-0000-4000-8000-000000000008\", | |\n| \"leftValue\": \"={{ $json.data.text }}\", | |\n| \"rightValue\": \"Approved.\", | |\n| \"operator\": { | |\n| \"type\": \"string\", | |\n| \"operation\": \"equals\" | |\n| } | |\n| } | |\n| ], | |\n| \"combinator\": \"and\" | |\n| }, | |\n| \"options\": {} | |\n| }, | |\n| \"type\": \"n8n-nodes-base.if\", | |\n| \"typeVersion\": 2.2, | |\n| \"position\": [ | |\n| 576, | |\n| 0 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-000000000009\", | |\n| \"name\": \"If\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"sendTo\": \"=user1@example.com\", | |\n| \"subject\": \"={{ $('AI Outreach Generator').item.json.output.selected_subject }}\", | |\n| \"emailType\": \"text\", | |\n| \"message\": \"={{ $('AI Outreach Generator').item.json.output.email_body }}\", | |\n| \"options\": { | |\n| \"appendAttribution\": false | |\n| } | |\n| }, | |\n| \"type\": \"n8n-nodes-base.gmail\", | |\n| \"typeVersion\": 2.1, | |\n| \"position\": [ | |\n| 784, | |\n| -96 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-00000000000a\", | |\n| \"name\": \"Send a message\", | |\n| \"webhookId\": \"00000000-0000-4000-8000-00000000000b\", | |\n| \"credentials\": { | |\n| \"gmailOAuth2\": { | |\n| \"id\": \"Z2kmbuPYKsxIbah0\", | |\n| \"name\": \"Credential 4\" | |\n| } | |\n| } | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"promptType\": \"define\", | |\n| \"text\": \"=Revise the following B2B outreach email according to the human review feedback.\\n\\nORIGINAL OR PREVIOUS DRAFT:\\n{{ JSON.stringify($('AI Outreach Generator').item.json.output, null, 2) }}\\n\\nHUMAN REVISION FEEDBACK:\\n{{ $json.data.text }}\\n\\nRequirements:\\n- Apply the requested changes.\\n- Preserve useful personalization unless the reviewer asks to change it.\\n- Do not invent new facts.\\n- Return the revised email using the required structured output format.\", | |\n| \"hasOutputParser\": true, | |\n| \"options\": { | |\n| \"systemMessage\": \"=You are an expert B2B sales outreach editor.\\n\\nYour task is to revise an existing personalized cold outreach email based on specific human reviewer feedback.\\n\\nRules:\\n1. Apply all relevant revision feedback accurately.\\n2. Preserve strong personalization from the original draft unless the reviewer asks for it to be changed or removed.\\n3. Do not ignore the reviewer's requested changes.\\n4. Do not invent facts, statistics, customer results, or company information.\\n5. Keep the email concise, natural, and professional.\\n6. Avoid generic openings, excessive praise, buzzwords, emojis, and aggressive sales language.\\n7. Keep the email body under 150 words unless the reviewer specifically requests otherwise.\\n8. Maintain a clear connection between the prospect's context and the proposed solution.\\n9. Include one simple, low-friction call to action.\\n10. Do not mention the review process, rejection, feedback, ICP score, or internal sales analysis in the email.\\n11. Generate 3 revised subject line options and select the strongest one.\\n12. Return only the structured output required by the output parser.\" | |\n| } | |\n| }, | |\n| \"type\": \"@n8n/n8n-nodes-langchain.agent\", | |\n| \"typeVersion\": 3, | |\n| \"position\": [ | |\n| 864, | |\n| 64 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-00000000000c\", | |\n| \"name\": \"AI revision Agent\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"schemaType\": \"manual\", | |\n| \"inputSchema\": \"{\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"subject_lines\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"minItems\\\": 3,\\n \\\"maxItems\\\": 3\\n },\\n \\\"selected_subject\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"email_body\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"personalization_used\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"outreach_angle_used\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"call_to_action\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"subject_lines\\\",\\n \\\"selected_subject\\\",\\n \\\"email_body\\\",\\n \\\"personalization_used\\\",\\n \\\"outreach_angle_used\\\",\\n \\\"call_to_action\\\"\\n ]\\n}\" | |\n| }, | |\n| \"type\": \"@n8n/n8n-nodes-langchain.outputParserStructured\", | |\n| \"typeVersion\": 1.3, | |\n| \"position\": [ | |\n| 1072, | |\n| 288 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-00000000000d\", | |\n| \"name\": \"Structured Output Parser1\" | |\n| }, | |\n| { | |\n| \"parameters\": { | |\n| \"operation\": \"update\", | |\n| \"dataTableId\": { | |\n| \"__rl\": true, | |\n| \"value\": \"Ism0iSIbtMcRqsaF\", | |\n| \"mode\": \"list\", | |\n| \"cachedResultName\": \"Resource 1\", | |\n| \"cachedResultUrl\": \"/projects/uC3FmtjTGhBwqqhO/datatables/Rjk9uVIaaBaQifkN\" | |\n| }, | |\n| \"filters\": { | |\n| \"conditions\": [ | |\n| { | |\n| \"keyValue\": \"={{ $('Get syned prospects').item.json.id }}\" | |\n| } | |\n| ] | |\n| }, | |\n| \"columns\": { | |\n| \"mappingMode\": \"defineBelow\", | |\n| \"value\": { | |\n| \"crm_status\": \"outreach sent\", | |\n| \"follow_up_count\": 0, | |\n| \"email_body\": \"={{ $('AI Outreach Generator').item.json.output.email_body }}\", | |\n| \"email_subject\": \"={{ $('AI Outreach Generator').item.json.output.selected_subject }}\", | |\n| \"outreach_sent_at\": \"2026-07-15T00:00:00\", | |\n| \"outreach_status\": \"Sent\", | |\n| \"next_follow_up_at\": \"={{ $now.plus({ days: 3 }).toISO() }}\", | |\n| \"response_status\": \"Awaiting Response\", | |\n| \"thread_id\": \"={{ $json.threadId }}\" | |\n| }, | |\n| \"matchingColumns\": [], | |\n| \"schema\": [ | |\n| { | |\n| \"id\": \"email\", | |\n| \"displayName\": \"email\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"first_name\", | |\n| \"displayName\": \"first_name\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"last_name\", | |\n| \"displayName\": \"last_name\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"job_title\", | |\n| \"displayName\": \"job_title\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"linkedin_url\", | |\n| \"displayName\": \"linkedin_url\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"person_location\", | |\n| \"displayName\": \"person_location\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_name\", | |\n| \"displayName\": \"company_name\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_domain\", | |\n| \"displayName\": \"company_domain\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_industry\", | |\n| \"displayName\": \"company_industry\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_size\", | |\n| \"displayName\": \"company_size\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_location\", | |\n| \"displayName\": \"company_location\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"icp_tier\", | |\n| \"displayName\": \"icp_tier\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"recommended_product\", | |\n| \"displayName\": \"recommended_product\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"icp_reasoning\", | |\n| \"displayName\": \"icp_reasoning\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"pain_points\", | |\n| \"displayName\": \"pain_points\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"product_fit_reason\", | |\n| \"displayName\": \"product_fit_reason\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"outreach_angle\", | |\n| \"displayName\": \"outreach_angle\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"company_summary\", | |\n| \"displayName\": \"company_summary\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"products_services\", | |\n| \"displayName\": \"products_services\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"target_customers\", | |\n| \"displayName\": \"target_customers\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"automation_opportunities\", | |\n| \"displayName\": \"automation_opportunities\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"personalization_points\", | |\n| \"displayName\": \"personalization_points\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"crm_status\", | |\n| \"displayName\": \"crm_status\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"icp_score\", | |\n| \"displayName\": \"icp_score\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"number\", | |\n| \"readOnly\": false, | |\n| \"removed\": true | |\n| }, | |\n| { | |\n| \"id\": \"outreach_status\", | |\n| \"displayName\": \"outreach_status\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"email_subject\", | |\n| \"displayName\": \"email_subject\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"email_body\", | |\n| \"displayName\": \"email_body\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"outreach_sent_at\", | |\n| \"displayName\": \"outreach_sent_at\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"dateTime\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"follow_up_count\", | |\n| \"displayName\": \"follow_up_count\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"number\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"next_follow_up_at\", | |\n| \"displayName\": \"next_follow_up_at\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"dateTime\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"response_status\", | |\n| \"displayName\": \"response_status\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| }, | |\n| { | |\n| \"id\": \"thread_id\", | |\n| \"displayName\": \"thread_id\", | |\n| \"required\": false, | |\n| \"defaultMatch\": false, | |\n| \"display\": true, | |\n| \"type\": \"string\", | |\n| \"readOnly\": false, | |\n| \"removed\": false | |\n| } | |\n| ], | |\n| \"attemptToConvertTypes\": false, | |\n| \"convertFieldsToString\": false | |\n| }, | |\n| \"options\": {} | |\n| }, | |\n| \"type\": \"n8n-nodes-base.dataTable\", | |\n| \"typeVersion\": 1, | |\n| \"position\": [ | |\n| 992, | |\n| -96 | |\n| ], | |\n| \"id\": \"00000000-0000-4000-8000-00000000000e\", | |\n| \"name\": \"Update row(s)\" | |\n| } | |\n| ], | |\n| \"pinData\": { | |\n| \"AI Outreach Generator\": [ | |\n| { | |\n| \"json\": { | |\n| \"output\": { | |\n| \"subject_lines\": [ | |\n| \"Streamlining Operations at Kalkreuth Roofing\", | |\n| \"Ernie, improving workflow efficiency across industries\", | |\n| \"Automation solutions tailored for Kalkreuth Roofing\" | |\n| ], | |\n| \"selected_subject\": \"Streamlining Operations at Kalkreuth Roofing\", | |\n| \"email_body\": \"Hi Ernie,\\n\\nWith Kalkreuth Roofing’s strong reputation in complex commercial roofing and your leadership in operations, I imagine managing workflows across manufacturing, real estate, and construction can be challenging. Our Internal Workflow Automation can help simplify coordination and automate repetitive tasks, freeing your team to focus on critical projects and strategic priorities.\\n\\nWould you be open to a brief call to explore how this can fit into your current operations?\", | |\n| \"personalization_used\": \"Acknowledged Kalkreuth Roofing’s strong reputation and complex project focus, tied to Ernie's role managing multi-industry operations.\", | |\n| \"outreach_angle_used\": \"Addressed operational complexity and workflow challenges faced by a multi-industry operations manager, proposing tailored automation to boost efficiency.\", | |\n| \"call_to_action\": \"Invite to a brief call to discuss fitting the automation solution into current operations\" | |\n| } | |\n| } | |\n| } | |\n| ], | |\n| \"Send message and wait for response\": [ | |\n| { | |\n| \"json\": { | |\n| \"data\": { | |\n| \"text\": \"Approved.\" | |\n| } | |\n| } | |\n| } | |\n| ], | |\n| \"Get syned prospects\": [ | |\n| { | |\n| \"json\": { | |\n| \"email\": \"user2@example.com\", | |\n| \"first_name\": \"Ernie\", | |\n| \"last_name\": \"Giancola\", | |\n| \"job_title\": \"Operations Manager\", | |\n| \"linkedin_url\": \"linkedin.com/in/ernie-giancola-875b901a\", | |\n| \"person_location\": \"Washington,District of Columbia,United States\", | |\n| \"company_name\": \"kalkreuth roofing sheet metal inc\", | |\n| \"company_domain\": \"krsm.net\", | |\n| \"company_industry\": \"[\\\"Manufacturing\\\",\\\"Real Estate\\\",\\\"construction\\\"]\", | |\n| \"company_size\": \"110\", | |\n| \"company_location\": \"Wheeling,West Virginia,United States\", | |\n| \"icp_tier\": \"B\", | |\n| \"recommended_product\": \"Internal Workflow Automation\", | |\n| \"icp_reasoning\": \"The prospect is an Operations Manager at a company with multiple industries including Real Estate, which matches one of the ideal industries. The company size of 110 employees fits well within the 50-500 employee range. The decision maker role is relevant as Operations Manager aligns with Operations leaders. There are clear opportunities for internal workflow automation due to the multi-industry nature and the operational scope. The geographic location is in the United States, which generally aligns with typical target markets but not a specified factor in the ICP. Overall, the prospect is a good fit for AI solutions primarily in Internal Workflow Automation, though other specific automation areas like sales or customer support may be less relevant given the role and company context.\", | |\n| \"pain_points\": \"[\\\"Streamlining operations across multiple industries\\\",\\\"Improving internal workflow efficiency\\\",\\\"Automation of repetitive operational tasks\\\"]\", | |\n| \"product_fit_reason\": \"The prospect is an Operations Manager at a mid-sized company involved in multiple industries including manufacturing, real estate, and construction, which indicates complex internal operations. The company size and job title align perfectly with the target buyers for Internal Workflow Automation. The identified pain points such as streamlining operations, improving workflow efficiency, and automating repetitive tasks make this product the best fit to address their operational challenges effectively.\", | |\n| \"outreach_angle\": \"Hi [Prospect Name], I noticed that Kalkreuth Roofing Sheet Metal Inc operates across manufacturing, real estate, and construction industries. As an Operations Manager, you likely face challenges in streamlining complex workflows and managing repetitive operational tasks. Our Internal Workflow Automation solution is designed to simplify and automate these processes, boosting your team's productivity and allowing you to focus on strategic priorities. I'd love to share how we can tailor this to your unique operational needs.\", | |\n| \"company_summary\": \"Kalkreuth Roofing and Sheet Metal is a Top 10 U.S. commercial roofing contractor specializing in complex roofing, exterior envelope systems, and architectural wall cladding for demanding projects nationwide. They bring over 40 years of experience and focus on delivering high-quality commercial metal roofing and exterior solutions, primarily in the Mid-Atlantic region with a full-service presence in multiple states including West Virginia, Kentucky, Maryland, Ohio, and Pennsylvania.\", | |\n| \"products_services\": \"[\\\"Commercial Roofing Systems including metal roofing, flat seam metal roofing, standing seam metal roofing, vegetative roofing systems, modified bitumen roofing systems, built-up roofing systems, single ply roofing systems (TPO, PVC, EPDM), and commercial waterproofing.\\\",\\\"Design-Build / Design-Assist services\\\",\\\"Emergency Response services available 24/7/365\\\",\\\"Exterior Cladding Services with custom metal wall panel fabrication\\\",\\\"New Construction roofing solutions with advanced technology and safety compliance\\\",\\\"Preventative Maintenance and Roof Replacement / Re-Roof services\\\",\\\"Sustainable Green (vegetative) roofing systems\\\"]\", | |\n| \"target_customers\": \"Their target customers are commercial and industrial clients including markets such as high-rise buildings, healthcare facilities, urban developments, large-scale construction projects, airports, automotive industries, correctional facilities, data centers, warehouses, educational institutions, financial institutions, government buildings, hospitality and tourism, manufacturing, retail, residential projects, stadiums, and arenas.\", | |\n| \"automation_opportunities\": \"[\\\"Internal workflow automation for project management to streamline estimates, scheduling, and coordination across regional offices.\\\",\\\"Automation of emergency response dispatch and resource allocation to improve response times.\\\",\\\"Maintenance scheduling and monitoring automation for preventative roof maintenance and replacements.\\\",\\\"Quality control and fabrication tracking automation for metal wall panel systems.\\\",\\\"Customer communication and follow-up automation to enhance client engagement and service updates.\\\"]\", | |\n| \"personalization_points\": \"[\\\"Acknowledge their strong reputation as a Top 10 U.S. commercial roofing contractor with over 40 years of experience.\\\",\\\"Reference their dedication to complex and customized roofing and exterior envelope solutions.\\\",\\\"Highlight their 24/7 emergency response service as a critical differentiator.\\\",\\\"Mention their advanced technology use in new construction and commitment to safety and compliance.\\\",\\\"Emphasize their sustainable green roofing systems and commitment to environmental design.\\\",\\\"Note their presence in multiple states in the Mid-Atlantic region and local expertise through regional offices.\\\",\\\"Recognize their partnerships with well-known industry suppliers and unions as a sign of quality and reliability.\\\"]\", | |\n| \"crm_status\": \"synced\", | |\n| \"icp_score\": 70, | |\n| \"outreach_status\": null, | |\n| \"email_subject\": null, | |\n| \"email_body\": null, | |\n| \"outreach_sent_at\": null, | |\n| \"follow_up_count\": null, | |\n| \"next_follow_up_at\": null, | |\n| \"response_status\": null, | |\n| \"id\": 2, | |\n| \"createdAt\": \"2026-07-14T18:10:38.867Z\", | |\n| \"updatedAt\": \"2026-07-15T09:08:54.839Z\" | |\n| } | |\n| } | |\n| ], | |\n| \"Send a message\": [ | |\n| { | |\n| \"json\": { | |\n| \"id\": \"19f6a78f5b84ff59\", | |\n| \"threadId\": \"19f6a78f5b84ff59\", | |\n| \"labelIds\": [ | |\n| \"UNREAD\", | |\n| \"SENT\", | |\n| \"INBOX\" | |\n| ] | |\n| } | |\n| } | |\n| ], | |\n| \"Update row(s)\": [ | |\n| { | |\n| \"json\": { | |\n| \"email\": \"user2@example.com\", | |\n| \"first_name\": \"Ernie\", | |\n| \"last_name\": \"Giancola\", | |\n| \"job_title\": \"Operations Manager\", | |\n| \"linkedin_url\": \"linkedin.com/in/ernie-giancola-875b901a\", | |\n| \"person_location\": \"Washington,District of Columbia,United States\", | |\n| \"company_name\": \"kalkreuth roofing sheet metal inc\", | |\n| \"company_domain\": \"krsm.net\", | |\n| \"company_industry\": \"[\\\"Manufacturing\\\",\\\"Real Estate\\\",\\\"construction\\\"]\", | |\n| \"company_size\": \"110\", | |\n| \"company_location\": \"Wheeling,West Virginia,United States\", | |\n| \"icp_tier\": \"B\", | |\n| \"recommended_product\": \"Internal Workflow Automation\", | |\n| \"icp_reasoning\": \"The prospect is an Operations Manager at a company with multiple industries including Real Estate, which matches one of the ideal industries. The company size of 110 employees fits well within the 50-500 employee range. The decision maker role is relevant as Operations Manager aligns with Operations leaders. There are clear opportunities for internal workflow automation due to the multi-industry nature and the operational scope. The geographic location is in the United States, which generally aligns with typical target markets but not a specified factor in the ICP. Overall, the prospect is a good fit for AI solutions primarily in Internal Workflow Automation, though other specific automation areas like sales or customer support may be less relevant given the role and company context.\", | |\n| \"pain_points\": \"[\\\"Streamlining operations across multiple industries\\\",\\\"Improving internal workflow efficiency\\\",\\\"Automation of repetitive operational tasks\\\"]\", | |\n| \"product_fit_reason\": \"The prospect is an Operations Manager at a mid-sized company involved in multiple industries including manufacturing, real estate, and construction, which indicates complex internal operations. The company size and job title align perfectly with the target buyers for Internal Workflow Automation. The identified pain points such as streamlining operations, improving workflow efficiency, and automating repetitive tasks make this product the best fit to address their operational challenges effectively.\", | |\n| \"outreach_angle\": \"Hi [Prospect Name], I noticed that Kalkreuth Roofing Sheet Metal Inc operates across manufacturing, real estate, and construction industries. As an Operations Manager, you likely face challenges in streamlining complex workflows and managing repetitive operational tasks. Our Internal Workflow Automation solution is designed to simplify and automate these processes, boosting your team's productivity and allowing you to focus on strategic priorities. I'd love to share how we can tailor this to your unique operational needs.\", | |\n| \"company_summary\": \"Kalkreuth Roofing and Sheet Metal is a Top 10 U.S. commercial roofing contractor specializing in complex roofing, exterior envelope systems, and architectural wall cladding for demanding projects nationwide. They bring over 40 years of experience and focus on delivering high-quality commercial metal roofing and exterior solutions, primarily in the Mid-Atlantic region with a full-service presence in multiple states including West Virginia, Kentucky, Maryland, Ohio, and Pennsylvania.\", | |\n| \"products_services\": \"[\\\"Commercial Roofing Systems including metal roofing, flat seam metal roofing, standing seam metal roofing, vegetative roofing systems, modified bitumen roofing systems, built-up roofing systems, single ply roofing systems (TPO, PVC, EPDM), and commercial waterproofing.\\\",\\\"Design-Build / Design-Assist services\\\",\\\"Emergency Response services available 24/7/365\\\",\\\"Exterior Cladding Services with custom metal wall panel fabrication\\\",\\\"New Construction roofing solutions with advanced technology and safety compliance\\\",\\\"Preventative Maintenance and Roof Replacement / Re-Roof services\\\",\\\"Sustainable Green (vegetative) roofing systems\\\"]\", | |\n| \"target_customers\": \"Their target customers are commercial and industrial clients including markets such as high-rise buildings, healthcare facilities, urban developments, large-scale construction projects, airports, automotive industries, correctional facilities, data centers, warehouses, educational institutions, financial institutions, government buildings, hospitality and tourism, manufacturing, retail, residential projects, stadiums, and arenas.\", | |\n| \"automation_opportunities\": \"[\\\"Internal workflow automation for project management to streamline estimates, scheduling, and coordination across regional offices.\\\",\\\"Automation of emergency response dispatch and resource allocation to improve response times.\\\",\\\"Maintenance scheduling and monitoring automation for preventative roof maintenance and replacements.\\\",\\\"Quality control and fabrication tracking automation for metal wall panel systems.\\\",\\\"Customer communication and follow-up automation to enhance client engagement and service updates.\\\"]\", | |\n| \"personalization_points\": \"[\\\"Acknowledge their strong reputation as a Top 10 U.S. commercial roofing contractor with over 40 years of experience.\\\",\\\"Reference their dedication to complex and customized roofing and exterior envelope solutions.\\\",\\\"Highlight their 24/7 emergency response service as a critical differentiator.\\\",\\\"Mention their advanced technology use in new construction and commitment to safety and compliance.\\\",\\\"Emphasize their sustainable green roofing systems and commitment to environmental design.\\\",\\\"Note their presence in multiple states in the Mid-Atlantic region and local expertise through regional offices.\\\",\\\"Recognize their partnerships with well-known industry suppliers and unions as a sign of quality and reliability.\\\"]\", | |\n| \"crm_status\": \"outreach sent\", | |\n| \"icp_score\": 70, | |\n| \"outreach_status\": \"Sent\", | |\n| \"email_subject\": \"Streamlining Operations at Kalkreuth Roofing\", | |\n| \"email_body\": \"Hi Ernie,\\n\\nWith Kalkreuth Roofing’s strong reputation in complex commercial roofing and your leadership in operations, I imagine managing workflows across manufacturing, real estate, and construction can be challenging. Our Internal Workflow Automation can help simplify coordination and automate repetitive tasks, freeing your team to focus on critical projects and strategic priorities.\\n\\nWould you be open to a brief call to explore how this can fit into your current operations?\", | |\n| \"outreach_sent_at\": \"2026-07-15T04:00:00.000Z\", | |\n| \"follow_up_count\": 0, | |\n| \"next_follow_up_at\": \"2026-07-19T10:40:11.640Z\", | |\n| \"response_status\": \"Awaiting Response\", | |\n| \"thread_id\": \"19f6a78f5b84ff59\", | |\n| \"id\": 2, | |\n| \"createdAt\": \"2026-07-14T18:10:38.867Z\", | |\n| \"updatedAt\": \"2026-07-16T10:40:11.667Z\" | |\n| } | |\n| } | |\n| ] | |\n| }, | |\n| \"connections\": { | |\n| \"When clicking ‘Execute workflow’\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"Get syned prospects\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"Get syned prospects\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"AI Outreach Generator\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"Structured Output Parser\": { | |\n| \"ai_outputParser\": [ | |\n| [ | |\n| { | |\n| \"node\": \"AI Outreach Generator\", | |\n| \"type\": \"ai_outputParser\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"OpenAI Chat Model\": { | |\n| \"ai_languageModel\": [ | |\n| [ | |\n| { | |\n| \"node\": \"AI Outreach Generator\", | |\n| \"type\": \"ai_languageModel\", | |\n| \"index\": 0 | |\n| }, | |\n| { | |\n| \"node\": \"AI revision Agent\", | |\n| \"type\": \"ai_languageModel\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"AI Outreach Generator\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"Send message and wait for response\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"Send message and wait for response\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"If\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"If\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"Send a message\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ], | |\n| [ | |\n| { | |\n| \"node\": \"AI revision Agent\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"Structured Output Parser1\": { | |\n| \"ai_outputParser\": [ | |\n| [ | |\n| { | |\n| \"node\": \"AI revision Agent\", | |\n| \"type\": \"ai_outputParser\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"AI revision Agent\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"Send message and wait for response\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| }, | |\n| \"Send a message\": { | |\n| \"main\": [ | |\n| [ | |\n| { | |\n| \"node\": \"Update row(s)\", | |\n| \"type\": \"main\", | |\n| \"index\": 0 | |\n| } | |\n| ] | |\n| ] | |\n| } | |\n| }, | |\n| \"active\": false, | |\n| \"settings\": { | |\n| \"executionOrder\": \"v1\" | |\n| }, | |\n| \"versionId\": \"00000000-0000-4000-8000-00000000000f\", | |\n| \"meta\": { | |\n| \"templateCredsSetupCompleted\": true, | |\n| \"instanceId\": \"408afb76a2b640eb799780ee4aa2a8f4f6b5312d0ce776013fcf3534918ccacf\" | |\n| }, | |\n| \"id\": \"5RwbafRwA2kc573C\", | |\n| \"tags\": [] | |\n| } |", "url": "https://wpnews.pro/news/ai-outreach-human-approval-and-email-sending-json", "canonical_source": "https://gist.github.com/meeramnoor16/af99d2d78198381880483fe551164b12", "published_at": "2026-07-23 18:08:32+00:00", "updated_at": "2026-07-28 04:32:59.552376+00:00", "lang": "en", "topics": ["artificial-intelligence", "developer-tools"], "entities": ["n8n", "LangChain"], "alternates": {"html": "https://wpnews.pro/news/ai-outreach-human-approval-and-email-sending-json", "markdown": "https://wpnews.pro/news/ai-outreach-human-approval-and-email-sending-json.md", "text": "https://wpnews.pro/news/ai-outreach-human-approval-and-email-sending-json.txt", "jsonld": "https://wpnews.pro/news/ai-outreach-human-approval-and-email-sending-json.jsonld"}}