{% include './widget/menu.html' with {current: 'notification'} %}
{% set smessage = req.flash('successMessage') %}
{% if smessage.length %}
{% for e in smessage %}
{{ e }}
{% endfor %}
{% endif %}
{% set emessage = req.flash('errorMessage') %}
{% if emessage.length %}
{% endfor %}
{% for e in emessage %}
{{ e }}
{% endfor %}
{% endif %}
{% endfor %}
How to configure Incoming Webhooks?
-
(At Workspace) Add a hook
- Go to Incoming Webhooks Configuration page.
- Choose the default channel to post.
- Add.
-
(At GROWI admin page) Set Webhook URL
- Input "Webhook URL" and submit on this page.
How to configure Slack App?
-
Register Slack App
-
Create App from this link, and fill the form out as below:
- App Name
growi- Development Slack Workspace
- Select the workspace you want to notify to.
- Save it.
-
Create App from this link, and fill the form out as below:
-
Set Permission Scopes to the App
- Go to "OAuth & Permissions" page.
- Add "Send messages as GROWI"(
chat:write:bot). - Don't forget to save.
-
Create a bot user
- Go to "Bot Users" page and add.
-
Install the app
- Go to "Install App to Your Workspace" page and install.
- Go to "OAuth & Permissions" page and copy
OAuth Access Token.
-
(At this page) Set OAuth Access Token
- Input "OAuth Access Token".
- Don't forget to save.
Default Notification Settings for Patterns
| Pattern | Channel | Operation | {% for notif in settings %}
|---|---|---|
| {{ notif.pathPattern }} | {{ notif.channel }} |
not implemented now