> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.ada.cx/docs/handoffs/salesforce/salesforce-messaging/salesforce-messaging-field-mapping/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ada.cx/_mcp/server. # Salesforce Messaging field mapping ## Overview Update and map custom fields in the **Salesforce Messaging** [Handoff](/docs/handoffs) block to pass additional information from your Ada AI Agent to Salesforce during Handoffs. ### Prerequisites Before beginning, ensure that the fields you want to add to the block are already set in the Pre-Chat fields in your **embedded service deployment**. > **Note** > > Ensure that **Activate the pre-chat feature** is selected and **Pre-Chat Display Frequency** is set to **Every Session**. If you are configuring these for the first time, make sure to save them and then publish your embedded service deployment so those changes appear. > > ![Pre-chat fields configuration](/_fern-img/43f94426f149026f2a8ab447e5d1694ec747706a98931ca14c33999f2d76dbe1.webp) ## Quick start Complete these steps to update field mapping. See [Implementation & usage](#implementation--usage) for detailed instructions. #### Configure Pre-Chat fields in Salesforce Set up the fields in your embedded service deployment with the pre-chat feature activated. #### Gather field information Identify the description, display\_name, and id (Parameter API Name) for each field. #### Share with your Ada team Provide the field information to your Ada team to update the Handoff block configuration. ## Implementation & usage Update the field mapping in the [Handoff](/docs/handoffs) block to pass additional data to Salesforce. ### Update field mapping Share the required field information with your Ada team to configure custom field mappings. **To update field mapping:** 1. Identify the key fields required to map: * **description**: Name of the field provided by the customer. * **display\_name**: The Parameter Name displayed in the block. * **id**: The Parameter API Name provided by the customer from their Salesforce Custom Parameters/Parameter Mappings. This is the **most important** field required to ensure correct mapping. ![Parameter API Name](/_fern-img/10c760a7a97ccfc55db61d4073c4fbbff261bb98e187ae076e9c2b54c522eb3e.webp) 2. Share this information with your Ada team. Once configured, these fields will be available as optional inputs in the **Salesforce Messaging Utils** block. --- Have any questions? Contact your Ada team, or email us at [](mailto:help@ada.cx?subject=Help%20Docs%20inquiry).