MessageHub: WhatsApp Inbox Configuration

WhatsApp is one of the most widely used messaging platforms, making it an essential channel for businesses to communicate with their customers. By integrating WhatsApp with MessageHub, you can manage all customer messages in one place. In this article, you will learn how to set up your WhatsApp inbox using either the WhatsApp Cloud or Twilio, along with the requirements for each method.


Requirements

  • An active ClickFunnels account

  • The MessageHub App

  • A verified phone number to connect with WhatsApp.

    Note

    Additional tools or credentials may be required depending on the connection method you choose: WhatsApp Cloud or Twilio. These will be explained in detail in their respective sections.


Understanding WhatsApp Integration Options

To integrate WhatsApp inbox with MessageHub, you can choose from two methods: WhatsApp Cloud or Twilio. Each method has specific requirements and is designed to cater to different business needs. Below, we’ll break down the prerequisites for both methods to help you decide which one suits your setup.

WhatsApp Cloud

The Cloud API is Meta's official solution for WhatsApp integration, offering direct access to the platform without the need for third-party providers. It’s ideal for businesses seeking a robust, scalable solution with complete control.

Prerequisites:

To use WhatsApp Cloud, follow these steps to prepare your account and gather the required information:

  • Set Up Your Facebook Developer App

    1. Create a Facebook Developer App with the WhatsApp Product enabled. For additional guidance, refer to the Facebook Developer documentation.

    2. Once you finish this step, navigate to the Getting Started section under WhatsApp in your developer dashboard.

    3. Add your phone number(s) and configure the required settings.

    4. Take note of the following values that will be required later:

      1. Phone Number ID

      2. WhatsApp Business Account ID

  • Create a System User in Facebook Business Manager

    1. Open your Business Manager and create a new system user.

    2. Go to the WhatsApp Accounts tab under Accounts in the left-hand menu. Select the WhatsApp Business account you want to connect, then click Add People. Choose the system user you just created and grant the following permissions:

      1. whatsapp_business_management

      2. whatsapp_business_messaging

    3. Return to the System Users tab and select the newly created system user. Under Assigned Assets, click Add Assets, then assign the WhatsApp Business account to this user.

    4. Generate the access token and select the required permissions.

    5. Copy the generated access token. This will be used later when configuring the WhatsApp inbox in MessageHub.

Twilio

Twilio offers a robust solution for integrating WhatsApp with MessageHub. To connect a WhatsApp inbox using Twilio, follow the prerequisites and configuration steps below.

Prerequisites

To proceed with the integration:

  1. Log in to your Twilio Console and go to Programmable SMS → WhatsApp → Senders.

  2. Click on your WhatsApp-enabled phone number to access its settings.

  3. In the When a message comes in field, enter the following callback URL:
    https://app.messagehub.com/twilio/callback

  4. From the dropdown next to it, select HTTP Post as the method.

  5. Save your changes to complete the configuration.

Twilio Studio

If you use Twilio Studio for managing custom conversation flows, additional steps are required to enable agent handoff to MessageHub:

  1. Identify the step in your Twilio Studio flow where the agent handoff should occur.

  2. Add a Make HTTP Request widget. The HTTP Request widget will forward message data to MessageHub, enabling agents to handle conversations directly within the platform.

  3. Configure the widget with the following:

    • Request Method: POST

    • Request URL: https://app.messagehub.com/twilio/callback

    • Content Type: Application/JSON

    • Request Body: {{trigger.message | to_json }}

  4. Save your flow to apply the changes.


Adding a WhatsApp Inbox in MessageHub

Follow these steps to add a WhatsApp inbox in MessageHub. Once the basic setup is complete, proceed with the configuration specific to your chosen integration method: WhatsApp Cloud or Twilio.

  1. Open the MessageHub app from the left-side menu in your ClickFunnels Workspace.

  2. Navigate to Settings ⚙ > Chat Inboxes and click the Add Inbox button in the top-right corner.

  3. From the list of available inbox types, select WhatsApp.

  4. Choose an API provider from the dropdown menu: WhatsApp Cloud or Twilio.

Depending on the API provider you select, additional fields and configuration steps will appear. Refer to the appropriate section below to continue:

Setting Up WhatsApp Inbox with WhatsApp Cloud

If you’ve selected WhatsApp Cloud as your provider, follow these steps to complete the setup:

  1. Fill in the Inbox Details:

    • Name: Enter a name for your inbox (e.g., Your Business Name).

    • Phone Number: Use the phone number you configured in the Facebook Developer App.

    • Phone Number ID: Enter the Phone Number ID retrieved from the Facebook Developer App prerequisites.

    • Business Account ID: Provide the Business Account ID retrieved earlier.

    • API Key: Enter the access token for your Business Account User.

    • Webhook Verify Token: Create a secure alphanumeric token of your choice. This token will be used to verify the webhook during the setup process.

  2. Complete the Setup and Copy the Callback URL:
    Once you’ve entered all the required details, click Create WhatsApp Channel. This will generate a Callback URL specific to your setup. Copy this URL for the next steps.

  3. Configure the Webhook in the Facebook Developer App:

    • Open your Facebook Developer App.

    • Navigate to the WhatsApp section and open the Configuration subsection.

    • Paste the Callback URL you copied into the Callback URL field.

    • Enter the Webhook Verify Token you set up during the inbox creation in MessageHub.

    • Select message field events under Webhooks Fields.

