1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Event reminders via webhooks with Calendar
This guide explains how to create an event in the Infomaniak Calendar part (calendars/agendas) of Mail with an event reminder via kChat . Other chat systems like Slack can be enabled through the webhook system , a method for one app or service to send information to another app or service in real time.
This function will allow you to be notified in the thread of your choice when an event is close .
Configure webhook in Calendar
To add your chat system's webhook to Calendar:
- from a browser, go to the calendars/agendas section of Mail ( calendar.infomaniak.com )
- click on the icon
at the top right
- in the "Personalized notifications" section, click on the Add a webhook button
- define:
- (1) a name to easily identify the webhook when adding callbacks
- (2)the webhook URL (obtained from your chat system - examples are shown further down in the FAQ)
- (3) the elements (taken automatically from your event and/or added manually here) and their arrangement in the message that will be sent:
- insert %subject% to include the subject of the event
- insert %date% to include the date of the event
- insert %description% to include event description
- insert %location% to include event location
- insert %subject% to include the subject of the event
- (1) a name to easily identify the webhook when adding callbacks
- click on Validate
Create an event with chat reminder
Now that Mail is linked to your chat system account, you can choose to be notified in a chat when you add a reminder to an event:
- from a browser, go to the calendars/agendas section of Mail ( calendar.infomaniak.com )
- create a new event
- click on the bottom right to display the additional fields
- add a reminder
- in the drop-down menu choose the configured webhook
- commit changes
You will now receive an in-chat reminder for the webhook.
Examples for getting a webhook
kChat
- open the kChat app
- go to the Integrations section
- click on Incoming Webhooks :
- click at the top right on Add
- complete the information required to create the "bot" that will post follow-up messages in kChat in the channel of your choice:
- save to get webhook url:
- create the custom notification in Calendar (read above if needed):
- select your custom notification when adding a reminder on your event:
Slack
- open this Slack page and authenticate with your Slack credentials
- choose the thread where your reminders will appear (e.g. @slackbot )
- save to get webhook url
Create other webhooks to set reminders in other threads.
Customize reminders for a Slack reminder
You can freely use Slack's formatting options in your notifications. Example:
Don't forget to ` %subject% ` for the %date% .
To be taken with D-Day: %description% .
Location of the event: ` %location% `