Quick overview This workflow listens for completed Stripe Checkout sessions, validates payment status, fetches the purchased workflow from your n8n instance, exports it as a JSON file, emails it to the buyer via Gmail, and logs the sale details to Google Sheets. How it works Triggers when Stripe sends a checkout.session.completed event for a Checkout session. Normalizes key fields from the Stripe event (buyer email, payment status, amount, session ID, and the workflow ID from client_reference_id). Verifies the event is a completed checkout session and the payment status is not unpaid. Retrieves the purchased workflow from the n8n API using the workflow ID passed through Stripe. Appends a sales record to Google Sheets with the timestamp, buyer email, amount, session ID, and workflow details. Exports the fetched workflow to a formatted JSON file and sends it to the buyer as a Gmail attachment with import instructions. Setup Add credentials for Stripe, n8n API, Gmail OAuth2, and Google Sheets OAuth2 used by the workflow.
Tags
Related workflows
See all Gmail→Manage attendee registrations and send emails
n8nConf Companion workflow for blog post
Monitor Server Uptime & Get Email Alerts with Google Sheets
🌐 Web Server Monitor & Alert System This automation pings web servers at regular intervals, logs their status, and sends email alerts if a server goes down. It’s perfect for maintaining visibility over server uptime — without complex monitoring tools. 🧠 How It Works This workflow performs minute-by-minute checks on all listed servers in a Google Sheet and: ✅ Logs all reachable servers in an “Alive” log. 🔻 Sends an email alert if a server is unreachable. 📄 Logs failed servers in a “Down” sheet with timestamps. 🧩 Key Components ⏰ 1. Schedule Trigger Runs the workflow every minute for real-time monitoring. 📄 2. Web Servers List (Google Sheets) Pulls server IPs or hostnames from a Google Sheet named Server_List. Each row = one server to monitor. This makes adding/removing servers effortless — just update the sheet. 🌐 3. Servers Alive Check (HTTP Request) Performs an HTTP GET request to each server (e.g., http://your-server.com). If the request fails, it automatically triggers the error path (handled via continueOnFail). ✅ 4. Web Server Alive Log (Google Sheets) Records successful pings in Server_Status_Alive with: Timestamp Server IP Status = Alive This log can be used for uptim
Automated Cold Email Outreach with Gmail & Google Sheets
Description: Boost your sales pipeline with this fully automated Cold Email Outreach workflow in n8n, integrating Gmail and Google Sheets. This template sends cold emails daily at 2 PM to leads fetched from a Google Sheet. Once an email is sent, the workflow updates the lead's status to prevent duplicates. ✅ Features: Daily scheduled trigger at 2 PM Fetches leads with status "not emailed" from Google Sheets Sends emails via Gmail Updates lead status in Google Sheets post-email Batch processing for efficient outreach Perfect for freelancers, agencies, and startups looking to automate lead engagement and track responses in real-time — all without writing a single line of code.