Skip to main content

Thinkific

Thinkific is a platform for online courses. Its webhooks report a completed order, an enrolment in a course and a completed course. Pointed at the Flows address, they start your flows — a welcome, a nudge to continue, a thank-you. Thinkific sends no phone number, so SMS and Viber reach only students whose phones AlphaFlow already knows: read "What you need" first.

Written from Thinkific documentation

This page is written from the public documentation of Thinkific and has not been checked on a live account yet. The documentation pages were only partly readable for us, so the plan and some fields of the request are marked below where they are not confirmed.

What you need​

  • A Thinkific plan with webhooks. Which plans have them is not confirmed by the documentation.
  • Access to the admin of the school.
  • Your students already known to AlphaFlow with their phones — for example, from your CRM, a form or an import. Thinkific sends the email and the Thinkific id of the user, but no phone. An event about a new student creates a contact with the email only, and SMS and Viber cannot reach it.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose Thinkific.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Set up the webhooks in Thinkific​

  1. In the admin open Settings → the Code & analytics tab → Webhooks and press New Webhook.
  2. Topic — Order created (order.created). Target URL — the address from the cabinet. Save.
  3. Create a second webhook with the topic Enrollment created (enrollment.created) and the same address.
  4. For course completion create a third one with the topic enrollment.completed; its name in the list is not confirmed by the documentation.

The same webhooks can also be created through the Thinkific API (POST https://api.thinkific.com/api/v2/webhooks with topic and target_url), but that needs an API key and a developer.

Step 3. Send a test​

In the list of webhooks open the … menu of a webhook and send a test event. It comes with placeholder data marked [TEST]. The request appears in Flows → Connections → Event journal within seconds; its contact is the placeholder user, not a real student. The connection shows Recognised: Thinkific.

Events​

Thinkific topicAlphaFlow eventProperties
order.created — an order is completedpayment_succeededproduct, amount
enrollment.created — a full enrolment in a coursecourse_enrolledcourse, course_id, enrollment_id
enrollment.completed — a course is completedcourse_completedcourse, course_id, enrollment_id
user.signup — a sign-up to the schoollead_submitted—
lead.createdlead_submitted—
  • The contact is found by the email and the Thinkific id of the user; the first name comes from the user too.
  • Not confirmed by the documentation: the properties of an order and where an order keeps the email of the buyer, and the topics user.signup and lead.created.
  • Course progress (enrollment.progress) is not mapped.

Good to know​

  • How Thinkific repeats a failed request is not described in the documentation we could read. Every request has its own id, which becomes message_id, so a repeat is not recorded twice.
  • Thinkific signs requests with the X-Thinkific-Hmac-Sha256 header. Checking it is optional — the secret in the address is enough — and which key signs is not confirmed by the documentation.
  • SMS and Viber need a phone that Thinkific does not send. A contact created from a Thinkific event has only the email until its phone comes from another system. An event with neither an email nor an id AlphaFlow already knows is refused with no_contact and shown in the journal.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the webhook in Thinkific stays on.

Thinkific documentation​