English
Stripe event
Starts the workflow when a payment completes, an invoice is paid or fails, a refund or a customer appears in Stripe, checking at a regular interval. The event lands in data.stripe, with no triggering email.
The Stripe event trigger checks Stripe events at regular intervals and starts one run per event of the chosen type: payment completed, invoice paid or failed, refund, new customer.
The run has no triggering email: nodes that act on the triggering email cannot follow this trigger. Send works when you choose the sending mailbox on the node.
At a glance
- Type:
trigger.stripe· version 1 - Category: Triggers
- Kind: Trigger — starts a run
- Effect: No external effect (
none) — nothing is written outside Loop & Roll; safe to replay - Needs a carrier email: No
- Connection: Stripe
- Outputs:
main
Connection
This node needs a Stripe connection.
Parameters
connection
Stripe connection — The Stripe connection to use. Create it once in Connections; its key never appears in the workflow.
- Type: Connection (
credential) - Required: Yes
- Default:
""(empty)
event
Trigger on
- Type: One choice (
options) - Required: Yes
- Default:
checkout.session.completed - Options:
checkout.session.completed— A payment link or checkout completedpayment_intent.succeeded— A payment succeededinvoice.paid— An invoice paidinvoice.payment_failed— An invoice payment failedcharge.refunded— A refundcustomer.created— A new customer
everyMinutes
Check every (minutes)
- Type: Number (
number) - Required: No
- Default:
15 - Whole number, from 5 to 1440
Outputs
main— Taken once per new item found by a check: each item starts its own run.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.stripe.eventId }}—string. The event id (evt_…).{{ data.stripe.type }}—string. The event type (invoice.paid…).{{ data.stripe.objectId }}—string. The object concerned (invoice, payment…).{{ data.stripe.customerId }}—string. The customer concerned, when the object has one.{{ data.stripe.object }}—object. The object as Stripe returns it.
Example
To thank a customer as soon as an invoice is paid, set Trigger on to “An invoice paid” and quote {{ data.stripe.object.number }}.
Tips
- Start position. On publication the trigger starts “from now”: nothing earlier is replayed. Publishing again keeps the position already reached.
- Cadence. Between 5 and 1,440 minutes. The instance may impose a higher floor; each check uses requests from the connection’s quota.
- Thirty days. Stripe only keeps its events for thirty days.
- Testing. Testing from this trigger really queries Stripe and runs the draft on the most recent items, without ever moving the position.
- Errors. A temporary error leaves the position unchanged and the next check retries. A permanent error (revoked connection, incomplete settings) sends you a notification, once per outage.