Skip to content
Tutorials Center
My learning

Topics

Lesson 23 of 37 ยท Service Hub

Conversations Inbox, Live Chat and Chatbots

Learn the HubSpot conversations inbox: channels, live chat widgets, chatflows, chatbot decision trees, routing and handoff to humans, with a runnable bot flow simulator.

Customers talk to you through email, website chat, Facebook Messenger, WhatsApp, forms and more. HubSpot's conversations inbox pulls these channels into one place so replies come from one workspace and every message is logged against the right contact. On top of it you can add live chat on your website and chatbots that qualify visitors or answer common questions.

HubSpot cannot run on this site. This lesson describes the tool and uses Python stand-ins to simulate a bot's decision logic. Which channels and bot features you have depends on your subscription.

The inbox

Open Conversations > Inbox. You will see threads grouped into views: Assigned to me, Unassigned, Mentions, and any custom inboxes you create. Each connected channel feeds an inbox:

  • Team email (a shared address such as support@your-domain),
  • Chat (the website widget),
  • Facebook Messenger and WhatsApp (when connected),
  • Forms that deliver replies into the inbox,
  • Calls logged from calling integrations.

Threads can be assigned, closed, converted to a ticket, and annotated with comments. The right-hand panel shows the contact's CRM record, so an agent sees recent deals and tickets while replying.

Chatflows

A chatflow is the configuration of the chat widget: who sees it, on which pages, what it says, and which bot or team takes over. Under Conversations > Chatflows you create a flow of type Website and set:

  1. Targeting: pages (for example only /pricing), device, returning visitors, language.
  2. Appearance: color, launcher text, avatar.
  3. Bot or live agent: a welcome message, then either a bot flow or immediate routing to a team.
  4. Availability: show live chat during office hours and a "leave a message" form outside them.

To install the widget, the HubSpot tracking code must be on the site. Chat transcripts are stored in the inbox.

Chatbot building blocks

The bot builder is a visual tree. Common blocks are:

  • Send a message (text, with personalization),
  • Ask a question (quick replies as buttons, or free text saved to a contact property),
  • Branch on the answer,
  • Collect contact details (email, name) so the visitor becomes a contact,
  • Search the knowledge base and suggest an article,
  • Create a ticket or book a meeting (meetings links from Sales Hub),
  • Hand off to a person (assign to a team or user).

A support bot flow

Greet What can we help with?
Choose Billing, setup or sales
Suggest article Try self-service first
Handoff Agent or ticket if needed

Bots answer the routine; people handle the rest

1 / 2

Simulating a bot

The stand-in below stores a flow as a dictionary of nodes and walks it with scripted visitor answers. This is the same data structure idea that a visual bot builder hides.

Python A decision-tree bot (stand-in)

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Routing and assignment

Chatflows and inbox settings decide who gets a conversation: a specific user, a team, or round-robin among available members. Agents set their availability (for instance away or available), and conversations can follow business hours, so unattended threads do not sit unseen. Use routing rules such as "pricing page chats go to the sales team".

Python Round-robin routing among available agents

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Tips

  • Always provide a human escape hatch; hiding it frustrates customers.
  • Keep bot messages short and do not pretend the bot is a person.
  • Save answers to contact properties so sales and service see them.
  • Review transcripts weekly to find new knowledge base articles.
  • Combine with a ticket pipeline so urgent chats become tracked work.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. What does the conversations inbox do?

    It unifies channels and logs messages on the contact.
  2. 2. What must be installed on a website for the chat widget to appear?

    The tracking code loads the widget configured in the chatflow.
  3. 3. Why should every bot flow include a handoff?

    A visible path to a human prevents dead ends and frustration.

Summary

  • The conversations inbox unifies email, chat and messaging channels.
  • Chatflows control targeting, appearance, bot logic and routing.
  • Bots ask, branch, collect data, suggest articles and hand off.
  • Always keep a human escape hatch and review transcripts.

Next: Workflows: Triggers and Actions