Skip to main content

Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman

Workflow preview

Workflow preview
100%
Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Lead Outreach Agent This AI workflow helps you quickly react to new leads with an initial personalized outreach. A great start of your lead nurturing sequence to av...

Best for

  • Lead Nurturing automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.typeformtrigger, n8n-nodes-base.code, n8n-nodes-base.if, @mendable/n8n-nodes-firecrawl.firecrawl, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.googledocstool

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by gotoHuman.

Original n8n.io source

1.1 Workflow description

Title
Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman
Workflow name
Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman

đź’Ľ Lead Outreach Agent

This AI workflow helps you quickly react to new leads with an initial personalized outreach. A great start of your lead nurturing sequence to avoid loosing precious leads that could turn into paying customers. Most importantly it uses gotoHuman so you can review the AI-analysis and the AI-generated editable email draft before it is sent out in your name.

How it works

  1. We receive a new form submission incl. the email address and company name of the prospect and extract the website URL from the address. We proceed only for company email addresses.
  2. We scrape the website using Firecrawl and summarize it with OpenAI
  3. Our AI agent runs an analysis based on the lead information and documents describing our own company and the defined Ideal Customer Profiles. It also fetches previously approved examples from gotoHuman so you're effectively creating a self-learning agent. It responds with the analysis and the drafted outreach email.
  4. Human Approval in gotoHuman. Allows editing the drafted email.
  5. We can now send our email including any edits made during the review and be sure that we are using high-quality content instead of AI slop.

How to set up

  1. Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing)
  2. Set up your credentials for the different services
  3. In gotoHuman, select and create the pre-built review template "Lead Outreach Agent" or import the ID: T873fI1Xli5nt3eh33Rj
  4. Select this template in the gotoHuman node

Requirements

You need accounts for

  • gotoHuman (Human Supervision)
  • OpenAI (AI Agent)
  • Typeform (Lead Form Submissions)
  • Firecrawl (Website Scraping)
  • Gmail
  • Google Docs (Company Wiki)

How to customize

  • Replace the Typeform trigger with any other way you might receive or find new leads
  • Provide the AI Sales Agent with more context to properly analyze the lead and create better personalized emails. Consider adding tools that allow the agent to fetch more infos about the prospect's company or personal profile, or to find out more about your specific product/service offerings and how your sales pitches look like.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Typeform Trigger

Type / Role
n8n-nodes-base.typeformTrigger - typeformTrigger
Config choices
Version 1.1

Block 2 - Extract Domain

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Flag personal email addresses

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Is Personal Email?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Scrape the website

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 6 - AI Sales Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 7 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 9 - Get our company profile

Type / Role
n8n-nodes-base.googleDocsTool - googleDocsTool
Config choices
Version 2

Block 10 - Get our ICP description

Type / Role
n8n-nodes-base.googleDocsTool - googleDocsTool
Config choices
Version 2

Block 11 - Fetch approved history

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.2

Block 12 - Summarize website

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 13 - Wait for Human Approval

Type / Role
@gotohuman/n8n-nodes-gotohuman.gotoHuman - gotoHuman
Config choices
Version 1

Block 14 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Is approved?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 16 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman
Complexity advanced
Nodes 22
Categories Lead Nurturing, AI Chatbot
Author gotoHuman
Published 12 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8520/8520.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Lead analysis & personalized email generation with OpenAI, Firecrawl & gotoHuman do?

Lead Outreach Agent This AI workflow helps you quickly react to new leads with an initial personalized outreach. A great start of your lead nurturing sequence to av...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, AI Chatbot use case.