Handeling WordPress errors with slack webhooks

So today at work I was working on form sends job applications from gravityforms to an external HR system.

We encounter these kind features a lot. User fills form with data and then the form sends data to an external API.

The problem with features is that if there is an error with the external API or site or anything else you hope that a website user reports the problem.

Until today. Thanks to a simple webhook on slack I can send error message from WordPress to slack

The setup is quite simple. You create a slack app. Create a access token and send a post request to the slack api with your message contents.

Overall I would really recommend these low tech monitoring solutions since they are powerfull and easy to implement.