🎬 Send Stripe purchase templates from Google Drive via Gmail and Discord

⚑ 14 views · 🎬 Content Creation & Video

Description

Who it’s for

This workflow is for indie creators, automation agencies, and digital product sellers who sell n8n workflow templates (or any downloadable file) through Stripe and want to automate post-purchase delivery and team notifications.

How it works

  1. The Stripe Trigger fires when a checkout.session.completed event is detected β€” a payment has been completed.
  2. An HTTP Request node fetches the full line items from the Stripe Checkout Session using the Stripe API.
  3. In parallel, a Discord notification is sent to a dedicated channel with the customer’s name, email, product name, and amount paid.
  4. Simultaneously, Google Drive is searched for a document template whose name matches the purchased product description.
  5. The matching template file is downloaded from Google Drive.
  6. A branded HTML email is sent to the customer via Gmail, with the downloaded template attached as a .json file.

How to set up

Requirements

How to customize

πŸ”— Nodes Used

HTTP Request, AI Agent, Anthropic Chat Model, Structured Output Parser, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup