Skip to content

Create and set up inbound agent

Last updated: December 1, 2026

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

The inbound agent is an AI-powered agent that engages with visitors on your website, answers questions about your products and services, and identifies potential customers based on your qualification criteria.

You can configure the agent to identify sales opportunities, qualify leads, collect visitor information, and offer meeting links to connect qualified leads with your sales team. You can also customize how the agent handles non-sales inquiries, manages CRM records, and uses knowledge sources to respond to visitors. This helps your sales team capture opportunities outside business hours, reduce manual follow-up, and focus on leads that are ready for the next step.

Please note: if you're a Super Admin, you can opt your account into the Inbound Agent beta. Once you publish inbound agent, you'll receive 14 days of free access, after which it will remain active and automatically begin consuming HubSpot Credits. If you published your inbound agent during the private beta, your free access begins on December 1 and credit usage begins on December 15.

A commercial lighting company receives inquiries from visitors exploring new installations, renovations, and product options. With a small sales team and limited capacity to respond around the clock, the company wants to understand each visitor’s project, identify qualified prospects, and connect them with the right sales representative, without leaving other inquiries unanswered.

The company configures the lead qualification agent to answer questions about its lighting solutions and gather key details, such as project scope, budget, and timeline. For example, a visitor on the pricing page on Sunday night can share project details and request a consultation, so the sales team can pick up the inquiry when they’re back online. Questions about existing orders or deliveries are routed to customer support instead.

This helps the company qualify leads, engage prospects outside business hours, and guide each visitor to the information or team that best fits their needs.

How many HubSpot Credits does the inbound agent use?

The inbound agent consumes credits when it qualifies or partially qualifies a lead during a conversation. For specific credit amounts, see the HubSpot Credits rate sheet.

Setting up, configuring, testing, and publishing your agent doesn’t consume credits.

What counts as a qualified or partially qualified lead?

  • Qualified: the visitor's answers meet all of the qualification criteria you've configured.

  • Partially qualified:  The agent replied at least once, and at least one of the following happened: the visitor’s contact information was collected; they answered one or more qualification questions; or the agent automatically matched a known visitor to criteria based on available information.

How are credits charged for conversations?

Only the highest qualification outcome is charged per conversation. For example, if a lead is partially qualified and then fully qualified, you're charged 1,000 credits, not 1,100.

If a visitor starts a new conversation, credits may be consumed again. This also applies to known CRM contacts whose qualification criteria can be matched using existing data, provided the agent replies at least once.

How can I monitor credit usage?

You can view your available credits and track usage in your Account & Billing settings. Learn more about monitoring your credit usage in HubSpot.


Create inbound agent

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. Click Set up your agent.
  3. In the dialog box, configure your inbound agent:
    • Agent name: enter a name for your agent.
    • Personality: click the dropdown menu and select how your agent should sound and behave during conversations. Select Friendly, Professional, Casual, Empathetic, or Witty. If you've set up a brand voice, you can also select Use my brand voice to have the agent use your configured brand voice.
    • Public URL: enter your website's URL.
    • Import related URLs: to automatically crawl and sync related pages on your domain, toggle the switch on. You can sync up to 5,000 URLs within the domain.
    • After adding your content sources, click Create.

You'll be redirected to the Overview page, where you can continue configuring your agent before deploying it.

Please note: you can edit your agent's name and personality, and add or manage additional knowledge sources after creating your agent.

Set up qualification for inbound agent

Define which visitors your agent should qualify, what information it should collect, and what actions it should take when a visitor meets your qualification criteria.

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. In the left sidebar menu, under Set Up, click Qualification.

Set your agent's goal

Your agent's goal describes what it should accomplish during conversations with visitors.

  1. In the Qualification section, enter instructions describing what your agent should accomplish.
  2. For example, Identify visitors planning commercial lighting projects, understand their project requirements and timeline, and encourage qualified visitors to book a consultation with our sales team.

