---
schema_version: "1"
id: 52502c2d4f78a3d3166192fe928a2f4f6ac3269617f115ecfaed1c4eeb03fb96
title: Create the input_record
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/omnichannel_create_input_record.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.omnichannel_create_input_record.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 46d607512b0601de49cbc016b81e322950f60d7084b022a7ff850a2b3d7f9d9a
description: If you build a flow to route work based on field values in a Salesforce record, use a record variable to store the record.
products:
  - Service Cloud
release: "264"
---
# Create the input\_record

If you build a flow to route work based on field values in a Salesforce record, use a record variable to store the record.

<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 input\_record.
4. For **Data Type**, select **Record**.
5. For **Object**, select the Salesforce object.
    
    For example, to route chats based on the field values in the Chat Transcript record, select **Chat Transcript**. For calls, select **Voice Call**.
6. Under **Availability Outside the Flow**, select **Available for input**.
7. Click **Done**.
    
    ![New variable named input\_record](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/omnichannel/omnichannel_create_input_record.png)