01
Subscription event
A purchase, upgrade, downgrade or cancellation in Ontraport starts the flow — the client keeps Ontraport as their CRM.
Client Integrations
Custom webhook integration that let the client move their course system off WordPress onto LearnWorlds while keeping Ontraport as their CRM.
Context
The client wanted their course delivery separated from the website and moved to LearnWorlds, without giving up Ontraport as their CRM. A custom, Vercel-hosted service verifies securely signed webhook calls from Ontraport and drives enrolment and content access on LearnWorlds for multiple subscription types across multiple package courses.
What was built
The work was scoped around what needed to move, connect or become easier to understand.
Production flow
The work is easier to scan as a chain of signed handoffs rather than one large integration block.
01
A purchase, upgrade, downgrade or cancellation in Ontraport starts the flow — the client keeps Ontraport as their CRM.
02
Ontraport sends a securely signed webhook call to the custom middleware hosted on Vercel.
03
The middleware verifies the signature on the payload before trusting or acting on it.
04
The subscription and package are mapped against the client's multiple subscription types and package courses.
05
The middleware calls the LearnWorlds API to enrol or unenrol the learner in the mapped courses.
06
Course content is shown or hidden immediately based on the learner's updated subscription status.
Key features
01
02
03
04
05
Stack / tools involved
The important part is not the tool list. It is what each piece is responsible for in the workflow.
01
Ontraport fires a securely signed webhook on every subscription change, verified by the custom middleware before any action is trusted.
02
Subscription and package data is mapped to the right LearnWorlds courses, since the client runs multiple subscription types across multiple package courses.
03
The middleware calls the LearnWorlds API to enrol or unenrol the learner, so course access updates immediately without moving the CRM off Ontraport.
Useful for
Businesses that want to keep their existing CRM while moving course or content delivery to a dedicated platform, with access driven by subscription status.
Primary capability
Book a time to talk through what you're trying to build.