Window trigger
- Updated: 2025/12/08
The Window trigger enables you to configure a trigger based on the opening or closing of a Windows application or a browser tab. The trigger starts the subsequent action workflow based on the trigger definitions that you configure.
Overview
Configure the Window trigger to start a task bot when you open or close a desktop application or a tab in a browser. The trigger has a Refresh button that auto-populates the drop-down list with all the applications or browser tabs that are currently open in the system.
The Application option allows you to configure the trigger based on the desktop applications that are active in the system. The trigger starts the subsequent action workflow when you open or close the selected application. The Browser option allows you to select a specific tab in Google Chrome or Microsoft Edge and start the automation when you open or close the browser tab.
- Refresh an existing tab that has the same URL.
- Click Forward or Backward button in an existing tab to go to the same URL.
The trigger also has an option to capture the trigger response data in a record variable. The record variable captures the following parameters of response data in a key-value pair format:
- triggerType
- eventType
- timeStamp
- windowValue
- windowTitle
- windowHandle
You can use the data from these parameters in the subsequent actions within the session.
Settings
- Window
- The Window setting provides the option to define the trigger based on the browser tab or desktop application. Select Browser for browser-based trigger or Application for application-based trigger. You can use the Refresh button to auto-populate the drop-down list with all open browser tabs or all open applications.
- Browser title
- This field is available only for Browser option and displays the title of the web page that is open on the selected browser tab. You can also manually enter the title of the web page using String or Regex option. The manual entry automatically updates in the drop-down list. You enable or disable the Case sensitive check box based on your requirements.
- Link of web page
- This field is available only for Browser option. The field auto-populates based on the selected tab and displays the URL of the web page.
- Browser application
- This field is available only for Browser option. The field auto-populates based on the selected tab and displays the browser application name. For example, Google Chrome or Microsoft Edge.
- Window action that starts the bot
- Use this field to define the trigger. Select one of the following
options:
- Open: Starts the action workflow when you open the configured browser tab or the desktop application.
- Close: Starts the action workflow when you close the configured browser tab or the desktop application.
- Assigned to
- Use this field to capture the trigger response data in a record variable. You can use an existing variable or create a variable inline using the Create variable button.