Skip to content

🔘 Custom Button Action

Custom Button actions let your AI assistant show clickable buttons to users inside the chat interface.
They are useful for directing visitors to specific links, pricing pages, contact forms, or any external resources.


🧭 Overview

This action type is simple but powerful — it allows you to show an interactive button in chat when the AI decides it’s relevant, based on user intent.

Example use cases:

  • “Show me pricing” → displays a See Pricing button
  • “How can I contact support?” → displays a Contact Support button
  • “I want to learn more” → displays a Learn More button

⚙️ How to Create a Custom Button Action

Go to
Business Dashboard → AI Assistants → AI Actions → Create Action

Then choose
Action Type: Custom Button

You’ll see the following fields:

FieldDescription
Action NameThe internal name of your action (for example, “Pricing Button”).
When To UseShort text that helps you describe when this button should appear — used for AI context. Example: “Use this action when user wants to see pricing.”
Button LabelThe text shown on the button itself (for example, “See Pricing”).
Button URLThe link that opens when the user clicks the button (for example, https://ainisa.com/en/pricing).
Button ColorChoose a style preset. Available options include: btn-primary, btn-secondary, btn-info, btn-danger, btn-warning, btn-teal, btn-blue, btn-outline-secondary, btn-light.
EnabledToggles the action on or off.

🖼 Example

Below is how a Custom Button action looks in the Ainisa dashboard:

Create Action – Custom Button


💡 Example Configuration

Action Name: Pricing Button
When To Use: Use this action when user wants to see pricing
Button Label: See Pricing
Button URL: https://ainisa.com/en/pricing
Button Color: btn-outline-secondary


🧠 How It Works in Chat

When the AI assistant detects a relevant intent — such as a user message like:

“How much does your Pro plan cost?”

It will respond with a message and the defined button below it.
When clicked, the user is redirected to the link you configured (opens in a new tab for web integrations).


⚙️ Notes

  • Custom Button actions can be used in web chat widgets and future messaging integrations that support button elements.
  • Each button is fully customizable in label, color, and URL.
  • You can add multiple Custom Button actions for different intents (e.g., pricing, demo booking, contact).
  • Actions can be enabled or disabled anytime without deleting them.
  • You can test button rendering directly inside your chats

✅ Summary

The Custom Button action is the simplest way to add interactive navigation to your AI chat experience — guiding users toward links and pages that matter most.