Stripe Integration
π Stripe Integrationβ
The Stripe integration in WhautoMail allows you to automatically send emails based on your SaaS customer lifecycle eventsβsuch as new sign-ups, trial reminders, subscription updates, payment failures, cancellations, and more.
π How to Integrate Stripe with WhautoMailβ
Step 1: Go to Integrationsβ
- Open the WhautoMail app
- From the left menu, click Integrations
Step 2: Connect Stripeβ
- Find Stripe in the list of integrations
- Click the Connect button
Step 3: Configure the Stripe Integrationβ
To complete the setup, you'll need to configure three parts:
- Webhook URL
- Webhook Secret
- Stripe API Key
(1) Configure Webhook URLβ
In WhautoMail:
- On the Stripe integration page in WhautoMail, copy the Webhook URL
In Stripe:
- Log in to your Stripe account
- Search for "Webhooks" in the top search bar and select it
- Click "+ Add Destination"
- Setup the Destination:
- Events from: Your Account
- API Version: Leave as default (latest)
- Scroll to the Events section
Enable These Events:
| Category | Events to Enable |
|---|---|
| CUSTOMER EVENTS | customer.created, customer.updated, customer.deleted |
| SUBSCRIPTION LIFECYCLE | customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, customer.subscription.trial_will_end |
| PAYMENT & BILLING | invoice.payment_succeeded, invoice.payment_failed |
- Click Continue
- Set:
- Destination Type: Webhook Endpoint
- Destination Name: WhautoMail
- Endpoint URL: Paste the Webhook URL you copied
- Click Create Destination
(2) Configure Webhook Secretβ
- After saving the webhook, Stripe will generate a Signing Secret (e.g.,
whsec_XXXXXXX) - Copy the Signing Secret
- Go back to WhautoMail β Stripe Integration
- Paste it into the Webhook Secret field
(3) Configure Stripe API Keyβ
-
In Stripe, search for "API Keys" in the search bar
-
Click "+ Create restricted key"
-
Choose "Providing this key to another website" β Continue
-
Enter:
- Name: WhautoMail
- Website:
https://www.whautomail.com/
-
Customize Permissions:
- Turn ON permission for Customers (Read Only)
- Set all other permissions to None
Important: Use only a restricted API key with read-only permissions. This key is used to pull customer email details from Stripe events to trigger your automations.
-
Click Create Key
-
Copy the Token value
-
Paste it into the Stripe API Key field in WhautoMail
(4) Complete the Setupβ
-
Set Contact Status:
- Choose how new contacts should be created in WhautoMail:
- Subscribed, OR
- Pending
Note: If you select Pending, contacts will automatically receive a Double Opt-in email. Make sure your Double Opt-in Automation is active.
- Choose how new contacts should be created in WhautoMail:
-
Save the Integration
- Click Save Integration to finish your Stripe setup
Your Stripe and WhautoMail connection is now activeβtest it to ensure everything works smoothly.
β‘ WhautoMail Stripe Automationsβ
Once integrated, you can activate powerful prebuilt automations to handle different stages of your SaaS customer lifecycle.
How to Access Stripe Automations:β
- Go to the WhautoMail app β select Automations
- Click the + Add Automation button
- You'll see a list of Stripe-related automation templates
- Install the ones that fit your business needs
π§ Available Stripe Email Automations:β
-
Stripe Payment Failed Dunning Series
Automatically recover failed payments with friendly reminders and helpful support links -
Stripe Subscription Welcome & Onboarding
Welcome new subscribers and provide a premium onboarding experience -
Stripe Subscription Cancellation Win-Back
Reconnect with canceled subscribers using feedback requests and exclusive offers -
Stripe Trial Ending Reminder
Remind users when their trial is about to end and encourage them to upgrade -
Stripe Trial Welcome Series
Greet new trial users and introduce key features to help them get started
π¨ Customizing Your Stripe Automationsβ
WhautoMail provides default email templates for each of these automations. You can fully customize them using:
- Two powerful email editors (Drag & Drop Editor or Simple Editor)
- Predefined, ready-to-use email templates
Make your automations match your brand tone, design, and communication style effortlessly.
β You're All Set!β
Once fully configured, the Stripe integration will automatically handle:
- New customer emails
- Trial reminders
- Subscription updates
- Payment failure alerts
- Cancellation follow-ups
...all without manual work. Your SaaS lifecycle communication becomes automated, consistent, and customer-friendly.