The Stripe Trigger fires a workflow when Stripe sends a webhook event to your Flusso endpoint. It automatically validates Stripe's webhook signature so you can be certain that every event genuinely came from Stripe โ not from a spoofed request. Common use cases include reacting to successful payments, subscription changes, and invoice events.
stripe_triggerStripe uses webhooks to notify your applications of events that happen in your Stripe account: a customer's payment succeeded, a subscription was cancelled, an invoice became overdue. The Stripe Trigger makes it easy to respond to these events in Flusso without writing any code.
Unlike the generic Webhook Trigger, the Stripe Trigger handles Stripe-specific signature validation automatically. Stripe signs every webhook payload with your webhook signing secret (using HMAC-SHA256 and a timestamp to prevent replay attacks), and Flusso verifies that signature before firing the workflow. If the signature is invalid, the request is rejected and the workflow does not run.
You can optionally filter the trigger to only fire for specific Stripe event types โ
for example, only payment_intent.succeeded โ by entering event type names in
the Event Types field. Leave it blank to accept all Stripe events and use
a Switch node downstream to route different event types to different logic.
| Field | Required | Description |
|---|---|---|
| Webhook Secret | Required |
The webhook signing secret from your Stripe Dashboard. This is the whsec_โฆ
value shown under Developers โ Webhooks โ [your webhook endpoint] โ Signing secret.
Flusso uses this to verify every incoming request came from Stripe.
|
| Event Types | Optional |
A comma-separated list of Stripe event types that this trigger accepts. For example:
payment_intent.succeeded, customer.subscription.deleted. If left blank,
the trigger fires for all event types that Stripe sends to this endpoint.
|
whsec_โฆ value and paste it into the Webhook Secret field
in Flusso.
| Variable | Type | Description |
|---|---|---|
trigger.output.payload |
Object | The full Stripe event object, including the data.object field that contains the event's subject (e.g. the PaymentIntent or Subscription object). |
trigger.output.event_type |
String | The Stripe event type string, e.g. payment_intent.succeeded, customer.subscription.deleted. |
trigger.output.headers |
Object | The HTTP request headers from Stripe, including the stripe-signature header used for validation. |
payment_intent.succeeded.
{{ trigger.output.payload.data.object.customer }}.
stripe listen --forward-to localhost/api/webhooks/{id}.