[Guide] Using Slack with URL Logger

More
2 years 6 days ago - 2 years 6 days ago #23990 by prashant
URL Logger is an absolute hidden gem in entire suite of ETL-tools. It allows you to do many things , including now to connect to SLACK event. We use this slack bot to have a channel where any employee can raise a ticket or capture their own todos. 

This is a rough guide on how to put this together. 

Step 1 - Get the bot connected to your slack domain, of course you need admin rights. Create a new App in directory - Open  api.slack.com/apps?new_app=1

Step 2 - Click form Scratch , Allow bot to subscribe to events
 

Step 3 - Open URL Logger , Create ADD URL. To create a new one , Click on 1 , My existing looks likes 2
 

Step 4 - OPEN URL Page , Click on click on USE CUSTOM JSON response, enter below
try {     res.status(200).json({ challenge: body.challenge });     return -1; } catch (err) {     return 500; }
Basically Slack expects you to always return back with challenge token .
 

Step 5 - Go back to Slack Menu & enter your webhook address. NOTE - THIS MUST BE SSL , use CADDY guide given in this forum to get SSL enabled address
 

Step 6 - Let Bot subscribe to events
 

Step 7 - Send a message
 

Step 8 - Magic - URL Logger now has the messages from Slack , which you can use to raise tickets , or do whatever magic you want
 
 
Last edit: 2 years 6 days ago by prashant.
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save