Send personalized SaaS welcome emails with Stripe, Pinecone, GPT-4o, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on Stripe events (checkout.session.completed). Along the way it connects Pinecone Vector Store, Google Sheets, Gmail and OpenAI Chat Model and 2 more.
How it runs
Trigger: On Stripe events (checkout.session.completed).
- Amount conversion (Code): runs custom JavaScript code
- Get user_details (Edit Fields (Set)): sets 3 fields: amount, name, email
- AI Agent: runs an AI agent, with model: GPT-4o; 1 tool (Pinecone Tool)
- Parse AI Output (Code): runs custom JavaScript code
- Send Welcome Email (Gmail): uses Gmail
- Log customer details (Google Sheets): append
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Stripe Trigger
n8n-nodes-base.stripeTrigger
From the author
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…