WordPress to HubSpot: a custom integration for a fundraising company
- WordPress
- HubSpot
The client
A company that supplies travel packages for nonprofit fundraising auctions. Nonprofits register, reserve packages and report their winners through its WordPress site.
The problem
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.
What we built
We wrote a custom WordPress plugin that sends each step to HubSpot through its API.
- Registration creates the company and its contacts, each linked with the right role (billing, marketing, winner notification), without creating duplicates.
- A reservation creates the deal and a quote, with a line item and quantity for every reserved package.
- 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.
- Product details such as SKU and vendor carry through to quotes and tickets.
- Calls that fail are queued and retried, so a brief outage does not lose a record.
- Each piece was built and tested on a staging copy of the site, and the Salesforce connection was retired one step at a time.