Skip to main content

Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI

Workflow preview

Workflow preview
100%
Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Send smart, personalized welcome emails to any Jotform lead This workflow intelligently qualifies new Jotform leads and sends the perfect welcome email every time. It detects whether a lead is usin...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.gmail, n8n-nodes-base.jotformtrigger, n8n-nodes-base.perplexity, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.merge

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI
Workflow name
Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI

Send smart, personalized welcome emails to any Jotform lead

This workflow intelligently qualifies new Jotform leads and sends the perfect welcome email every time. It detects whether a lead is using a business or personal email address and tailors the outreach accordingly—either with deep company research for B2B leads or a warm, direct welcome for B2C leads.

Who's it for?

  • Businesses with mixed audiences: Companies that serve both business clients and individual users.
  • Sales & Marketing Teams: To automate lead qualification and send context-aware first-touch emails.
  • Founders & Solopreneurs: To ensure every new lead gets a relevant, personalized welcome without manual effort.

How it works

  1. Trigger: The workflow starts on a new Jotform submission.
  2. Filter: It checks if the lead's email is a work email (e.g., [email protected]) or a personal one (e.g., [email protected]).
  3. Path A (Work Email): The workflow researches the company using Perplexity AI and then uses OpenAI to draft a deeply personalized email referencing company-specific details.
  4. Path B (Personal Email): The workflow skips the research and uses OpenAI to draft a warm, friendly, but more general welcome email.
  5. Send: The appropriate, context-aware email is sent to the new lead via Gmail.

How to set up

  1. Jotform: Connect your Jotform credentials and choose your lead capture form. Important: Your form must contain fields with the exact names name and email. You can add other fields for more context (e.g., company_size).
  2. Credentials: Connect your Perplexity AI, OpenAI, and Gmail accounts.
  3. Activate Workflow: Turn the workflow on.

Requirements

How to customize the workflow

  • Filter Logic: Add more personal email domains (e.g., icloud.com) to the list in the Check if Email is Work or Personal node to improve filtering.
  • Prompts: Customize the prompts in both the AI Agent nodes to match your brand's voice and tone.

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 - OpenAI Chat Model

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

Block 2 - Send Welcome Email

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

Block 3 - On New JotForm Submission

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

Block 4 - Research Company via Perplexity AI

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

Block 5 - Sticky Note

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

Block 6 - Extract Domain from Email

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - If Work Email

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

Block 8 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - OpenAI Chat Model1

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

Block 10 - AI Company Email Writer

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

Block 11 - AI Personal Email Writer

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

3. Summary Table

Workflow Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI
Complexity intermediate
Nodes 11
Categories Lead Nurturing, AI Chatbot
Author Fahmi Fahreza
Published 10 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9474/9474.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 Send Personalized B2B/B2C Welcome Emails with Jotform, GPT-4o & Perplexity AI do?

Send smart, personalized welcome emails to any Jotform lead This workflow intelligently qualifies new Jotform leads and sends the perfect welcome email every time. It detects whether a lead is usin...

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.