Custom HubSpot integration for WordPressWordPress to HubSpot: a custom integration for a fundraising company

The company was moving its CRM from Salesforce to HubSpot. HubSpot's standard WordPress plugin could not model the relationships the business runs on: organizations with several contact roles, events with reserved packages, quotes, invoices and trip winners.

Talk about a similar project
Client
A company that supplies travel packages for nonprofit fundraising auctions. Nonprofits register, reserve packages and report their winners through its WordPress site.
Status
Live
Built with
WordPress (PHP), HubSpot CRM API, webhooks
Platforms
  • WordPress
  • HubSpot
What we built

How it works,
step by step.

We wrote a custom WordPress plugin that sends each step to HubSpot through its API.

  1. Registration creates the company and its contacts, each linked with the right role (billing, marketing, winner notification), without creating duplicates.

  2. A reservation creates the deal and a quote, with a line item and quantity for every reserved package.

  3. Final numbers update the deal, set the quantities actually sold for invoicing, and add the trip winners, filling gaps in existing contacts without overwriting their history.

  4. Product details such as SKU and vendor carry through to quotes and tickets.

  5. Calls that fail are queued and retried, so a brief outage does not lose a record.

  6. Each piece was built and tested on a staging copy of the site, and the Salesforce connection was retired one step at a time.

The thinking behind it

The standard plugin treats a form as a contact. This business runs on relationships between organizations, people, events and packages, so the integration had to create those records and link them in the right order.

Where it stands

Live and in use.

The client is not named. No performance figures are published for this project.

Go deeper

We wrote up the planning questions behind this kind of project as a field guide.

Read our HubSpot implementation checklist ↗
Start here

Have a similar problem?

Tell us which systems are involved and where they disagree. Book a free 30-minute call.

Book a free 30-minute callWe reply within one business day. No pitch deck required.