Client onboarding after payment

When a client pays, create their Drive folder and send a welcome email with the link.

Medium Saves ~4 hours/month Sales & CRMBy Flowngn team

Works with n8n · Make · Zapier

How it works

Trigger: Stripe — checkout session completed
  1. Receive the completed checkout from Stripe.
  2. Create a Google Drive folder named after the client.
  3. Email the client a welcome message with the folder link and next steps.

Diagram

SCheckout completedStripe TriggerGCreate client folderGoogle DriveGWelcome emailGmail
Trigger App

Build it

Pick your tool — same automation, step by step.

Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder.

Workflow JSON
Show code (112 lines)
{
  "name": "Client onboarding after payment (Flowngn)",
  "nodes": [
    {
      "parameters": {
        "content": "## Client onboarding after payment\nWhen a client pays, create their Drive folder and send a welcome email with the link.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
        "height": 260,
        "width": 340
      },
      "id": "458223d5-1673-42cd-a93b-ba83e310fb25",
      "name": "Setup notes",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -420,
        -60
      ]
    },
    {
      "parameters": {
        "events": [
          "checkout.session.completed"
        ]
      },
      "id": "458223d5-1673-42cd-a93b-ba83e310fb25",
      "name": "Checkout completed",
      "type": "n8n-nodes-base.stripeTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "webhookId": "458223d5-1673-42cd-a93b-ba83e310fb25"
    },
    {
      "parameters": {
        "resource": "folder",
        "name": "={{ $json.data.object.customer_details.name || $json.data.object.customer_details.email }}",
        "driveId": {
          "__rl": true,
          "value": "My Drive",
          "mode": "list"
        },
        "folderId": {
          "__rl": true,
          "value": "YOUR_CLIENTS_FOLDER_ID",
          "mode": "id"
        },
        "options": {}
      },
      "id": "458223d5-1673-42cd-a93b-ba83e310fb25",
      "name": "Create client folder",
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        300,
        0
      ]
    },
    {
      "parameters": {
        "sendTo": "={{ $('Checkout completed').item.json.data.object.customer_details.email }}",
        "subject": "Welcome! Here's how we get started",
        "emailType": "text",
        "message": "=Hi {{ $('Checkout completed').item.json.data.object.customer_details.name }},\n\nThank you for your payment — we're excited to work with you!\n\nYour shared folder: https://drive.google.com/drive/folders/{{ $json.id }}\n\nNext steps:\n1. Upload your brief and assets to the folder.\n2. Book your kickoff call: YOUR_BOOKING_LINK\n\nYOUR_NAME",
        "options": {
          "appendAttribution": false
        }
      },
      "id": "458223d5-1673-42cd-a93b-ba83e310fb25",
      "name": "Welcome email",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        600,
        0
      ]
    }
  ],
  "connections": {
    "Checkout completed": {
      "main": [
        [
          {
            "node": "Create client folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create client folder": {
      "main": [
        [
          {
            "node": "Welcome email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}

Open in the playground to edit →

Tips

  • Share the folder with the client's email using the Drive node's Share operation.

Related flows