Work / Integration · 2020
Business-funding company
Freelance work from 2020 for a business-funding company. I wrote a two-way sync between WordPress user profiles and ActiveCampaign: an inbound webhook at a custom REST route finds the user by email and writes about 35 mapped CRM fields back to user meta, and a profile-save hook gathers the funding and contact fields to send the other way. In the surviving copy that outbound push is not finished.
- client work
- integration
- client anonymized
- archived
- Client
- Business-funding company
- Type
- Integration · WordPress ↔ CRM sync
- Role
- Freelance developer of the CRM sync.
- Built with
- PHP, WordPress, ActiveCampaign API, cURL
- Also uses
- Astra theme
- Last active
- 2020
What it does
- Outbound sync hook on user-profile save.
- Inbound ActiveCampaign webhook writing custom fields back to user meta.
- Mapping of about 35 CRM field IDs to user-meta keys.
- Contact upsert and field-value helpers.
How it is built
- Code appended to the parent theme: a profile-save hook (outbound), a custom WP REST route for ActiveCampaign webhooks (inbound), and a shared field-ID map, calling ActiveCampaign API v3 over cURL.
Decisions
- Use a single field-ID map for both sync directions.
Skills
- CRM integration (ActiveCampaign)
- WordPress REST routes and hooks