Trigger: Popup Message
The Popup Message trigger fires when a popup message (Toast) is displayed on the device. Toast messages are the small, temporary popup notifications that appear at the bottom of the screen and automatically disappear after a few seconds. This trigger allows you to react to these system and app notifications.
Options
Text Matching
- Text to Match - Enter the text that must appear in the popup message for the trigger to fire
Application Filter
- All Applications - React to popup messages from any app
- Select Applications - Only react to popup messages from specific selected apps
Matching Options
- Enable regular expression matching - Use regex syntax for pattern matching
- Ignore case - Perform case-insensitive matching (disabled when regex is enabled)
Examples
Example 1: Log when Wi-Fi is connected
Triggers Popup Message: "Connected to" (All Applications)
Actions System Log: Wi-Fi connection detected via toast
Example 2: React to specific app notifications
Triggers Popup Message: "Download complete" (Browser app)
Actions Vibrate: Short buzz Notification: Your download is ready
Requirements
- This trigger requires Accessibility Service to be enabled for MacroDroid
Notes
- Toast messages are different from standard notifications - they are brief popup messages that appear temporarily on screen
- Not all apps use Toast messages; some use custom popups that may not be detected
- This trigger captures the text content of Toast messages as they appear
- Magic text can be used in the text matching field
- If no applications are selected, the trigger will monitor all apps
- The accessibility service must be enabled and running for this trigger to work
See Also