You are here:
Insurance Account Record Header Component
This component shows brokers a snapshot of data about the account they're looking at. This info can help them contact the account holder and chat about the weather in their location as an icebreaker.
-
FlexCard: insAccountHeader
-
LWC: cfInsAccountHeader
-
Label: Insurance Account Record Header
This component is optimized for either desktop or mobile.
-
Icon for the Account
-
Account name
-
Account physical address
-
Contact phone number
-
Revenue
-
Weather at the account location
-
Map that displays the location of the account
FlexCard Structure
The FlexCard structure you can work with looks like this:
-
insRecordHeader Custom LWC
This LWC structures data pulled from the record by the data source and adds the weather component from Google.
Data Sources Called by this Component
This component calls an Integration Procedure named InsRecordHeader_getDetails as its data source.
The JSON output of this Integration Procedure looks like this:
{
"recordImage": "https://url.to/companylogo.jpg",
"recordName": "Edge Communications",
"fallbackIcon": "standard:account",
"backgroundImage": "https://maps.googleapis.com/maps/api/staticmap?center=Salesforce%20Tower&size=400x300&key=API_KEY",
"fields": {
"Address": "123 Front St. San Francisco, CA 94040",
"Lead Agent": "Aaron Smith",
"Client Phone": "(512) 757-6000",
"Total Premium": "$3,100.00",
"Total Commission": "$425.00"
},
"weather": {
"icon": "http://openweathermap.org/img/wn/10d.png",
"description": "Sunny",
"temperature": 75
},
"status": {
"value": "Active",
"fontColor": "#0070d2",
"backgroundColor": "#b0c4df"
}
}If you want to change what data is pulled into the Account Record Header, you can open and make changes to this Integration Procedure.
Customize this Component
To learn about how to customize this kind of component, see the Digital Experience Site Component Customization Overview
- Change the API Keys for Google Map
You'll probably need to change the API key for the Google Map object on this component. You do this in the Integration Procedure.

