Slack’s Documentation is great you can read about various methods that Slack provide. There is something called Block Kit Builder. When you are sending messages to Slack, you don’t want to send plain text messages. Here's how to do it: Step 1:Click the 'Publish' button at the bottom of your screen and select 'Embed On Webpage.' Step 2:Select a Website Building platform that meets your business requirements. Check the channel which you mentioned and you will see the message you sent. To integrate slack into your website, you must first obtain an embed code from Taggbox Widget Editor. You have successfully sent a message to Slack. Create server.js inside slack-integration and add following to it const express = require('express') const app = express() const axios = require('axios') const ) Īnd that’s it. And add index.html to it mkdir public touch. ![]() Add a public folder inside slack-integration to serve static files on the server. Add dependencies: // For creating server npm install express // Slack web API module npm install // For sending api calls npm install axiosģ. In terminal mkdir slack-integration cd slack-integration npm init -yĢ. However, you can also install third-party Slack apps from external websites if you want to.
0 Comments
Leave a Reply. |