A Flarum extension that allows you to integrate Flarum with external services via webhooks. Automatically notify Discord, Slack, and Microsoft Teams when events happen on your forum.
Install manually with composer:
composer require fof/webhookscomposer update fof/webhooks- Navigate to the extension settings via the side menu item "Webhooks".
- Select the service you are connecting to (e.g., Discord, Slack, Microsoft Teams).
- Paste the Webhook URL provided by that service.
- Click the + button to create a new webhook.
- Choose the events you want to trigger this webhook (e.g., Discussion Started, Post Created, User Registered).
- Go to a Discord channel settings.
- Select Integrations -> Webhooks.
- Click New Webhook.
- Customize the name (can be overridden by extension settings).
- Copy the generated Webhook URL.
Refer to the official Slack documentation for more info: https://docs.slack.dev/messaging/sending-messages-using-incoming-webhooks/
- Create a Slack app (if you don't have one) here: https://api.slack.com/apps
- Activate Incoming Webhooks for your app in its settings page.
- Click Add New Webhook to Workspace.
- Select the channel to post to and authorize.
- Copy the generated Webhook URL.
Refer to official Microsoft Teams documentation for more info: https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498. Note that the old method (Microsoft/Office 365 Connectors) still work as of January 2026, but are deprecated.
- Navigate to the channel where you want to add the webhook.
- Click the
...(More options) next to the channel name. - Select Connectors.
- Search for Incoming Webhook and click Configure.
- Give it a name and click Create.
- Copy the URL displayed at the bottom of the window.
An extension by FriendsOfFlarum.