I’m new to Discourse: it looks fantastic. I want to create a forum for an online course I’m running on Teachable. Can I do something clever with the webhook to automatically register my students for the forum, or something like that?
PS I’ve created webhooks before, with Zapier, but overall I am a real beginner with them. I read the page about webhooks and creating a bot in git, but I didn’t really understand how to relate it to Teachable.
If you want to have users from Teachable in Discourse, you’re best off just implementing single sign-on (SSO), which Discourse is very strong on. There are a variety of protocols for it, you’d need to dig into Teachable to see what it’s capable of.
No - we could develop one as a bespoke project.
It would be a bit limited though since Thinkific lacks webhooks for some events, like customer cancellation.
If you’re interested, please send me a PM.
We have now added support for the New Enrollment event, which can be set up in the same way as described on our site.
The New Enrollment event does need some additional configuration on Discourse side:
You’ll need to create a category with the same name as your course;
don’t forget to edit the welcome topic for the category!
then you’ll need to create a group with the same (full) name as your course
go to the category security permissions and add that group with create/reply/see permissions (and you will probably want to remove the permissions for the ‘everyone’ group).
When a user enrolls in your course, they will be added to the group (which will grant them access to the category), and invited to the welcome topic of the category.
You can use the New Enrollment webhook next to the New User webhook, but you can also choose to use the New Enrollment webhook only.
I’ll talk to the team and consider it. For clarification does this plugin just sign up and invite users or will it keep them signed in when the forum is embedded.