Skip to content
Notis

Handle BotStar chat closure in an AgentQL-assisted flow

Make the end of a conversation a clear point in the website experience.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

BotStar LiveChat onClose Callback

Registers a callback that runs when the chat window closes.

Why this helps

When a visitor closes chat, the surrounding flow may not know the interaction has ended.

  • Registers a callback for the chat-close event.
  • Helps the page respond when a conversation ends.
  • Makes the support flow easier to coordinate with site tasks.

Setup

Build it in a few focused steps.

  • 1Connect AgentQL and BotStar once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name it.
  • 3In one instruction, ask Notis to register a BotStar on-close callback after widget initialization and describe the close response.
  • 4Pick the Notis webhook trigger and choose where run reports go.
  • 5Test by closing one initialized chat and confirm the callback response.

Questions about this workflow

Does the callback close the chat?

No. It registers a handler that runs when the chat window is closed.

Can it send data to AgentQL?

No such transfer is specified by this action. Describe the response you need and provide any required integration details.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Agentql to Botstar. A trigger fires from one place; an action lands in another.

Agentql triggers

Botstar actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

BotStar LiveChat onClose Callback

Registers a callback that runs when the chat window closes.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create Bot

Creates a new bot.

ActionInstant

Get BotStar Application IDs

Retrieves the application IDs used by the live chat widget.

ActionInstant

Create Bot Attribute

Creates a bot attribute for shared, multilingual values.

ActionInstant

Livechat boot

Reinitializes the live chat widget with updated data.

ActionInstant

Create CMS Entity

Creates a content entity with optional custom fields.

ActionInstant

Close BotStar Livechat Widget

Hides the live chat window.

ActionInstant

Create Entity Fields

Adds fields to an existing content entity.

ActionInstant

Connect any two apps with Notis in the middle.

Agentql and Botstar, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Botstar.