Stripe Customer
Overview
The Stripe Customer node manages customer records in Stripe. Use it to create, update, or retrieve customer details as part of your workflow, enabling seamless billing and subscription management.
Description
Manage Stripe customers.
This node connects to Stripe to perform customer-related operations.
Create
Add a new customer to Stripe.
Update
Modify existing customer details.
Retrieve
Fetch customer data by ID.
Input Parameters
Configure the customer operation.
operationTypestringRequired"create"customerIdstringOptional"cus_12345"namestringOptional"Jane Doe"emailstringOptional"jane@example.com"phonestringOptionalmetadatastringOptional"{\"segment\":\"pro\"}"Output Parameters
The node returns the Stripe customer object.
idstringOptionalemailstringOptionalnamestringOptionalcreatednumberOptional[address_fields]stringOptionalOutput Type
Output Type: JSON
Returns the full customer object from Stripe.
Example Usage
Example 1: Create Customer
Register a new user in Stripe.
{ "operationType": "create", "name": "Jane Doe", "email": "jane@example.com", "metadata": "{\"segment\":\"pro\"}"}
{ "id": "cus_12345", "email": "jane@example.com", "name": "Jane Doe", "created": 1698576000}
How to Use in a No-Code Workflow
Add the Node
Place the Stripe Customer node in your workflow.
Select Operation
Choose create, update, or retrieve.
Map Inputs
Provide email, name, or customerId based on the operation.
Use ID
Save the returned id to your database for future reference.
Best Practices
- Store the Stripe Customer ID in your own database.
- Use metadata to link Stripe customers to your internal user IDs.
Do / Don’t
- ✔️ Validate email addresses before creating customers.
- ✔️ Update customer details when they change in your app.
- ❌ Don’t create duplicate customers for the same user.
- ❌ Don’t store raw credit card info (let Stripe handle it).
Common Errors
Missing customerIdErrorOptionalInvalid address JSONErrorOptionalExample Workflow Integration
Use Case: New Subscriber Registration
Create a Stripe customer when a user signs up.
- Signup Form: User submits details.
- Stripe Customer: Create new customer with email.
- Database Update: Save the Stripe Customer ID.
Workflow Data Flow:
{{form.email}} → {{stripeCustomer.email}}
{{stripeCustomer.id}} → {{db.user.stripeId}}
