Workflow templateDeliver digital products after a Stripe checkout
Emails each buyer the download links for what they bought as soon as a Stripe checkout is paid, from a sheet that maps product names to links. After publishing, you add a Stripe webhook endpoint and paste its signing secret into Whenever.
Workflow illustration
01Trigger
TriggerEach checkout.session.completed or checkout.session.async_payment_succeeded event Stripe posts to the signed Stripe webhook.
02Go
Google SheetsStop unless it is paid, or if its session id is on the Sent tab of the Google Sheets spreadsheet id you choose in setup.
03St
StripeList the session's line items in Stripe and match each description to the Products tab (Product, Download Link).
04Gm
GmailEmail the buyer the matching links with Gmail.
05
Custom stepAppend the session id, email, products and time to the Sent tab.
06
OutputFinish
How it runs
This is the brief Whenever builds from. Change any of it in plain words before you publish.
When
Each checkout.session.completed or checkout.session.async_payment_succeeded event Stripe posts to the signed Stripe webhook.
Then
- Stop unless it is paid, or if its session id is on the Sent tab of the Google Sheets spreadsheet id you choose in setup.
- List the session's line items in Stripe and match each description to the Products tab (Product, Download Link).
- Email the buyer the matching links with Gmail.
- Append the session id, email, products and time to the Sent tab.
Agents should build your automations, not be them
Describe your first workflow in plain words. AI building is free within weekly usage limits; you pay when it runs.