Skip to content

Salck How to make messaging between WhatsApp and Slack#

To exchange messages between WhatsApp and Slack needed to create two Zaps.

Log in to your Zapier account and configure the Green API application.

Automation scenario#

Let's make an example of sending and receiving messages from WhatsApp to a private Slack channel and vice versa.

Creating a Zap to send message from Slack to WhatsApp#

  • Create a Zap
  • Name a Zap (Slack to GREEN API)

Slack trigger setup#

  • In the trigger, select Slack application
  • Specify the event to which you want to respond (New Message Posted to Private Channel)
  • Login to your Slack account
  • Select the channel with which the automation will be associated

If there is a message in the selected channel, you can see which fields will be available when setting up automation.

slack-trigger-settings

Configuring the GREEN API action#

  • In action select GREEN API application
  • Specify the action to be performed (Send Message)
  • Choose your configured instance
  • From the list of contacts, select the chat to which the message will be sent
  • Form the message to be sent from the trigger fields

When composing a message, you can use bold, line breaks and emojis

  • Make an action test, you will receive a prepared template in your phone

settings-actions-green-api

Creating a Zap to send message from WhatsApp to Slack#

  • Create a Zap
  • Name a Zap (GREEN API to Slack)

Green API trigger setup#

  • In the trigger, select Green API application
  • Specify the event to which you want to respond (Incoming Message Hook Trigger)
  • Choose your configured instance
  • From the list of contacts, select the chat from which the message will be receive

Make a test, if there is a message in the selected chat, you can see which fields will be available when setting up automation.

green-api-trigger-settings

Configuring the Slack action#

  • In action select Slack application
  • Specify the action to be performed (Send Channel Message)
  • Login to your Slack account
  • From the list, select the channel to which the message will be sent
  • Form the message to be sent from the trigger fields

When composing a message, you can use bold, line breaks and emojis. You can specify the name of the bot to send messages to the channel.

settings-actions-slack