Custom button action

Show a button in the chat that opens a link or sends a message, and control when the agent displays it, for example a returns page or a booking form.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

The Custom button action lets the agent show a button inside the chat. Use it to send customers to a page they need, such as a returns form, a plan comparison or a status page, instead of pasting a long URL.

Add a button

  1. Open the agent and select Actions.
  2. Select Add action and choose Custom button.
  3. Enter the Label, the text on the button, for example Start a return.
  4. Choose what the button does: Open link or Send message.
  5. For Open link, enter the URL. For Send message, enter the text the customer sends when they press the button.
  6. Write the description: "Use this when the customer wants to return an item and has an order number."
  7. Turn the action on and select Save.

You should see the button under the agent's reply in the Playground when the description matches.

Settings

Setting What it does
Label Button text. Keep it under four words.
Type Open link opens a URL. Send message posts the text as the customer.
URL Where the link goes. Open in a new tab is on by default.
Description Tells the agent when to show the button.

For URLs that depend on the customer, add a parameter in braces, such as https://shop.example.com/returns?order={orderNumber}. The agent fills it in from the conversation.

When to use a button

  • A form or page does the job better than a chat reply.
  • You want a click to be measurable on your own site, for example with UTM parameters on the link.
  • You want a one-tap follow-up that sends a fixed message, such as "Talk to a person". Pair that with Escalate to human.

Buttons that appear on every reply are better served by Suggested messages. A Custom button belongs to a specific moment.

Troubleshooting

  • The button never appears. Make the description more specific about the moment it applies.
  • The link opens the wrong page. Test the URL in your browser and check any braces in it.
  • The button shows twice. Two buttons have overlapping descriptions. Merge them or narrow one.

Tip: If you want to show rich cards, forms or an order tracker instead of a button, build a widget. See Widgets overview.

Something unclear or missing? Tell us and we will fix the page.