Carry Ably Context Back from a BotStar Webview
When an Ably event supplies useful context, let Notis pass the requested response from an open webview back to the BotStar chatbot.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Webview send response
Tool to send data from the webview back to the botstar chatbot. use when you need to transmit responses or custom outputs from an open webview.
Why this helps
Context gathered outside the chatbot can get stranded in another tool, forcing people to repeat information in the conversation.
- Return useful context to the chatbot from its webview.
- Reduce repeated copy and paste between tools.
- Tie the response to a specific incoming Ably signal.
Setup
Build it in a few focused steps.
- 1Connect Ably and BotStar once in the Notis portal.
- 2Create an automation named for the webview response.
- 3Tell Notis what response to derive from the incoming Ably event and send back to the BotStar chatbot.
- 4Pick the Notis webhook trigger and configure the Ably event sender to call its endpoint.
- 5Choose a report channel, then test with one real event while the BotStar webview is open.
Questions about this workflow
Does this action open a webview?
No. It sends data from an already open webview back to the chatbot.
What if the Ably event does not contain the requested context?
Provide the needed information in the event or specify an available source for Notis to consult. Missing data cannot be created by the workflow.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Ably to Botstar. A trigger fires from one place; an action lands in another.
Ably 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.
Livechat boot
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
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.
Ably 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.