Client Integrations

LearnWorlds / Ontraport Integration

Custom webhook integration that let the client move their course system off WordPress onto LearnWorlds while keeping Ontraport as their CRM.

Workflow / system map — 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.

Context

What needed to be made clearer

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 useful version came from a few deliberate parts

The work was scoped around what needed to move, connect or become easier to understand.

  • Secure webhook middleware
  • Custom Vercel-hosted service
  • Subscription-to-course mapping
  • Signed webhook verification
  • Subscription and package mapping
  • Enrolment automation
  • Content access control

Production flow

One subscription event becomes synced course access

The work is easier to scan as a chain of signed handoffs rather than one large integration block.

01

Subscription event

A purchase, upgrade, downgrade or cancellation in Ontraport starts the flow — the client keeps Ontraport as their CRM.

02

Signed webhook call

Ontraport sends a securely signed webhook call to the custom middleware hosted on Vercel.

03

Signature verification

The middleware verifies the signature on the payload before trusting or acting on it.

04

Subscription mapping

The subscription and package are mapped against the client's multiple subscription types and package courses.

05

Enrolment update

The middleware calls the LearnWorlds API to enrol or unenrol the learner in the mapped courses.

06

Access updates live

Course content is shown or hidden immediately based on the learner's updated subscription status.

Key features

What it does

01

Securely signed webhook calls between platforms

02

Multiple subscription types mapped to multiple package courses

03

Automatic enrolment and unenrolment on subscription change

04

Course content shown or hidden based on subscription status

05

Ontraport kept as the CRM while course delivery moved to LearnWorlds

Stack / tools involved

The pieces behind it

The important part is not the tool list. It is what each piece is responsible for in the workflow.

  1. 01

    Trigger and security

    Ontraport fires a securely signed webhook on every subscription change, verified by the custom middleware before any action is trusted.

  2. 02

    Mapping and rules

    Subscription and package data is mapped to the right LearnWorlds courses, since the client runs multiple subscription types across multiple package courses.

  3. 03

    Enrolment and access

    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

Where this pattern fits

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

  • Secure cross-platform automation
  • Subscription-driven access control

If this looks close to your own workflow, bring the messy version and we will map the first useful build.

Book a Call

Talk through a similar project

Book a time to talk through what you're trying to build.