lead-qual-agent-goal

Add a sales opportunity

Sales opportunities define which visitors your agent should identify, the criteria they must meet to qualify, and the actions the agent should take when they qualify. You can create separate sales opportunities for different products, services, or customer needs.

  1. In the Sales opportunities section, click Add sales opportunity.
  2. Enter the following details:
    • Name: enter a name for the sales opportunity. For example, Commercial lighting consultation.
    • Visitor intent: describe what visitors might want to purchase, the problems they want to solve, or the goals they want to accomplish. The agent uses this information to identify visitors who match the opportunity.
    • Visitor qualification: define the criteria the agent should use to qualify visitors. Click Add criteria, then enter the following details: 
      • What you want to learn: enter the information you want the agent to collect from visitors. For example, Project timeline or Project budget.
        • To collect information only when certain conditions are met, click Add condition.
        • Enter instructions describing when the agent should ask the question. If the condition isn't met, the agent skips the question
      • Response requirement: click the dropdown menu and select an option:

        • Required to qualify: the visitor remains unqualified until the agent collects an answer.
        • Collect for context only: the agent collects the information when appropriate, but an answer isn't required for qualification.
      • Qualifying response: click the dropdown menu and select an option:

        • Any response qualifies: any answer provided by the visitor meets the criterion.
        • Only specific responses qualify: only answers that meet your specified requirements satisfy the criterion.

          inbound-agent-timeline
      • Save answer to HubSpot property: click the dropdown menu and select a property to store the visitor's answer. To avoid saving the answer to a property, select Do not save to property.

  1. Click Add criteria.
  2. In the Contact properties to collect section, select the contact information your agent should collect before handing off a visitor, 
    • Click Add properties, then select the properties you want the agent to collect.
    • Next to each property, click the dropdown menu and select Required or Optional.
    • To remove a property, click the delete icon next to it.
  3. In the Qualification actions section, configure what your agent should do when a visitor qualifies:
    • Click the Which calendar or meeting link dropdown menu and select Non-HubSpot meeting link or HubSpot meeting link.
    • Enter or select the meeting link.
  1. At the bottom of the page, review the summary of your configuration, including the information the agent must collect to qualify a visitor and the actions it should take when a visitor qualifies.
  2. In the bottom right, click Add to save the sales opportunity.

Configure non-sales inquiries

Define how your agent should identify and handle inquiries that aren't related to sales.

  1. In the Non-sales inquiries section, click Add non-sales inquiry.
  2. Enter the following details: 
    • Intent instructions: describe how the agent should recognize this type of inquiry.For example: The visitor is an existing customer looking for help with an order, delivery, or product issue.
    • Action instructions: describe how the agent should respond when it identifies this type of inquiry. For example: Direct the visitor to the customer support team and provide a link to the support page.
  3. In the bottom right, click Add.

Publish lead qualification

After configuring your agent's goal, sales opportunities, and non-sales inquiries, click Publish in the top right to apply your changes. Once published, the agent will use these settings to identify and qualify visitors and determine how to respond to their inquiries.

Configure CRM updates for inbound agent

Choose how the inbound agent creates and updates CRM records for new and existing visitors.

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. In the left sidebar menu, under Set Up, click CRM Updates.

  3. To add a view of contacts who have interacted with your agent and identify those ready for follow-up:

    • In the New CRM Contact View: Lead qualification agent contacts section, click Add view.

    • To share the view, click Copy link.

  4. In the Contact creation section, configure the following settings:

    • Accept personal email addresses: to allow visitors to provide personal email addresses, such as Gmail or Yahoo, toggle the switch on.

    • Contact owner: by default, contacts created by the agent are unassigned. To automatically assign contact owners, you can create a workflow. Click Go to workflows to navigate to the workflows tool.

      lead-qual-crm-updates

    The inbound agent creates a contact record when a visitor provides their email address. If a contact with the same email address already exists, the agent updates the existing record instead of creating a duplicate.

  5. In the Conversation logging section, review an example of how the agent logs full conversation transcripts on a contact's activity timeline.

  6. In the Properties set by the agent section, review the contact properties the agent sets when creating or updating records. The table displays the following information:

    • Property: the contact property the agent updates.

    • Mapped value: the information the agent saves to the property.

    • Overwrite rule: whether the agent overwrites an existing property value or only populates the property when it's empty.

  7. After reviewing your CRM settings, click Publish in the top right to apply your changes.

