Prepare Botstar initialization from a webhook
Let an external event request the Botstar application ID before the widget starts.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Get BotStar Application IDs
Tool to retrieve the botstar application id (`appid`). use when initializing or reinitializing the live chat widget.
Why this helps
Widget initialization can fail when the application identifier is not available at runtime.
- Makes app ID retrieval repeatable
- Supports webhook driven setup
- Reduces manual configuration checks
Setup
Build it in a few focused steps.
- 1Connect Botstar in Notis once.
- 2Create a new automation and instruct it to retrieve the Botstar application ID when the webhook arrives.
- 3Choose a Notis webhook trigger.
- 4Select where run reports should go.
- 5Send one real webhook to test the result.
Questions about this workflow
What does the action return?
It retrieves the Botstar application identifier, called appid, for widget initialization or reinitialization.
Can this trigger come from Discord?
This workflow uses a Notis webhook, so any authorized system that can send the webhook can start it.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Discord to Botstar. A trigger fires from one place; an action lands in another.
Discord 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.
New Discord Message Trigger
Polls a specific Discord channel for new messages.
Livechat boot
Tool to reinitialize the live chat widget with provided data. use after initial load to reset or update widget configuration.
New Member Joined
Triggered when a new member joins a Discord server (guild) you manage.
Close BotStar Livechat Widget
Tool to hide the live chat window. use when the chat widget is configured in livechat or popup mode.
Message Reaction Added
Triggered when a reaction (emoji) is added to a message in a monitored Discord channel.
Livechat on open
Tool to register a callback when the chat window is opened. use after widget initialization.
New Thread Created
Triggered when a new thread is created in a Discord channel within a monitored server.
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').
Message Edited
Triggered when an existing message in a monitored Discord channel is edited.
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.
Discord 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.