Skip to main content

HubSpot

Send donation events to HubSpot contacts and deals.

A
Written by Antonio Ryckman

Forward donation.completed webhooks into HubSpot (custom app, Operations Hub, or Zapier), or sync contacts with the Supporters API. Gifts may come from Sharity checkout or external orders — check externalSource on the donation.

Prerequisites

  • A paid Sharity plan

  • HubSpot private app, workflow, or Zapier HubSpot connection

  • Sharity API key (read) and/or webhook endpoint

Steps

  1. Create an API key and a webhook subscribed to donation.completed. Save the signing secret.

  2. On each event, upsert a HubSpot contact by donor email and log amount / campaign on a deal or custom object. Dedupe on the webhook event id. When externalSource is set, store externalOrderId on a property or note.

  3. Verify signatures (see Outbound webhooks).

  4. Optionally use POST /api/v1/supporters or PATCH /api/v1/supporters/{id} (write scope) to keep audiences aligned. GET /api/v1/donations supports pagination and date filters for backfills.

Did this answer your question?