HubSpot Agent Panel Fields and Mapping
Customers can choose which HubSpot fields agents see in the conversation side panel, rename the labels, change the order, and map their own Velaro contact attributes to HubSpot properties. This works for contacts, deals, tickets and companies.
What can be set
- Panel fields: for each of contact, deal, ticket and company, a list of HubSpot property names with an optional label. The order in the list is the order agents see. With nothing configured, the built-in fields are shown.
- Custom field mapping: pairs of a Velaro contact attribute and a HubSpot property. When a contact is created or synced to HubSpot, mapped values are written to the mapped properties. Core properties (email, first name, last name, phone, company) are never overwritten by a mapping. When a mapped value is synced to a HubSpot contact that already exists: if the HubSpot property is blank, the value is written right away; if it already holds a different value, the change goes to the conflict review instead of overwriting it; a blank value on the Velaro side is never written. A contact found only by phone number gets no mapped properties. The mapping is used by the agent panel sync and the after-conversation sync. The chat bot's create-contact step only fills properties that are blank in HubSpot, and only for the visitor's own verified contact, so it never replaces data already in HubSpot.
- Group override: the account default applies to every group. A single group can have its own settings; the group's settings win over the account default.
How to change it with Moshky
1. Call get_hubspot_panel_settings (teamId 0 for the account default, or a group id) to show what is set.
2. Call update_hubspot_panel_settings with objectFieldsJson and/or customFieldMappingsJson. Without confirmed=true it only returns a before and after preview. Show it to the customer and call again with confirmed=true once they agree.
3. Any change can be undone with restore_integration_setting_change using the auditId returned when it was saved.
Example objectFieldsJson: {"deal":[{"fieldName":"amount","label":"Deal value"},{"fieldName":"dealstage","label":"Stage"}]}
Example customFieldMappingsJson: [{"velaroField":"loyaltyTier","hubspotProperty":"loyalty_tier"}]
Clearing a part (an empty string) returns it to the built-in behavior.
Where it is in the app
Admin, Integrations, HubSpot, Agent panel fields and mapping. The same settings are available through the REST API, the CLI (velaro hubspot panel-settings) and the MCP tools hubspot_panel_settings_get, hubspot_panel_settings_set and hubspot_panel_settings_reset.
Was this article helpful?