--- title: Create a context input in Recommended Actions description: As an admin or RA author, create a context input for a context and use it in rule condition builder, resource generator input and recommendation-action mappings. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/ra-csm-create-context-inputs.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Configuring the Recommended Actions application, Recommended Actions configuration, Implement Intelligence, Configure, Customer Service Management] --- # Create a context input in Recommended Actions As an admin or RA author, create a context input for a context and use it in rule condition builder, resource generator input and recommendation-action mappings. ## Before you begin Role required: sn\_nb\_action.next\_best\_action\_author, or admin ## About this task After creating context inputs, you must configure the RA UIB component to pass the context input values. For more information, see [Configuring Recommended Actions UIB component for context inputs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-csm-dynamic-context-inputs.md). **Note:** Creating context inputs is not mandatory. You can create context inputs for a context only when you want to include or map parameters other than the context table. ## Procedure 1. Navigate to **All** > **Recommended Actions** > **Contexts**. 2. Open a context that you want to edit. 3. On the Context inputs related list, select **New**. **Note:** The Context inputs related list appears only when a parent context is not mapped to the context. For more information on the context input configuration limitations, see [Context Input configuration limitations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-csm-dynamic-context-inputs.md). 4. In the form, fill in the fields.
| Field | Description |
|---|---|
| Type | Field type of the input such as Choice, Reference, String, List, Integer, etc.Depending on the field type that you select, you might need to configure additional settings in the related tabs. For example, if you select Reference as the field type, you need to select a reference table. |
| Application | Scoped application name.The applicable name is populated by default. |
| Mandatory | When this check box is selected, you must set the values for these contextual inputs directly on [Recommended Actions component on the record page in the UI Builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/ra-csm-dynamic-context-inputs.md) for the recommendations to be generated.**Note:** If you select this check box and fail to set contextual inputs on Recommended Actions component in the UIB, the recommendations will not be generated. |
| Label | Name of the context input.The **Column name** field is auto-filled. |
| Active | Enabling the **Active** check box makes the context input available for use in the context. |