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
Create an API key and a webhook subscribed to
donation.completed. Save the signing secret.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
externalSourceis set, storeexternalOrderIdon a property or note.Verify signatures (see Outbound webhooks).
Optionally use
POST /api/v1/supportersorPATCH /api/v1/supporters/{id}(write scope) to keep audiences aligned.GET /api/v1/donationssupports pagination and date filters for backfills.