Skip to content

Create a chatflow for Facebook Messenger

Last updated: June 28, 2023

Available with any of the following subscriptions, except where noted:

All products and plans

When you connect your Facebook Messenger account to HubSpot a default instant reply chatflow will be created and enabled in your account. This is the primary chatflow used on your Facebook Messenger page. You can also create additional chatflows and use the direct URLs for these chatflows in your content.

Once your Facebook Messenger account is connected to HubSpot, learn how to respond to incoming messages in your conversations inbox. Only new messages sent after you connected Facebook Messenger to HubSpot will appear in the conversations inbox. If incoming messages aren't appearing in your inbox, make sure HubSpot is set as the primary receiverfor Facebook Messenger.

To create a chatflow for your website pages, learn how to create a chatflow with live chat or a chatflow with a bot.

Customize the default Facebook Messenger chatflow

You can customize the chatflow's instant reply message and routing rules:

  • Click the Facebook Messenger tab.
  • Hover over the chatflow and click Edit.
  • On the Build tab, customize the chatflow's instant reply message and routing rules.
  • Click Save. build-fb-messenger
  • To copy a direct link to your Messenger account, click the Options tab, then click Copy next to the URL. This can be added to CTAs, emails, and your website.

Create additional Facebook Messenger chatflows

You can only have one primary chatflow for each connected Facebook Messenger account. This is the default chatflow that visitors will see when messaging you. You can, however, create additional instant reply chatflows or bot chatflows and use the direct URLs for these chatflows in your content. Add direct URLs to your CTAs, marketing emails, or website pages so visitors can immediately start a conversation with your team in Messenger.

To create additional Facebook Messenger chatflows:

  • In the upper right, click Create chatflow.
  • Select Facebook Messenger.
  • You can create a chatflow with an instant reply or a chatflow with a bot. Learn more about the different bot templates you can choose from. When you're ready to continue, in the left sidebar, select which type of chatflow you're creating, then click Next.
  • On the left, customize the inbox and language settings:
    • To select an inbox to connect the chatflow to, click the Inbox dropdown menu.
    • To change the chatflow's language, click the Language dropdown menu.
    • If you're creating a Knowledge base + support bot or an Offline bot, to control which users receive incoming messages, click the Select inbox users dropdown menu.


  • Click Next.
  • On the Build tab, customize the instant reply and routing rules.
    • If you're creating an instant reply chatflow, enter a message in the Write an instant reply text box. Click the Assign incoming conversations to dropdown menu and decide who incoming messages should be routed to.
    • If you're creating a bot, to edit the instant reply message, click the Instant reply action, then edit the message in the right panel. You can also edit the existing actions or add additional actions to the bot's flow.


  • Click the Options tab.
  • If you're creating a bot, you can customize additional bot display options:
    • To set a delay between each message that is sent to visitors, click the Typing delay between messages dropdown menu and select an option.
    • To customize the amount of time after inactivity before the chat session is reset to the beginning, click the Session timeout dropdown menu and select an option. The chat session will not reset if a visitor completed every bot action in a past session.
    • In the Generic error message text box, type the message to display when a request can't be delivered.
    • To change the bot's display language, click the Select a language dropdown menu and select a different language.
  • To preview your chatflow in Facebook Messenger, click View in Facebook Messenger in the top right.
  • To enable the chatflow, in the top right, click to toggle the switch on.
  • Next to the Facebook Messenger URL, click Copy to copy the direct URL for your chatflow. This can be added to CTAs, emails, and your website.

Your new chatflow will now appear on the Facebook Messenger tab of the chatflows tool. If you add the Messenger URL to your content, when a contact clicks the URL, they'll be brought directly to Messenger where they can start a conversation with your team. add-direct-URL

To make one of your new chatflows the primary chatflow that visitors will see when visiting your Facebook Business page, hover over the chatflow, click the More dropdown menu, and select Set as primary.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.