---
schema_version: "1"
id: 1740bb6ee98ff935b1addaac662e129df44470a8fd9282274a9e5fd3965fe7ad
title: Input Variables for the Recommendation Strategy Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/voice_conversation_intelligence_recommendation_strategy_flow_vars.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.voice_conversation_intelligence_recommendation_strategy_flow_vars.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7802f486e3ed22752c1cc4c79407d35a9a70c6678f66fa953a8b7d5853ab97b7
description: To pass input to the Recommendation Strategy flow, add variables to the flow. Creating a Recommendation Strategy flow adds the recordId and outputRecommendations variables, by default.
products:
  - Service Cloud
release: "264"
---
# Input Variables for the Recommendation Strategy Flow

To pass input to the Recommendation Strategy flow, add variables to the flow. Creating a Recommendation Strategy flow adds the recordId and outputRecommendations variables, by default.

You can add these types of input variables to the flow.

 
| Variable API Name | Description |
| --- | --- |
| intelligenceSignals | Stores a collection of intelligence signal types. Required if you’re passing intelligence signals to the flow. To use an intelligenceSignals input variable for a Next Best Action flow, turn on the Use an Apex-Defined Variable for All Intelligence Signal Types release update. The update is available starting in Summer ’24 and will be enforced in Spring ’25. |
| ruleDevName | Dev name of the Conversation Intelligence rule. Required for keyword rules only. To use a rule input variable for a Next Best Action or autolaunched flow, turn on the feature. See [Pass the Rule Name as Input to a Flow](https://help.salesforce.com/s/articleView?id=service.voice_conversation_intelligence_rule_pass.htm&release=264.0.0&type=5 "To pass a list of keywords to a Next Best Action or autolaunched flow, add an input variable that stores the Conversation Intelligence rule developer name. To use the keywords in a flow, add the input variable to the flow."). |

Depending on the type of variable, enter these variable settings.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Variable Setting</td>

          <td class="slds-cell-wrap" style="vertical-align:top;"><var>intelligenceSignals variable</var></td>

          <td class="slds-cell-wrap" style="vertical-align:top;"><var>ruleDevName variable</var></td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Resource Type</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Variable</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Variable</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>API Name</p>
            <p style="margin-bottom:0;">(case-sensitive)</p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>intelligenceSignals</p>
            <p style="margin-bottom:0;">This setting applies if you declaratively created the Conversation Intelligence
              rule. If you programmatically created the rule with <a href="https://developer.salesforce.com/docs/component-library/bundle/lightning-service-cloud-voice-toolkit-api/documentation" target="_blank">Service Cloud Voice Toolkit API</a>, set the API
              name to the name of the attribute in the updateNextBestActions method payload.</p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">ruleDevName</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Data Type</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Apex-Defined</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">Text</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Allow multiple values (collection)</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">false</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">false</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Apex Class</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>EnhancedChannel__IntelligenceSignals</p>
            <p style="margin-bottom:0;"><em>Don’t use EnhancedChannel__EinsteinIntelligenceSignals.</em></p>
          </td>

          <td class="slds-cell-wrap" style="vertical-align:top;">n/a</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available for input</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">true</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">true</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available for output</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">false</td>

          <td class="slds-cell-wrap" style="vertical-align:top;">false</td>

        </tr>
      </tbody>
    </table>

Here’s a sample definition for the intelligenceSignals variable.

![New Resource page](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/voice_intelligence/voice_new_resource_intelligenceSignalsVariable.png)