Setting Up WhatsApp Inbox with Twilio

If you’ve selected Twilio as your provider, follow these steps to complete the setup:

  1. Fill in the Inbox Details:

    • Inbox Name: Enter a name for the inbox (e.g., “Customer Support”).

    • Phone Number: Input the phone number you’ve verified in Twilio.

    • Account SID: Copy the Account SID from your Twilio Console.

    • Auth Token: Copy the Auth Token from your Twilio Console.

  2. Click the Create Twilio Channel button.

Final Step: Adding Agents

After completing the setup, you’ll be automatically directed to the Agents tab:

  1. Use the dropdown menu to select the agents you want to assign to this inbox.

  2. Click Add Agents to confirm.

Your WhatsApp inbox is now ready! You can manage customer interactions, assign conversations, and ensure a smooth support experience directly within MessageHub.


Configuring the WhatsApp Inbox

After adding your WhatsApp Inbox in MessageHub, you can configure its settings to manage communication efficiently and align with your team’s workflow. Follow these steps to access and customize the settings:

  1. In MessageHub, go to Settings > Chat Inboxes.

  2. Click the Settings ⚙️ icon next to your WhatsApp Inbox.

  3. In the inbox settings, use the tabs at the top of the page to configure different aspects of the inbox:

Settings

Customize the basic information and functionality of your WhatsApp Inbox:

  • Channel Avatar: Upload an image or logo to represent your inbox. This avatar will appear in conversations, adding a professional and branded look.

  • Inbox Name: Enter or update the name for the inbox to help you identify it within MessageHub.

  • Enable Channel Greeting: Use the dropdown menu to enable or disable automatic greeting messages that are sent to customers when a new conversation begins.

  • Enable CSAT: Toggle this option to enable or disable Customer Satisfaction (CSAT) surveys after conversations are marked as resolved.

Click Update to save any changes you make in this tab.


Collaborators

The Collaborators tab allows you to manage agents and configure conversation assignment for this inbox.

  • Use the dropdown menu to add agents who will have access to the inbox. Once an agent is added, their name will appear in the list.

  • To remove an agent, click the "x" icon next to their name and select Update to save your changes.

  • Toggle Enable Auto Assignment to allow conversations to be automatically assigned to the added agents.

  • Set an Auto Assignment Limit to define the maximum number of conversations that can be assigned to an agent at one time.

Click Update after making any changes to apply the settings.


Business Hours

The Business Hours tab allows you to set the team availability of your WhatsApp inbox.

  • Enable or disable business availability for the inbox by checking the Enable business availability for this inbox box.

  • Add an Unavailable Message for Visitors to display outside of business hours. Use the text editor to customize the message as needed.

  • Select the appropriate Timezone for your business from the dropdown menu.

  • Configure Weekly Hours by checking the days you are available and setting the specific hours. For all-day availability, check the All-Day box next to the relevant day.

  • Leave any unavailable days unchecked to mark them as Unavailable.

Click Update business hours settings after making any changes.


Supported Media Types

Your WhatsApp inbox in MessageHub supports a variety of media types to ensure smooth communication between agents and end-users. Below is a breakdown of the supported file types:

Audio

  • Supported extensions: aac, mp4, mpeg, amr, ogg

  • Supported for: Both end-users and agents in MessageHub.

Documents

  • Supported extensions:

    • text/plain

    • application/pdf

    • application/vnd.ms-powerpoint

    • application/msword

    • application/vnd.ms-excel

    • application/vnd.openxmlformats-officedocument (Word, Excel, and PowerPoint formats)

  • Supported for: Both end-users and agents in MessageHub.

Images

  • Supported extensions: jpeg, png

  • Supported for: Both end-users and agents in MessageHub.

Videos

  • Supported extensions: mp4, 3gp

  • Supported for:

    • mp4: Both end-users and agents in MessageHub

    • 3gp: Only end-users

Stickers

  • Supported extensions: image/webp

  • Supported for: Only end-users


FAQ

How to configure multiple numbers under a single Facebook App?

If you're managing multiple WhatsApp numbers under a single Facebook App, note that Facebook only supports one webhook endpoint per app. To configure multiple inboxes in MessageHub:

  • Create inboxes in MessageHub for each number.

  • Use the webhook URL provided in MessageHub for just one inbox and replicate this configuration across all other inboxes.

What types of WhatsApp templates are supported?

MessageHub supports only text-based WhatsApp templates. Media headers and custom components (e.g., buttons or forms) are currently not supported and will not appear in the template selector.