Skip to main content

Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail

Workflow preview

Workflow preview
100%
Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail preview
Open on n8n.io

1. Workflow Overview

Who it's for SaaS founders and developers who want to automate their customer onboarding experience from payment to welcome email, without any manual work. How it works A Stripe Trigger listens for...

Best for

  • CRM automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.vectorstorepinecone, n8n-nodes-base.googlesheets, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.embeddingsopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail
Workflow name
Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail

Who it's for

SaaS founders and developers who want to automate their customer onboarding experience from payment to welcome email, without any manual work.

How it works

  • A Stripe Trigger listens for successful payment events.
  • The payment amount is converted and used to identify the subscription tier.
  • Customer details are extracted from the Stripe payload.
  • The AI Agent queries Pinecone to retrieve the correct plan details and generates a personalised HTML welcome email with the renewal date calculated automatically.
  • The email is parsed and sent via Gmail. Customer details and subscription info are logged to Google Sheets for renewal tracking.

Set up steps

  • Connect your Stripe account and point it to listen for checkout.session.completed events.
  • Store your tier information as chunks in Pinecone.
  • Add your OpenAI credentials for the AI Agent and Embeddings nodes.
  • Connect Gmail as your sending account. Create a Google Sheet with columns: Name, Email, Amount, Tier, Renewal Date, Status.

Requirements

  • Stripe account
  • Pinecone account with tier knowledge base uploaded
  • OpenAI account
  • Gmail account
  • Google Sheets

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 - Amount conversion

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

Block 2 - Get user_details

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

Block 3 - AI Agent

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

Block 4 - Pinecone Tool

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

Block 5 - Parse AI Output

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

Block 6 - Log customer details

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Send Welcome Email

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

Block 8 - GPT-4o

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

Block 9 - OpenAI Embeddings

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

Block 10 - Stripe Trigger

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

Block 11 - Sticky Note

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note2

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

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

3. Summary Table

Workflow Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail
Complexity advanced
Nodes 15
Categories CRM, AI RAG
Author Ruth Aju
Published 04 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13861/13861.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 SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail do?

Who it's for SaaS founders and developers who want to automate their customer onboarding experience from payment to welcome email, without any manual work. How it works A Stripe Trigger listens for...

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 CRM, AI RAG use case.