Skip to content
Workflow template

Record Stripe payments on HubSpot contacts

Writes each successful Stripe charge onto the matching HubSpot contact, creating the contact if needed, and adds a note so no charge is recorded twice. 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 charge.succeeded event Stripe posts to the signed Stripe webhook.

Then

  1. Take the billing email, or the Stripe customer's email; stop if there is none.
  2. Find the HubSpot contact by it, creating one with that email and name if missing, and skip if it already has a note naming this charge id.
  3. Write the amount in major units (e.g. 25.00) and the date into the two HubSpot contact property names you choose in setup.
  4. Add a note: Stripe charge, its id, amount, currency and date.

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.