How to set up a Twilio WhatsApp inbox in Front
đź‘‹ New to Front? Sign up for a free trial to start managing WhatsApp as a team
Overview
Millions of businesses use WhatsApp to communicate with their customers, and Front’s WhatsApp integration allows you to easily manage those conversations as a team. Instead of juggling multiple mobile devices to handle WhatsApp conversations, you can efficiently receive and reply to WhatsApp messages from your Front inbox, and respond faster to every customer.
Why use Front to manage WhatsApp?
- Share access to WhatsApp with your team and assign clear owners for every conversation and respond faster together.
- Consolidate your customer conversations into Front and eliminate context-switching: email, WhatsApp, Twitter, and more in one easy-to-use inbox.
- Automate workflows so that you can tag, assign, and even respond to WhatsApp messages with automated rules that help your team stay focused on the most urgent tasks.
- Easy to access on desktop and mobile, so you can manage WhatsApp whether you're at your desk or on the go.
Instructions
Your team can manage WhatsApp conversations right from a shared inbox, just like they would email, SMS, or chat. Like other shared channels, WhatsApp channels will need to be set up by a Front admin.
Front's WhatsApp channel is exclusively powered by Twilio, so you will need to use a WhatsApp-enabled number from Twilio. Twilio manages the approval process to enable WhatsApp Business. You will need to secure approval before setting up a WhatsApp inbox in Front. The approval process follows WhatsApp's Commerce Policy, so be sure to abide by these guidelines to avoid any unnecessary delay.
Part 1: Twilio approval
Step 1
Sign up or log into your existing Twilio account. In your Twilio dashboard, click the Develop tab in the left sidebar. Open the Phone Numbers section, click Manage, then select Buy a number.
If you've already purchased a Twilio number, you can also use this existing number. You can also port a number into Twilio by following Twilio's usual process.
Step 2
If you are purchasing a new number, select all of the options you need under Capabilities and complete the check out process to select your number.
You can skip this step if you already have a Twilio number.
Step 3
Click the Develop tab in the left sidebar. Open the Messaging section, click Senders, then select WhatsApp senders.
Step 4
Fill out the form that appears.
Step 5
Click Submit Request to start the WhatsApp approval process. It may take several business days for Twilio to complete your approval.
You can monitor number approvals in the Status section of your WhatsApp Enabled Senders dashboard.
Step 6
Once your number is approved, proceed to Part 2 to set up your Twilio WhatsApp inbox in Front.
Part 2: Add the inbox in Front
Step 1
Click the gear icon on the top right of Front and into the Company or Personal settings tab, depending on which space you are working with. Select Inboxes on the left menu and click Add a shared inbox.
Step 2
Enter a name and description for your inbox, and click Create.
Step 3
You will then be prompted to choose a channel type for your inbox. Select WhatsApp.
Step 4
Next, fill out the information for your WhatsApp channel.
The Account SID and Auth token are found in your Twilio Console Dashboard, by clicking on your company name at the top left corner of Twilio.
Step 5
Once you've entered your Twilio account credentials, your Twilio phone numbers will automatically populate in the Select a phone number section. Select your WhatsApp number from the options.
Step 6
Click Verify account in the top right corner. You may see a screen stating that there is already a webhook associated with your phone number. If you see this, click Yes to override it.
Step 7
Choose which teammates will have access to this inbox, and whether you'd like to add this inbox to your teammates' sidebars.
Step 8
Complete the remaining settings for your inbox, then click Finish.
Part 3: Updating your webhook configuration in Twilio
Step 1
In your Twilio dashboard, click the Develop tab in the left sidebar. Open the Phone numbers section, click Manage, then select Active numbers.
Step 2
In the settings for your WhatsApp number, scroll down to the Messaging section. Copy the full URL from the 'A Message comes in' Webhook section-- you will use this later in the setup process.
Note: If your Twilio number does not show a Messaging section, or the webhook URL is not set, please reach out to our Support team, who will be happy to provide you with the webhook URL for your number.
Step 3
In the Develop tab in the left sidebar, open the Messaging section, click Senders, then select WhatsApp senders. Select your WhatsApp number to open its settings.
Step 4
Under How would you like to configure this sender?, select Use webhooks. Paste the webhook URL that you copied in Step 2 into the 'Webhook URL for incoming messages' field.
Step 5
Click Update WhatsApp Sender.
Step 6
Refresh your page to ensure the webhook URL is present. If it is not displayed, repeat Steps 4 and 5 until you've ensured that the webhook URL appears after saving/refreshing the page.
Step 7
Now, test the connection by sending a message to your shared inbox from another WhatsApp number (such as your personal phone). Your message should show up immediately in Front!
FAQ
Who uses WhatsApp Business?
WhatsApp is used by many businesses in the events, hospitality, retail, and e-commerce sectors, as it is a platform that many consumers are already on. It’s used as a customer support and sales inquiry tool to meet customers where they are and provide instant responses.
Is there 2-way sync between WhatsApp and Front?
Yes, with Twilio as an intermediary. New messages and replies sync instantly between Front and WhatsApp for real-time communication, while Front stays invisible to your customer the whole time.
What does my customer see?
Just as when you respond natively through WhatsApp, responding in Front will display your company’s WhatsApp profile to your customer. It will not show a specific Front teammate’s name or profile.
Is there a time limit for responding?
Yes, WhatsApp gives you 24 hours to respond to an inbound message. If you try to reply to an inbound customer message that is more than 24 hours old, you will see an error that looks like this:
You do have the option to reply outside the 24-hour window by creating Message Templates that are approved by WhatsApp. These can be created and submitted for approval directly in your Twilio account.
In Front, the text of your message (or your saved message template in Front) simply needs to match an approved Message Template to be delivered. There is an additional per-message fee to send a Message Template charged by WhatsApp via Twilio.
Can I initiate messages to customers?
You can initiate new outbound messages to contacts who have opted-in to you contacting them via WhatsApp. You are required to use an approved WhatsApp Message Template. For more information, see WhatsApp’s documentation here.
I'm using WhatsApp with a bot. Will outbound messages sent by the bot sync to Front?
Yes, but not immediately. Outbound messages sent directly via Twilio, or via a bot connected directly to Twilio will not sync to Front. See the "Do you import WhatsApp history?" point below for details on how these outbound messages are received in Front.
Do you import WhatsApp history?
When you receive a new message from a customer in Front, we will import up to 15 of the most recent messages in the history so that you have context. If there is available message history through Twilio, Front will also import the most recent 100 messages when you first connect the channel.
Can I use the same number for separate SMS and WhatsApp channels in Front?
No, you need to use separate Twilio numbers for SMS and WhatsApp channel. One number can only map to one channel in Front.
Can I send images?
Yes, you can send and receive images.
Can I receive audio messages?
Yes, you can receive and listen to audio messages. Audio files will appear as an attachment on a message.
Can I send or receive messages containing both a text body and media file?
No. The Twilio API for WhatsApp does not support sending or receiving messages with both a text body and media file in the same message. Messages like this will look blank in Front. Twilio recommends sending a media file in one message, then sending text in a second message if context is needed.
See Twilio's documentation here for more information on the rules and limitations of sending media files.
Does the integration work with group chats?
No, as this is not supported by Twilio at this time.
Do you display customer profile data?
Front matches your customer’s phone number with your Front contacts and CRMs like Salesforce and Pipedrive for quick context on the conversation. As long as the customer’s WhatsApp number matches the number in your other CRM integrations linked to Front with the same formatting, the information will be displayed.
When can I send a WhatsApp Message Template?
You can send WhatsApp Message Templates to contacts who have opted-in to you contacting them via WhatsApp. For more information, see WhatsApp’s documentation here.
What about special international number formats?
Countries such as Argentina and Mexico will have special international number formats beyond what Twilio will provide Front. WhatsApp documents this here. Please contact us when adding numbers that require this format.
Pricing
This feature is available on all current Front plans. Some legacy plans will not have access. You will also need a WhatsApp-enabled Twilio number and will pay per-message fees to Twilio separately. Learn more about Twilio's WhatsApp pricing here.
11 replies
-
Hi Sarah , this is awesome. Can you please add instructions for setting up a similar WhatsApp inbox for Infobip? :)
See https://dev.infobip.com/whatsapp-business-messaging -
Hi Bjarke , right now our WhatsApp inbox only supports numbers authenticated and approved for WhatsApp Business through Twilio. We will let you know when we offer support for other providers!
-
Thanks. Do you have any ETA on when other providers like Infobip will be supported?
-
Currently Infobip can be integrated into Front via Zapier, a 3rd party integration tool, that worked with Infobip directly to develop. Infobip is also working with Front for direct integration in the future.
-
Ola, eu configurei meu whatsapp do Twilio com a Front, mas nĂŁo consegui localizar o meu webhook para inserir no painel do Twilio. Podem me dizer onde encontro o meu webhook?
-
WhatsApp Business profile request form for twilio number is outdated. Can you please update this topic?
-
Sergey Kuprash Thank you for the tip! We've updated the screenshot in this article.
-
Hi
I have an approved template on Twilio, how Can I start a conversation with it?
The templates available on Front are just demo, Is there something I should do to import the templates from Twilio? Or they should appear automatically? -
Hi carlos. alvarez! WhatsApp only allows you to use the templates when you are responding to a message that a customer initiated. You aren't able to start a conversation with the template. To use templates, you will just recreate the text in Front as canned responses, and then you will be able to send them in Front as responses. This section has more details on message templates. Feel free to contact our team directly if you have specific issues in your account and we can take a closer look!
-
Hi Helena, that's odd
According to Twilio Docs, you can start a conversation with a pre-approved template
"Sending non-template messages within a 24-hour session
If a WhatsApp user has sent your application a message — whether it’s a reply to one of your outbound messages, or they have initiated communication themselves — your application has a 24-hour window (sometimes called a “24-hour session”) to send that user messages that don’t need to use a template.
When your application sends a message to a WhatsApp user outside a 24-hour session, the message must use an approved template."
Source: https://www.twilio.com/docs/whatsapp/tutorial/send-whatsapp-notification-messages-templates
-
Hi carlos. alvarez - thank you for the additional info - I can expand on my previous answer (apologies that my response was not clear, as I was making the assumption that your customer was contacting you first). If you want to start the message to your customer, they must still first opt-in to receive messages from you (if they don't initiate this first step, you still cannot message them). From there, if they have either sent you a message over 24 hours ago or if you want to start a brand new conversation, you can use message templates (not free-form messages or non-approved message templates). You just need to copy and paste the exact approved message template into Front in order to use it. If you're having trouble sending out approved message templates, could you send our support team a quick screen recording of what's happening? We can then pull up your account for a closer look.