The user is using HYP_ tags provided by Document Generation to generate hyperlinks in the References section of the generated document. These tags allow the required fields to be displayed as clickable links, and this functionality works correctly when the Integration Procedure is executed directly.
However, the issue occurs when the same Integration Procedure is exposed to Agentforce. Agentforce does not accept underscores (_) in the key-value pair mappings, while the HYP_ tags require underscores as part of their naming convention for document generation. As a result, the user is unable to map these fields correctly while configuring the Integration Procedure for Agentforce.
This is a known limitation.
Only alphanumeric characters (A-Z, a-z, 0-9) are allowed for the Key in the key-value pair mapping.
For more information, please refer to the Salesforce documentation:
https://help.salesforce.com/s/articleView?id=xcloud.os_integrate_integration_procedures_with_agentforce.htm&type=5
Workaround
As a workaround, the user can transform the Integration Procedure input into the required format using a Data Mapper Transform within the Integration Procedure, then provide it to the actual process in IP.
The Data Mapper can be used to transform or rename the input fields so that the keys passed to the Configure Agentforce mapping contain only alphanumeric characters. This ensures that fields containing special characters, such as underscores, are not directly provided as IP inputs, to the Configure Agentforce Key-Value Mapping, thereby avoiding the limitation.
005391169

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.