Skip to content
Notis

Capture BotStar chat closes for WhatsApp follow-up

Know when a BotStar conversation ends so the next follow-up does not get forgotten.

Trigger

New WhatsApp Message Received

Polling trigger that monitors for new messages received in TimelinesAI WhatsApp chats.

Action

BotStar LiveChat onClose Callback

Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."

Why this helps

A chat closing is easy to miss, especially when the original request started in WhatsApp.

  • Make chat completion visible
  • Support consistent follow-up
  • Reduce dropped handoffs

Setup

Build it in a few focused steps.

  • 1Connect TimelinesAI and BotStar once in Notis.
  • 2Create an automation for post-chat follow-up signals.
  • 3Tell Notis to register a BotStar on close callback when the new WhatsApp message indicates follow-up is required.
  • 4Choose the TimelinesAI New WhatsApp Message Received trigger.
  • 5Select reports and test with one follow-up case.

Questions about this workflow

When is this callback available?

Use it after the BotStar widget has been initialized, as required by the action.

Can the callback send a WhatsApp message?

The callback registration itself does not send a message. It can log or trigger the behavior you describe.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Timelinesai 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

Tool to register a callback when the chat window is closed. use after the widget is initialized. example prompt: "register an onclose handler that logs 'goodbye!' to the console."

ActionInstant

Webhook trigger

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

TriggerInstant

Get BotStar Application IDs

Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.

ActionInstant

New WhatsApp Message Received

Polling trigger that monitors for new messages received in TimelinesAI WhatsApp chats.

TriggerPolling

Livechat boot

Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.

ActionInstant

Close BotStar Livechat Widget

Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.

ActionInstant

Livechat on open

Tool to register a callback when the chat window is opened. use after widget initialization.

ActionInstant

Livechat open

Tool to show the live chat window. use after the widget has been bootstrapped with botstarapi('boot') to programmatically open the chat window (mode must be 'livechat' or 'popup').

ActionInstant

Livechat update

Tool to update user details on the current live chat session. use when you need to modify user profile attributes during an active conversation.

ActionInstant

Get BotStar Webview Parameter

Tool to retrieve a parameter value passed from the botstar chatbot to the webview. use inside onchatbotready after your page loads in modal mode with bs:input meta tags.

ActionInstant

Connect any two apps with Notis in the middle.

Timelinesai 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.