Skip to content
Workflow template

Deliver 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.

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

  1. 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.
  2. List the session's line items in Stripe and match each description to the Products tab (Product, Download Link).
  3. Email the buyer the matching links with Gmail.
  4. Append the session id, email, products and time to the Sent tab.

Apps it connects

Related templates

All templates

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.