---
schema_version: "1"
id: b9712b44acdadcb26fc2dbd44ae6e15b9107b95d8d6be836432cb4bf0d017298
title: Create the recordId
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/omnichannel_create_recordid.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.omnichannel_create_recordid.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fc1113eed7ce27400ee7d58d5ba2597eb0f11a78e53a335ee9713397e276f609
description: To store the ID of the work item in the flow, create the recordId variable.
products:
  - Service Cloud
release: "264"
---
# Create the recordId

To store the ID of the work item in the flow, create the recordId variable.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

1. In the Flow Builder Toolbox, click **Manager** and then click **New Resource**.
2. For **Resource Type**, select **Variable**.
3. For **API Name**, enter recordId. **Note:** Make sure to use this name, specifically.
4. For **Data Type**, select **Text**.
5. Under **Availability Outside the Flow**, select **Available for input**.
6. Click **Done**.
    
    ![New varaible resource named recordId.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/omnichannel/create_recordid.png)