Azure Logic App that shows how you can build a spam bot filter using Azure Cognitive Services Content Moderator and a Logic Apps Custom Connector
You can see how the custom connector is built by taking a look at the associated GitHub repository that contains the read-only Meetup API Connector I built.