Manage the knowledge sources used to train inbound agent 

Knowledge sources are used by the inbound agent to answer customers' questions. You can add, edit, or remove its knowledge sources at any time.

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.

  2. In the left sidebar menu, under Set Up, click Knowledge.

  3. Click Add content in the top right.
  4. Select a content type: 
  1. To sync HubSpot content, click From HubSpot.
  2. Select the checkbox next to the content you want to add. You can sync knowledge base articles, website pages, landing pages, and blogs.
  3. To have the agent use the knowledge source only when answering questions from specific visitors, click the Segments dropdown menu, then select an agent segment.
  4. Click Add content.

To sync external URLs, click Import from public URLs.

  1. In the Import public URLs field, enter a public URL. Then, click Add.
  2. To sync all associated pages on a domain, toggle the Import related URLs switch on. Up to 5,000 URLs within the domain will be automatically crawled and synced.
  3. To manage which pages are crawled, click the Which pages to import dropdown menu and select an option:
    • All pages on this domain: crawls the domain and subdomain. For example, blog.zenplant.com/help includes zenplant.com, help.zenplant.com.
    • Pages matching this path: crawls only pages under the specified URL path. For example, zenplant.com/help includes zenplant.com/help/guides, zenplant.com/help/faqs.
    • This subdomain only: crawls only that subdomain. For example, help.zenplant.com excludes zenplant.com and blog.zenplant.com.
  4. In the Path filtering section, add paths to include such as /support/ or exclude, such as /blog/.
  5. To have the agent use the knowledge source only when answering questions from specific visitors, click the Segments dropdown menu, then select a segment.
  6. Click Add content.

You can upload files containing information about your products and services, such as product catalogs, technical specifications, or pricing guides.

Please note: the following file types are supported: .docx, .htm, .xhtml, .cfg, .pptx, .mpg, .conf, .mpeg, .csv, .json, .html, .text, .txt, .mp4, .pdf, .rst, .avi, .mov, .md, .webm, .xml, and .xls.

To sync new files:

  1. To upload a new file, click Upload a file:
  2. In the right panel, search for and select an existing file. Then, click Insert files.
  3. Click Next.
  4. To have the agent use the knowledge source only when answering questions from specific visitors, click the Segments dropdown menu, then select a segment.

To use existing files as knowledge sources:

  1. In the left sidebar menu, click Set Up > Knowledge.
  2. Click the files tab.
  3. In the top right, click Unused.
  4. Select the checkboxes next to the files you want to sync.
  5. Click + Use as source.

Create short answers to help your agent respond to frequently asked questions about your products or services.

For example, a commercial lighting company could create a short answer explaining whether it offers on-site lighting consultations.

  1. To create a short answer, click Create a short answer.
  2. Use the text boxes to enter the question and answer.
  3. Use the icons across the bottom of the editor to modify your text style, insert a link, or add an image. For example, you could add an image or diagram to help explain a process.
  4. Click Next.
  5. To have the agent use the knowledge source only when answering questions from specific visitors, click the Segments dropdown menu, then select a segment.
  6. Click Add content.

Use AI to generate knowledge sources from your resolved tickets, inbox conversations, or uploaded files. AI will group the content into topics and generate Q&A pairs for you to review.

  1. To generate knowledge from tickets, inbox conversations, or uploaded files, click Generate knowledge.
  2. Follow the steps outlined in this article.


