Skip to main content

Send Stripe purchase templates from Google Drive via Gmail and Discord

Workflow preview

Workflow preview
100%
Send Stripe purchase templates from Google Drive via Gmail and Discord preview
Open on n8n.io

1. Workflow Overview

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 pos...

Best for

  • Content Creation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatanthropic, n8n-nodes-base.code, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.httprequest, n8n-nodes-base.formtrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send Stripe purchase templates from Google Drive via Gmail and Discord
Workflow name
Send Stripe purchase templates from Google Drive via Gmail and Discord

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

  • Connect your Stripe API credentials to both the Stripe Trigger and HTTP Request nodes
  • Configure the Discord bot credential and set the target guild and channel IDs
  • Connect a Google OAuth2 credential with Drive read access to both Google Drive nodes
  • Set the Google Drive folder ID where your templates are stored
  • Connect a Gmail OAuth2 credential to the Gmail node

Requirements

  • Stripe account with API key
  • Discord bot with permissions to post in a channel
  • Google Drive with template files named after your products
  • Gmail account with OAuth2 access

How to customize

  • Adapt the Discord message to include additional order details such as coupon codes or quantity.
  • Replace the Gmail step with another email provider (SendGrid, SMTP) for higher sending volumes.
  • Add a Google Sheets logging step after the Stripe trigger to keep a record of all purchases.

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 - Sticky Note13

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

Block 2 - Sticky Note16

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

Block 3 - Sticky Note

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

Block 4 - Sticky Note1

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

Block 5 - Sticky Note2

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

Block 6 - Sticky Note3

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

Block 7 - Sticky Note4

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

Block 8 - Sticky Note5

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

Block 9 - Sticky Note6

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

Block 10 - Workflow Generator Agent

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

Block 11 - Claude Model for Generator

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

Block 12 - Parse and Validate JSON

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

Block 13 - Set Workflow Config Variables

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

Block 14 - Logical Groups Agent

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

Block 15 - Claude Model for Groups

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

Block 16 - Groups Structured Parser

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

Block 17 - Parse Nodes for Renaming

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

Block 18 - Node Renaming Agent

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

Block 19 - Claude Model for Renaming

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

Block 20 - Renaming Structured Parser

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

Block 21 - Prepare and Parse Grid Data

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

Block 22 - Calculate Layout and Stickies

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

Block 23 - Apply Node Renames

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

Block 24 - Create Workflow via n8n API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Send Stripe purchase templates from Google Drive via Gmail and Discord
Complexity advanced
Nodes 29
Categories Content Creation
Author Allan Vaccarizi
Published 19 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15812/15812.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 Stripe purchase templates from Google Drive via Gmail and Discord do?

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 pos...

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 Content Creation use case.