Skip to main content

Show alert

The Show alert action displays an alert message on the app's canvas. Use it to give users feedback after an event — for example, confirming a save, or warning about invalid input.

Configuration

ParameterDescriptionDefault
Alert typeThe style of the alert: Info, Success, Warning, or ErrorInfo
MessageThe text to display in the alertEmpty
DebounceTime in milliseconds to wait before executing the actionEmpty (no delay)
ToolJet - Action reference -  Show Alert

Triggering via RunJS

actions.showAlert('<alertType>', '<message>');

alertType is one of info, success, warning, or danger (danger maps to the Error type in the Events panel).

Example:

actions.showAlert('error', 'This is an error');
info

For a full quick-reference of all actions' RunJS syntax, see Run Actions from RunJS.