How to create a Slack notification when a document is posted or updated


I would like to create a Slack integration that whenever a new article is published, it automatically announces in a designated Slack channel. How is this possible?

This should be possible either with webhooks or your website's RSS feed (assuming it has one). However, I'm not sure exactly how the integration with Slack would work.

Maybe someone in the community has done this before?