Skip to content
QwryAI
Documentation
Pages

AI Agent Management

Custom button: send customers a link button in chat

Send customers a button that opens any page you choose, right inside the conversation

The Custom button Action lets your agent show a button that opens a link when the customer asks about a specific topic. You choose the button text and the URL it opens, and the agent decides when the button is worth showing. It works on the Chat bubble, Help page and Center Stage, and the link opens in a new browser tab.

Best for: pointing customers to a pricing page, a booking form, a downloadable guide, or any page that answers a question better than text does.

Common use cases:

  • "What are your pricing plans?"
  • "Can I book a fitting?"
  • "How do I contact sales?"

How to create the Action

  1. Open Actions

    In your QwryAI dashboard, select your agent and click Build › Actions in the sidebar.

  2. Create the Action

    Click Create Action and select the Custom button card ("Show a button that opens a link when your users click it").

    Create Action › Custom button.

The dialog shows a sample chat with a link button. Click Start customizing.

The Custom button dialog.
  1. Configure General

    Action name: a descriptive name, such as Pricing_Page_Button. The agent sees this name and uses it, together with When to use, to decide when to show the button. Names need 3 to 63 characters and can contain only letters, numbers, underscores and hyphens, with no spaces.

    Name the button Action.

When to use: when the agent should show the button. Include example customer questions.

Describe when to show the button.

To run the Action only as a Procedure step, turn on Only use in Procedures. When to use is then hidden, because the agent no longer decides when to call the Action.

  1. Configure the button

    The button fields sit in the same General section.

    Button Text: the text displayed on the button.

    Button Text is the label customers click.

URL: the URL to open when the button is clicked, in a new tab. It must be a full http:// or https:// URL and is used exactly as entered, so you can add fixed UTM parameters, for example https://www.example.com/pricing?utm_source=qwryai.

URL is the page the button opens.

Click Continue to save the section.

Continue saves General.
  1. Choose Channels

    This Action works on the Chat bubble, Help page and Center Stage only. Every other channel is incompatible and can't be selected. See Channels for what configured, unconfigured and incompatible mean.

    Channels for the button.
  2. Save and publish

    Click Save at the bottom of the page. The Action is saved to your agent's draft, and the header shows Publish. Click Publish to make it live for customers. See Drafts and publishing.

    Save stores the Action in your draft.

Example

A When to use that tells the agent both what to say and when to add the button:

Example conversation
Use this when the customer wants to book an in-store fitting or asks where to
book one. Answer their question first, for example our opening hours or what a
fitting includes, then show the button so they can pick a time.
Example queries: 'Can I book a fitting?', 'How do I get measured?'

How it works

  • The agent decides when to show it. The Action has no inputs: when the agent calls it, the button appears below the reply with your Button Text.
  • One link per Action. The agent can call more than one Custom button Action in a reply, and each shows its own button, but whether it does depends on your instructions.
  • Measure visits with UTM parameters. The button is a plain link. Add UTM parameters to the URL and track visits in your analytics tool.

Best practices

Frequently asked questions

Does the button open in a new tab?

Yes. The link always opens in a new browser tab, so the customer keeps the chat open.

Can the button URL include variables or UTM parameters?

Fixed UTM parameters, yes: type them into the URL. The URL is used exactly as entered, so it can't include values from the conversation.

Does the Action name matter?

Yes. The agent sees the Action name and uses it with When to use to decide when to show the button, so pick a name that describes the destination, such as Pricing_Page_Button.

Why don't customers see the button yet?

Custom button saves to your draft. Click Publish in the top-right corner to make it live. Also check that the Action is on for the customer's channel.

Can I show the button on WhatsApp or Messenger?

No. Custom button works on the Chat bubble, Help page and Center Stage only.

Next steps

Explore the documentation