Slack and TeeDee-Slack Webhook Integration
Learn more about Slack and TeeDee - Slack Webhook Integration
We all know slack as a tool for team messaging, video conference and file share.
But few know that it provides webhook integrations and use it to integrate their internal CRMs and ERPs for ease in getting notifications and analytics.
Let's dive deep into how to create a slack webhook integration for messaging.
Sending messages using
Incoming Webhooks are a simple way to post messages from apps into Slack. Creating an Incoming Webhook gives you a unique URL to which you send a JSON payload with the message text and some options. You can use all the usual formatting and layout blocks with Incoming Webhooks to make the messages stand out.
Getting started with Incoming Webhooks
We're going to walk through a really quick process (if you've already done some of these things it'll be even easier) that will have you posting messages using Incoming Webhooks in a few minutes:
1. Create a Slack app (if you don't have one already)
Go to Slack API page
Pick a name, choose a workspace to associate your app with (bearing in mind that you'll probably be posting lots of test messages, so you might want to create a channel for sandbox use), and then click Create App. If you've already created one, you can use it too.
2. Enable Incoming Webhooks
After creating, you'll be redirected to the settings page for your new app (if you are using an existing app, just load its settings via your app's management dashboard).
From here select the Incoming Webhooks feature, and click the Activate Incoming Webhooks toggle to switch it on.
3. Create an Incoming Webhook
Now that Incoming Webhooks are enabled, the settings page should refresh and some extra options will appear. One of those options will be a really helpful button marked Add New Webhook to Workspace, and you should click it.
What this button does is trigger a shortcut version of the installation flow for Slack apps, one that is completely self-contained so that you don't have to actually build any code to generate an Incoming Webhook URL.
Go ahead and pick a channel that the app will post to, and then click to Authorize your app.
You'll be sent back to your app settings, and you should now see a new entry under the Webhook URLs for Your Workspace section, with a Webhook URL that'll look something like this:
That URL is your shiny new Incoming Webhook, one that's specific to a single user, and a single channel. We've kind of run out of cookies, but nice work anyway!
Let's see how you can actually use that webhook to post a message.
Keep it secret, keep it safe. Your webhook URL contains a secret. Don't share it online, including via public version control repositories. Slack actively searches out and revokes leaked secrets.
4. Add TeeDee Slack Integration for chats notification
Sign in to your TeeDee Account and go to Integrations -> click on New Integration
Select Slack as Integration Type, enter an Integration Name, copy and paste the Slack Webhook URL generated in the step 3.
Click on Submit button.
In this way, Slack Webhook Integration is generated and ready to use to get all the chat updates and notifications on your desired Slack channels.
TeeDee helps build affordable AI-enabled chatbots so that small businesses and start-ups can leverage the power of AI. TeeDee offers a holistic customer journey using a chatbot in your website to help Sales, Marketing, and Customer Care teams.
Our services include Feedbacks, Lead Generation, Support, FAQs, Surveys, Appointment Booking, Live Chat, custom make, and various integrations and plugins like Email, Slack, Webhooks, WordPress, Drupal, Shopify, Wix, Whatsapp, etc.
Reasons, why you should choose TeeDee, one of the best chatbots out there
Dec. 25, 2020
Learn about top ML trends in 2021 to look out for!
Jul. 24, 2021