Product Update

Webhooks for Automations

Webhooks are Live! The team here at CourseStack recently released new Webhooks functionality to all creators on the platform.

This unlocks some really powerful automations and integrations, without requiring creators to write scripts that poll an API to constantly check for certain events. We wanted to provide some more detail in this post about why we chose to release webhooks before making an API available, and how you can use them to automate tasks and help grow your business.

Why Webhooks?

We know that staying focused on our core strengths will lead to a vastly better product for technical content creators than is currently available in the market. Our goal is to enable our creators to build amazing technical and interactive content, and to help them distinguish themselves from the daunting number of other course creators out there through the quality of that content.

But, content isn't the only important part of a successful course business. You need CRMs, email automations and campaigns, communities, support, and a host of other services to run and your business effectively. All of these will rely on your student data. Enter webhooks.

"Webooks are an efficient way to create event based automations and send data about your courses and students outside of CourseStack. They allow CourseStack creators to leverage the best tools on the market for whichever task is at hand."

Integrating with 1000s of Apps through Zapier

One of the quickest, most flexible ways to integrate CourseStack with other applications is to utilize Zapier Webhooks.

Zapier Pro users can create a webhook URL that will listen for and parse events from CourseStack. This let's you instantly create automations and integrate with the thousands of out of the box applications available through Zapier. (Expect an official CourseStack Zapp soon!).

Setting up the Zapier Webhook

First, we'll need to create our Zapier Webhook listener. This will act as the trigger for our automation, and will fire any time an event is received from CourseStack. We can use the "Catch Hook" event type to listen for and parse our events.

Webhook Configuration
Configuring a webhook endpoint in CourseStack.

Once selected, we'll have a URL provided by Zapier that we can use in our CourseStack webhook configuration. Within CourseStack, we can now create our webhook for this integration in the Developers page of the app.

Automation Possibilities

This process can be easily replicated and tweaked for other automations like:

  • Adding students to a CRM. Automatically sync new student enrollments to HubSpot, Salesforce, or other CRM tools.
  • Team Notifications. Notify a Teams or Slack channel when high-value actions occur.
  • Welcome Emails. Trigger personalized email sequences when a student joins a course.
  • Badging. Issue digital badges or certifications upon course completion.

Currently Supported Events

As a starting point, the team focused on supporting events related to student actions, like enrolling in and completing courses. These have the most obvious applications (adding to CRMs, issuing badges, etc.) and we thought they would be most immediately helpful to creators.

We plan to significantly expand the breadth of supported events to include other categories of activities within your account, such as administrative actions like adding users or publishing a course.

  • course.enrollment
    Occurs whenever a student enrolls in a course.
  • course.completion
    Occurs whenever a student completes the final lesson or quiz in a course.
  • course.lesson.completion
    Occurs whenever a student completes a lesson in a course.
  • course.quiz.submission
    Occurs whenever a student submits a quiz in a course.
  • exam.enrollment
    Occurs whenever a student enrolls in an exam or is granted access from enrolling in a course.
  • exam_attempt.submission
    Occurs whenever a student submits an exam attempt.

For more details on CourseStack webhooks, including a sample event handling function, check out the documentation here:
CourseStack Webhook Documentation

Ready to build your own academy?

Start creating hands-on technical courses with CourseStack today. It's free to get started.