Skip to main content

How it works

Stripe events often happen after checkout. A payment can fail, an invoice can be paid, or a customer can cancel a subscription in Stripe. Use webhooks so Stripe can tell Zite when those changes happen. In Zite, a webhook starts a workflow that can update your database, change access, send email, alert support, or refresh a dashboard.
Webhooks view showing webhook triggers in Zite
For the full webhook setup flow, see Configuring Webhooks.

Set up Stripe webhooks

1

Create the webhook in Zite

You can create the webhook from chat or from the Webhooks tab.In chat, ask Zite to create a webhook workflow for Stripe subscription events.
Create a Stripe webhook for subscription lifecycle events. Update the
Stripe subscriptions table when checkout completes, a subscription changes
or is canceled, an invoice is paid, or payment fails.
You can also open Workflows, switch to Webhooks, describe the webhook you want, and click Set it up.
Create a webhook trigger directly from the Webhooks tab
Zite creates a webhook-triggered workflow and shows a webhook URL when it is waiting for an event.
2

Copy the Zite webhook URL

Copy the webhook URL from Zite. You can also find it later in Workflows -> Webhooks.
3

Add an event destination in Stripe

In Stripe, open Workbench -> Webhooks and create a new event destination.
Stripe Webhooks page with the Add destination button highlighted
4

Select subscription events

Select these five events:
  • checkout.session.completed
  • customer.subscription.updated
  • customer.subscription.deleted
  • invoice.paid
  • invoice.payment_failed
Stripe event selection screen with selected events and your account destination scope
5

Choose webhook endpoint

Choose Webhook endpoint as the destination type.
Stripe destination type screen with Webhook endpoint selected
6

Configure the destination

Paste the Zite webhook URL into the endpoint URL field. Add a destination name for internal reference, and add a description if helpful. Choose Your account unless you operate a Stripe Connect platform and need connected-account events.
Stripe destination configuration screen with endpoint URL and destination name fields
Stripe’s Dashboard steps are documented in Receive Stripe events in your webhook endpoint.
7

Review and publish

Open the workflow Zite created. Confirm that it updates the subscriptions table, saves the Stripe event ID, and handles duplicates.Publish the app before relying on the webhook for live subscription changes.

Subscription events to select

For subscription lifecycle updates, select these Stripe events.
Stripe eventUse it in Zite to
checkout.session.completedCreate the first customer or subscription record after checkout.
customer.subscription.updatedUpdate plan, quantity, trial, cancellation, current period, or status.
customer.subscription.deletedMark the subscription as canceled and update access.
invoice.paidMark the subscription as paid or active and keep access enabled.
invoice.payment_failedMark the subscription as past due, notify the customer, and alert support.
For one-off payments, start with checkout.session.completed and add refund, dispute, or payment events only if your app needs to react after checkout. Learn more in Stripe’s guide to using webhooks with subscriptions.
Stripe can retry webhook events and send related events close together. Store the Stripe event ID so the same event is not processed twice.
Last modified on June 3, 2026