How to integrate Algolia Search Analytics with Slack using Postman Client
Easy to follow step-by-step tutorial with lots of pictures
This is a step by step tutorial on how you can get your most searched terms into a Slack channel by using Postman.
This tutorial assumes you already have Algolia implemented and have data to send to Slack. If you would like to get started with that first, here is a tutorial on how I implemented Algolia in our Gatsby App.
Here is what we are going to do:
- Set up a Slack App
- Get the Algolia API Keys
- Create a GET request in Postman to store our Algolia Search Results in a global variable
- Post the global variable data from Postman to Slack
- Setup a Monitor in Postman to update Slack with Algolia Search Terms every week
Let’s get started 🦄
Setting up a Slack APP in your Slack App
Slack has some pretty slick docs on how to get started on creating an APP in Slack. I am going to walk you through the process with images. We first have to create a new Slack App here and attach the newly created APP to a workspace.
Once this is done, you can select ‘Incoming Webhooks’ settings on the next screen
You can then add a New Webhook to Workspace, which will open up a new screen and you can select the Slack Channel that you want to send your Algolia search results too.
You should now see a new Slack Channel in your overview and your sample request will show the URL to post to a channel. We will need this URL for our POST Request in Postman later.