Skip to main content

Manage WhatsApp chats centrally on Slack

Workflow preview

Workflow preview
100%
Manage WhatsApp chats centrally on Slack preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow enables seamless, bidirectional communication between WhatsApp and Slack using n8n. It automates the reception, processing, and forwarding of messages (text, media, and documents) bet...

Best for

  • Support Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.whatsapptrigger, n8n-nodes-base.slack, n8n-nodes-base.slacktrigger, n8n-nodes-base.switch, n8n-nodes-base.whatsapp, n8n-nodes-base.filter, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Usman Liaqat.

Original n8n.io source

1.1 Workflow description

Title
Manage WhatsApp chats centrally on Slack
Workflow name
Manage WhatsApp chats centrally on Slack

This workflow enables seamless, bidirectional communication between WhatsApp and Slack using n8n. It automates the reception, processing, and forwarding of messages (text, media, and documents) between users on WhatsApp and private Slack channels.

Key Features & Flow:

1. WhatsApp to Slack Flow

  • Trigger: The workflow starts with a WhatsApp Trigger node that listens for new incoming messages via a webhook.
  • Channel Handling: It checks if a Slack channel with the WhatsApp sender’s number exists
  • If not, it creates a private Slack channel with the sender's number as the name.
  • Message Type Routing: A Switch Node (Message Type) inspects the message type (text, image, audio, document).
  • Based on type: Text: Sends the message directly to Slack.
  • Image/Audio/Document: Retrieves media URL via WhatsApp API → downloads the media → uploads it to the appropriate Slack channel.

2. Slack to WhatsApp Flow

  • Trigger: A Slack Trigger listens for new messages or file uploads in Slack.
  • Message Type Routing: A second Switch Node (Checking Message Type) checks if the message is text or media.
  • Routing Logic: Text Message: Extracts and forwards it to the WhatsApp contact (identified by the Slack channel name).
  • Media/File Message: Retrieves media file URL from Slack → downloads it → sends it as a document via WhatsApp API.

Key Integrations:

  • WhatsApp Cloud API: For receiving messages, downloading media, and sending messages.
  • Slack API: For creating/getting channels, posting messages, and uploading files.
  • HTTP Request Node: Used to securely download media from Slack and WhatsApp servers with proper authentication.

Automation Use Case: This workflow is ideal for businesses that handle customer support or conversations over WhatsApp and wish to log, respond, and collaborate using Slack as their internal communication tool.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - WhatsApp Trigger

Type / Role
n8n-nodes-base.whatsAppTrigger - whatsAppTrigger
Config choices
Version 1

Block 2 - Send Message in Channel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 3 - Slack Trigger

Type / Role
n8n-nodes-base.slackTrigger - slackTrigger
Config choices
Version 1

Block 4 - Message Type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 5 - get audio URL

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 6 - get document URL

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 7 - get image URL

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 8 - Create Channel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 9 - get All Channels

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 10 - Filter Channel by Name

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 11 - upload media

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 12 - download media

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Get Channel by ID

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 14 - Checking Message Type

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 15 - Send Message

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 16 - Get Media URL

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 17 - Download Media

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Send Message1

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 19 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Manage WhatsApp chats centrally on Slack
Complexity advanced
Nodes 20
Categories Support Chatbot
Author Usman Liaqat
Published 14 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4037/4037.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Manage WhatsApp chats centrally on Slack do?

This workflow enables seamless, bidirectional communication between WhatsApp and Slack using n8n. It automates the reception, processing, and forwarding of messages (text, media, and documents) bet...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot use case.