Usage¶
Content rules action to post a message on Slack.
New content rule¶
Go to the Site Setup, then click on Content Rules.
Click on Add content rule and a form to create a new content rule will be displayed.
We are going to create a content rule to report every time an user logs in to a Plone portal.
After saving the form, it will be possible to configure the conditions and actions of this content rule.
For this example we will only add an action to Post a message to Slack, select this option and click Add
This will bring a form to configure the content rule action.
Here is a breakdown of how fields setting in this form will affect the message on Slack.
It is possible to use variables on some fields, as displayed here.
Saving the action form, will bring us back to the content rule configuration.
Now, apply this rule to the whole site.
The next user login will sent a message on the Slack channel.