Edit knowledge sources 

You can remove knowledge sources, refresh their content, and manage whether the agent cites them in its responses. You can also assign knowledge sources to specific inbound agent segments to tailor the information the inbound agent uses when responding to different visitors. 

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. In the left sidebar menu, under Set Up, click Knowledge.
  3. At the top of the table, select the tab for the type of knowledge source you want to manage, such as Knowledge Base, Website, or Imported URLs.
  4. To manage your knowledge sources:
    • Remove a source: select the checkbox next to the source, then click Remove as source.
    • Refresh a source: select the source, then click Refresh to re-sync its content.
    • Manage citations: toggle the Citations switch off to prevent the agent from citing the source. Citations are automatically disabled for private content.
    • Apply segment: in the dialog box, click the dropdown menu and select an existing segment. To create a new segment, click Add new segment.|

      customer-agent-apply-segment
  5. If you've imported related URLs, you can exclude individual pages from future syncing. Once excluded, the agent will no longer use those pages to generate responses.

    • Click the Imported URLs tab.
    • In the Related column, click + [X URLs] next to the imported source.
    • Select the checkboxes next to the URLs you want to exclude.
    • Click Exclude from refresh.

Test inbound agent 

After creating and configuring inbound agent, test how it responds to questions and performs actions before deploying it to live channels.

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. In the top right, click Test agent.
  3. To select the channel for previewing the agent's behavior, click the Email or Live Chat icon.
  4. To test the agent as specific contact or segment:
    • Click the Unknown down carat icon.
    • To test as a list of contacts, click Test as a segment. Then, select your segment.
    • To test as a contact, select Test as CRM contact. Then, in the pop-up box, select the contact and click Select.
  5. To test how the agent responds, enter a question in the chat widget.
  6. Click the Attach icon and select a file to test how the agent responds to attachments. The file can be up to 10MB.
  7. To review testing insights and coach the agent, in the top right corner of the chat widget, click the enlarge enlarge icon.
    • In the right panel, review Testing Insights, such as why the agent responded a certain way, which triggers were activated, and what sources it cited. You can also view any records that were created or updated.
    • To rate the agent's reply, click the thumbs up or thumbs down icon.
    • To improve how your agent responds, click Coach your agent.
    • In the right sidebar, navigate between the Knowledge, Actions, and Experience tabs to edit how the agent should respond or behave.

Deploy inbound agent

HubSpot Credits required HubSpot Credits are required to deploy the agent to live channels and are only consumed when a lead is qualified or partially qualified. Learn more about how inbound agent uses HubSpot credits.

  1. In your HubSpot account, click More, then navigate to Sales > Inbound Agent. If More doesn't appear in your account, navigate to Sales > Inbound Agent directly.
  2. In the left sidebar menu, under Deploy, click Channels.
  3. To create a new live chat channel, in the Create a new live chat channel section, configure the following:
    • Channel name: enter a name for your live chat channel.
    • Inbox: click the dropdown menu and select the inbox where conversations from this channel should appear.
    • Welcome message: enter the message visitors will see when they start a conversation with your agent. For example, Hi! Are you planning a new lighting project or upgrading an existing space? I can help you explore your options.
    • In the Show on section, configure where the chat widget appears on your website:
      • Under Website URL, click the dropdown menus to select the URL criteria for displaying the chat widget.
      • To add another display rule, click Add rule.
      • To prevent the widget from appearing on specific pages, click Add exclusion rule, then configure the exclusion criteria.
    • Click Create and deploy.
  4. To deploy your agent to an existing live chat channel:
    • In the Use an existing channel section, click the Select a channel dropdown menu.
    • Select the live chat channel you want to use.
    • Click Assign and deploy.

Analyze inbound agent's performance 

After deploying your agent, review its conversations to understand how visitors interact with it and identify opportunities to improve your qualification settings.

Learn more about analyzing your agent’s performance.

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