Automated Post-Cancellation Feedback Collection using Stripe and Google Sheets - n8n Workflow

Collect and categorize cancellation feedback automatically using this n8n workflow. Triggered by Stripe, it sends surveys and logs responses to segmented Google Sheets.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Startups and SaaS companies looking to reduce churn by understanding cancellation drivers.
Product Managers needing organized, actionable feedback categorized by pricing or features.
Operations teams aiming to automate post-cancellation customer engagement.
Users searching for robust n8n templates for finance and CRM operations.

Overview

Reducing churn requires immediate, actionable data on why customers leave. Manually tracking cancellations and sending follow-up surveys is time-consuming and error-prone. This sophisticated n8n workflow solves this by fully automating the feedback loop directly integrated with Stripe. This specific n8n workflow acts as a powerful backend system, instantly detecting a customer.subscription.deleted event via an n8n trigger. It ensures every cancellation event generates a personalized survey email, logs the event to a master spreadsheet, and then, crucially, receives the subsequent survey response via a dedicated webhook. The logic flow then uses an n8n node to categorize the feedback (e.g., Price, Features, Other) and automatically store it in separate, organized tabs within Google Sheets. This n8n workflow ensures data is structured and ready for analysis, providing critical insights without manual effort.

How it Works

This n8n workflow operates in two main phases, both initiated by dedicated n8n triggers:

Phase 1: Cancellation and Logging


  1. Stripe Trigger: The process begins when the Stripe Subscription Canceled n8n trigger fires upon receiving the customer.subscription.deleted event webhook from Stripe.

  2. Fetch Customer Details: A Stripe n8n node uses the customer ID from the trigger payload to retrieve the customer's full details (like name and email) from the Stripe API, as this information is often missing from the initial webhook.

  3. Send Survey Email: An Email Send n8n node sends a personalized feedback request. Crucially, it dynamically generates a survey link (compatible with tools like Tally or Typeform) embedded with hidden parameters (customer ID, email, plan name).

  4. Master Log: The Log to Cancellations Sheet Google Sheets n8n node records the cancellation timestamp, customer ID, plan, and whether the survey email was successfully sent. This provides a comprehensive audit trail for every cancellation within the n8n workflow.

Phase 2: Feedback Reception and Routing


  1. Survey Response Trigger: The Survey Response Webhook n8n trigger waits for the customer to submit the survey form. The form post their response (including the reason and hidden customer data) back to the n8n workflow.

  2. Route Feedback: The Route by Feedback Type Switch n8n node inspects the cancellation reason field (reason). This n8n node utilizes robust logic to categorize the feedback, directing items containing keywords like 'expensive' to one route, 'feature' to another, and all others to a fallback.

  3. Categorized Logging: Three separate Google Sheets n8n node instances (Log Price Concerns, Log Feature Requests, Log Other Feedback) append the detailed response data to their respective sheets, providing immediate, organized data for product or finance teams. This intelligent organization demonstrates the power of this n8n workflow design.

Installation Guide

To use this powerful n8n workflow, follow these steps:


  1. Import the n8n Workflow: Copy the provided JSON data and paste it directly into your n8n instance using the "Import Workflow" function.

  2. Stripe Configuration:

Click on the Stripe Subscription Canceled n8n trigger node.
Set up your Stripe credentials.
Copy the generated Webhook URL.
In your Stripe Dashboard (Developer > Webhooks), create a new endpoint and paste the n8n webhook URL. Select the event customer.subscription.deleted.

  1. Google Sheets Setup:

Create a single Google Sheet document containing four separate tabs: Cancellations, Price Concerns, Feature Requests, and Other Feedback.
Configure the four Google Sheets n8n node credentials (Log to Cancellations Sheet, etc.) to point to this document.

  1. Email Setup:

Set up your email credentials (Gmail, Outlook, or SMTP) in the Send Feedback Survey Email n8n node.
Update the fromEmail field to your desired sending address.

  1. Survey Integration (Crucial Step):

Create your external feedback survey (e.g., in Tally or Typeform) with fields for Reason and Comments, plus hidden fields for email, customerid, name, and plan.
Update URL: In the Send Feedback Survey Email n8n node, replace [SURVEY
URL] in the HTML body with your actual survey link.
* Configure Survey Webhook: Click the Survey Response Webhook n8n node, copy its unique test URL, and configure your survey tool to POST the submission data (including all customer data and response fields) to this URL.

Node Details

This n8n workflow leverages several key n8n node types to achieve seamless automation:

Stripe Subscription Canceled (n8n Trigger Node):
Function: Serves as the primary n8n trigger, initiating the process upon receiving a customer.subscription.deleted event from Stripe.
Key Configuration: Events set to customer.subscription.deleted. Requires Stripe credential setup.

Get Customer Details (Stripe n8n Node):
Function: Fetches comprehensive customer data (name, email) using the Customer ID extracted from the initial Stripe n8n trigger payload.
Key Configuration: Resource: customer. Customer ID dynamically mapped via expression: ={{ $json.data.object.customer }}.

Send Feedback Survey Email (Email Send n8n Node):
Function: Composes and sends a personalized HTML email containing a call-to-action link to the feedback survey.
Key Configuration: The HTML dynamically injects customer data (email, customer_id, name, plan) into the survey URL parameters.

Log to Cancellations Sheet (Google Sheets n8n Node):
Function: Records every cancellation event in a master sheet, serving as an audit log for this n8n workflow.
Key Configuration: Operation: append. Records fields like Cancellation Date and Email Sent status.

Survey Response Webhook (Webhook n8n Trigger Node):
Function: Acts as a secondary n8n trigger, passively waiting for HTTP POST requests containing submitted survey feedback from the external form.
Key Configuration: Path: survey-response. HTTP Method: POST.

Route by Feedback Type (Switch n8n Node):
Function: Directs the incoming survey response data to different branches based on the customer's selected reason for cancellation.
Key Configuration: Uses case-insensitive string contains operations to check the reason field for keywords like 'expensive' or 'feature'. This demonstrates efficient logic within the n8n templates.

Log Price Concerns / Log Feature Requests / Log Other Feedback (Google Sheets n8n Nodes):
Function: Appends the final, structured feedback data into its designated sheet, organizing the data automatically for analysis.
* Key Configuration: Operation: append. Sheet Name is static for each n8n node (e.g., 'Price Concerns').

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by
Daiki Takayama
Daiki Takayama

Featured*