Webhooks

7.2 Zapier

In this example we will use Zapier automate system previously known as flow in order to integrate with slack and let our slack team members know that there is a new article to be viewed in staff circle


7.2.1 Creating A New Zap

From Zapiers home screen select 'Create Zap' then select 'Webhooks by Zapier' and 'Catch Hook'.

7.2.2 Registering the Webhook

Zapier will give you a new webhook URL. Copy this URL and create a new webhook that subscribes to Article Create events, as described in section 2.0.

7.2.3 Grabbing the Data

Create a brand new article.

Click the next button in the Zapier flow and grab the request data you should see something similar to the following, showing an example from the article you just created.

7.2.4 Integrating With Slack

Add an action and select the 'Slack' app with an action of 'Send Channel Message'.

Login to slack if prompted then select the channel and the format of the message you want to send to slack. Ensure to include the 'Subject Front End Url' to link back to the article.

Click the button to run the slack test and you should see your new integration running right in your slack channel!