Slack
Slack plugin card allows you to send a message to a Slack channel or a user. Slack is a platform that provides team collaboration and communication tools. You can configure the channel or user name, the message, and the attachments. You can use a Slack card to send updates, reports, or feedback to your team and provide a collaborative work experience.
Using Slack Card
To use the ‘slack notification’ plugin card in creating a journey or flow in WhatsApp Business API, you need to follow these steps:
Incoming webhook: You need to enter one or more webhook URLs that you have created in Slack. A webhook URL is a unique link that allows you to send messages from an app to a Slack channel.
To create a webhook URL in Slack, you can follow these steps:
Go to Slack Apps and log in to your Slack workspace.
insert
Click on Create an App and choose a name and a workspace for your app.
insert
Click on Incoming Webhooks from the Features menu and toggle the switch to activate them.
insert
Click on Add New Webhook to Workspace and select a channel where you want to receive the messages.
insert
Authorize your app and copy the webhook URL that looks like below image.
insert
Repeat the process for each channel you want to send messages to and paste the webhook URLs in the plugin card.
insert
Send messages: You need to enter the message or notification you want to send to the Slack channels. You can use variables to customize your message, such as {{name}}, {{phone_number}}, {{message}}, etc. You can also use emojis, links, and media attachments to make your message more engaging. For example, you can enter:
Eg: “Hello {{name}}, you have received a new WhatsApp message from {{phone_number}}: {{message}}. To reply, please use the WhatsApp Business API.”
Last updated