--- title: Use the Confirm component description: Set a confirmation message that is shown in a dialog box requiring user inputs by using the Confirm component in the RPA Desktop Design Studio. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/use-general-messagebox-confirm.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [General, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric] --- # Use the Confirm component Set a confirmation message that is shown in a dialog box requiring user inputs by using the Confirm component in the RPA Desktop Design Studio. ## Before you begin Role required: none ## About this task The Confirm component is used as part of an Attended Robot automation. Use this component to request a confirmation from the user as a response to a user action. For example, request user inputs on whether the user wants to save a file. To configure the properties, see [Properties of Confirm components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/Properties-general-components.md). ## Procedure 1. In the Toolbox pane, navigate to **General** > **MessageBox**. 2. Drag the Confirm component to the Design surface. 3. To provide inputs to the parameters, see [Configure port properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/configure-input-port-properties.md). 4. Connect the data and control ports of the Confirm component to the corresponding ports of the other components as described in the following table.
Port type Port name Data type Purpose of connection Default value Mandatory?
Data in Message String Takes the confirmation message from another component. No default value Yes
Data out Return Boolean Returns the Boolean value based on the user input.If True, the user has clicked **Ok**. Else, if False, the user has clicked **False**. Not applicable Not applicable
5. To test the component, right-click the component bar and click **Run From Here**. **Parent Topic:**[General](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/general-component.md)