Register a chat open callback after a deal stage changes
Tie callback registration to a HubSpot deal milestone, then respond when the BotStar chat window next opens.
Trigger
Deal Stage UpdatedTrigger
Deal Stage UpdatedTrigger
Action
Livechat on open
Tool to register a callback when the chat window is opened. use after widget initialization.
Why this helps
A chat event can be easy to miss when callback setup is another manual step after CRM changes.
- Register an open callback after a real sales stage change.
- Prepare a handler for the next BotStar chat open event.
- Reduce manual setup steps around CRM-driven chat processes.
Setup
Build it in a few focused steps.
- 1Connect HubSpot and BotStar once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a clear name.
- 3Tell Notis to register the desired BotStar live chat open callback after a deal stage changes.
- 4Choose the HubSpot Deal Stage Updated trigger and select where run reports should go.
- 5Test with one real deal stage update and a subsequent chat window open.
Questions about this workflow
Does the callback automatically open the chat?
No. It registers a callback to run when the chat window is opened. Opening the window is a separate action.
When should this callback registration run?
The BotStar action is intended for use after widget initialization. Ensure your process has initialized the widget before relying on the callback.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Hubspot to Botstar. A trigger fires from one place; an action lands in another.
Hubspot triggers
Botstar actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
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."
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get BotStar Application IDs
Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.
Contact Created Trigger
Contact Created Trigger
Livechat boot
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
Deal Stage UpdatedTrigger
Deal Stage UpdatedTrigger
Close BotStar Livechat Widget
Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.
Livechat on open
Tool to register a callback when the chat window is opened. use after widget initialization.
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').
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.
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.
Connect any two apps with Notis in the middle.
Hubspot 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.