Confirm chat cleanup after an unsubscribe
Add a closure callback so your team can verify that an unsubscribed contact no longer sees the chat.
Trigger
Unsubscribe Trigger
Triggered when a subscriber unsubscribes from Mailchimp
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
Consent changes can be applied inconsistently when no one can confirm what happened to the widget.
- Create an auditable closure signal
- Make cleanup easier to verify
- Reduce uncertainty after consent changes
Setup
Build it in a few focused steps.
- 1Connect Mailchimp and BotStar in Notis.
- 2Create an automation describing the BotStar onClose callback and the confirmation to report.
- 3Select the Mailchimp Unsubscribe trigger.
- 4Choose where reports should be delivered.
- 5Test with one unsubscribe and widget close.
Questions about this workflow
When must the callback be registered?
Register it after the BotStar widget has been initialized.
What does this callback do?
It runs when the chat window closes and can log the requested confirmation.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Mailchimp to Botstar. A trigger fires from one place; an action lands in another.
Mailchimp 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.
Campaign Trigger
Triggered when a campaign is sent or experiences an event in Mailchimp
Livechat boot
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
Profile Update Trigger
Triggered when a subscriber's profile is updated in Mailchimp
Close BotStar Livechat Widget
Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.
Subscribe Trigger
Triggered when a subscriber subscribes to Mailchimp
Livechat on open
Tool to register a callback when the chat window is opened. use after widget initialization.
Unsubscribe Trigger
Triggered when a subscriber unsubscribes from Mailchimp
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.
Mailchimp 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.