This article provides a detailed overview of what is included in the Aligned <> Salesforce package, including custom objects, fields, components, and report types, and how they enhance your CRM workflows and reporting capabilities. It describes package version 1.9. If you are upgrading from an earlier version, see Upgrading to package version 1.9 below for the page layout updates needed after the upgrade.
Custom Objects
What Are Custom Objects?
A Custom Object in Salesforce is a data table used to store information not covered by standard objects (like Account, Contact, or Opportunity). It helps model business-specific data and processes that are critical to your operations.
The Aligned package includes two custom objects, which form the backbone of our reporting and integration capabilities:
1. Aligned Room
API Name: AlignedPkg__Aligned_Room__c
Relationship: 1 Aligned Room record per Salesforce object (Account, Lead, or Opportunity)
Field Name | Field Type | Description |
Account | Lookup (Account) | Links the room to an Account |
Active Room | Checkbox | Indicates if the room is currently active |
Aligned Room Name | Text (80) | Name of the Aligned Room |
Created At | Date | Creation date of the room |
Created By | Lookup (User) | User who created the record |
Last Modified By | Lookup (User) | User who last modified the record |
Last Room Visit | Date | Last recorded visit to the room |
Lead | Lookup (Lead) | Links the room to a Lead |
Opportunity | Lookup (Opportunity) | Links the room to an Opportunity |
Owner | Lookup (User, Group) | Record owner |
Room ID | Text (245) | Unique Room identifier |
Room Owner Email | Text (245) | Email of the user who owns the room |
Room Trend | Text (245) | Summarized activity trend |
Room URL | URL (255) | Direct link to the room |
Total AI Chats | Number (18, 0) | Count of AI interactions in the room |
Total Comments | Number (18, 0) | Total comments made in the room |
Total Interactions | Number (18, 0) | Sum of meaningful engagement events |
Total Room Visits | Number (18, 0) | Number of unique room visits |
Total Time Spent | Text (245) | Aggregated session time (text format) |
Total Time Spent Deprecated | Number (18, 0) | Previous version of time spent field |
Total Visitors | Number (18, 0) | Number of unique visitors |
2. Aligned Activity
API Name: AlignedPkg__Aligned_Activity__c
Relationship: Multiple activities can be linked to a single Aligned Room
Field Name | Field Type | Description |
Activity Date | Date | Date when the activity occurred |
Aligned Activity Name | Text (80) | Describes the event (e.g., "Viewed tab") |
Aligned Room | Lookup (Aligned Room) | Links to the related Aligned Room |
Client Engagement | Text (245) | Describes the user action in detail |
🆕 Contact | Lookup (Contact) | The Salesforce Contact matched to the visitor's email address. Blank for anonymous visitors |
🆕 Content Name | Text (255) | Name of the file or link the visitor opened |
🆕 Content Type | Text (255) | Type of content the visitor opened (e.g., "PDF", "Video", "Link") |
Created By | Lookup (User) | User who created the record |
Last Modified By | Lookup (User) | Last user to modify the record |
Owner | Lookup (User, Group) | Record owner |
Room ID | Text (245) | Reference ID of the room |
Room URL | URL (255) | Link to the room |
🆕 Section | Text (255) | Name of the room section where the activity happened |
🆕 Tab | Text (255) | Name of the room tab where the activity happened |
🆕 Time Viewed | Formula (Text) | Time the visitor spent viewing the content, in a readable format |
🆕 Time Viewed (Seconds) | Number (9, 0) | Time the visitor spent viewing the content, in seconds. Time Viewed is calculated from this field |
Visitor Email | Text (245) | Visitor's email address or "Someone" |
Visitor ID | Text (245) | Unique visitor identifier |
Visitor Name | Text (245) | Visitor's name or "Anonymous" |
Upgrading to package version 1.9
Version 1.9 of the Aligned package adds new fields to the Aligned Activity object: Contact, Content Name, Content Type, Section, Tab, Time Viewed, and Time Viewed (Seconds). With these fields, each activity shows which content the visitor opened, where in the room it happened, how long they spent on it, and which Salesforce Contact the visitor matches. The new fields are filled in for activities recorded after the upgrade. Activities recorded before the upgrade are not updated.
To check which version you have, in Salesforce go to Setup → Installed Packages and find Aligned. The version appears in the Version Number column.
If you're installing the Aligned package for the first time, version 1.9 already includes the new fields and page layouts, and you can skip this section.
Install the update
When a new package version is available, the Salesforce integration in Aligned shows a banner saying a package update is required.
In Aligned, go to Admin Center → Integrations.
On the Salesforce integration, click Update now.
Follow the instructions in the window that opens.
Add the new fields to the Aligned Activity layout
When you upgrade an existing installation, Salesforce does not add new fields to page layouts you already have. After installing the update, a Salesforce System Administrator needs to make the two layout updates below so the new data appears on your records.
In Salesforce, go to Setup → Object Manager → Aligned Activity → Page Layouts → Aligned Activity Layout.
From the Fields palette, drag these fields into the Aligned Activity Detail section: Tab, Section, Content Name, Content Type, Contact, and Time Viewed.
Click Save.
We recommend adding Time Viewed, which shows viewing time in a readable format. Adding Time Viewed (Seconds) is optional.
Add Aligned Activities to the Contact layout
In Salesforce, go to Setup → Object Manager → Contact → Page Layouts → Contact Layout.
In the palette, select Related Lists, then drag Aligned Activities into the layout.
Click Save.
Custom Components on Standard Objects
Enriched Standard Objects
The package enhances Account, Lead, and Opportunity objects with custom fields and a button for seamless integration with the Aligned platform.
Custom Field: Aligned Room
Field Name | Field Type | Description |
Aligned Room | URL (255) | Link to the associated Aligned Room |
Custom Button: Create Aligned Room
Label | Type | Description |
Create Aligned Room | Detail Page Button | Opens a new tab in Aligned and initiates the room creation flow, automatically connecting it to the Salesforce record. |
Contact Object Enhancements
The Contact object in Salesforce stores details about individual people, typically related to an Account. In the context of the Aligned integration:
If a visitor is identifiable by email and does not already exist in Salesforce, a new Contact is created automatically and linked to the appropriate Account.
Starting with package version 1.9, each Aligned Activity is linked to the Salesforce Contact that matches the visitor's email address, through the Contact field on the activity. This applies both to Contacts that already existed in Salesforce and to Contacts the integration creates automatically. Activities by anonymous visitors are not linked to a Contact.
Activities are linked to Contacts only after the upgrade steps in Salesforce are complete, and only for new visitor sessions. It can take a few minutes for a new activity to appear on the Contact.
To see a Contact's room activity on the Contact record, add the Aligned Activities related list to the Contact page layout. The steps are in the Upgrading to package version 1.9 section above.
Custom Field on Contact
Field Name | Field Type | Description |
Aligned Contact Source | Picklist | Default is empty; set to "Aligned Room" for integration-created contacts |
Custom Report Types
Custom Report Types in Salesforce allow you to predefine the relationships between objects and control which fields are available for reporting. This enables users to create meaningful reports based on integrated data, without requiring complex joins or development.
The Aligned <> Salesforce package includes custom report types to simplify analysis of rooms, activities, and engagement linked to core CRM objects like Accounts.
Accounts with Aligned Rooms
This custom report type lets you generate reports that display Accounts with one or more related Aligned Room records. It’s useful for understanding customer engagement across the organization.
Details
Attribute | Value |
Display Label | Accounts with Aligned Rooms |
API Name | Accounts_with_Aligned_Rooms |
Namespace Prefix | AlignedPkg |
Description | Accounts with Aligned Rooms |
Store in Category | Accounts |
Source Object
Primary Object: Account
Included Fields
Accounts: 60 fields available
Aligned Room: 24 fields available
Object Relationships
This report type includes:
Accounts (A)
→ with at least one related record fromAligned Room (B)
Use Cases
View which Accounts have active or inactive Aligned Rooms
Report on engagement metrics (Total Visitors, Total Time Spent, etc.) per Account
Identify top-performing rooms by Account ownership
Leads with Aligned Rooms
This custom report type lets you generate reports that display Leads with one or more related Aligned Room records. It’s useful for understanding customer engagement across the organization.
Details
Attribute | Value |
Display Label | Leads with Aligned Rooms |
API Name | Leads_with_Aligned_Rooms |
Namespace Prefix | AlignedPkg |
Description | Leads with Aligned Rooms |
Store in Category | Leads |
Source Object
Primary Object: Lead
Included Fields
Leads: all fields available
Aligned Room: all fields available
Object Relationships
This report type includes:
Leads (A)
→ with at least one related record fromAligned Room (B)
Use Cases
View which Leads have active or inactive Aligned Rooms
Report on engagement metrics (Total Visitors, Total Time Spent, etc.) per Lead
Identify top-performing rooms by Lead ownership
Opportunities with Aligned Rooms
This custom report type lets you generate reports that display Opportunities with one or more related Aligned Room records. It’s useful for understanding customer engagement across the organization.
Details
Attribute | Value |
Display Label | Opportunities with Aligned Rooms |
API Name | Opportunities_with_Aligned_Rooms |
Namespace Prefix | AlignedPkg |
Description | Opportunities with Aligned Rooms |
Store in Category | Opportunities |
Source Object
Primary Object: Opportunity
Included Fields
Opportunities: all fields available
Aligned Room: all fields available
Object Relationships
This report type includes:
Opportunities (A)
→ with at least one related record fromAligned Room (B)
Use Cases
View which Opportunities have active or inactive Aligned Rooms
Report on engagement metrics (Total Visitors, Total Time Spent, etc.) per Opportunity
Identify top-performing rooms by Opportunity ownership
Aligned Rooms with Aligned Activities
This custom report type enables detailed reporting on Aligned Room engagement events by showing rooms that have at least one related Aligned Activity record. It’s ideal for analyzing user behavior, visitor sessions, and room-specific interactions.
Details
Attribute | Value |
Display Label | Aligned Rooms with Aligned Activities |
API Name | Aligned_Rooms_with_Aligned_Activities |
Namespace Prefix | AlignedPkg |
Description | Aligned Rooms with Aligned Activities |
Store in Category | Other |
Source Object
Primary Object: Aligned Room
Included Fields
Aligned Rooms: all fields available
Aligned Activities: all fields available
Object Relationships
This report type includes:
Aligned Rooms (A)
→ with at least one related record fromAligned Activities (B)
Use Cases
Track user behavior at the room level (e.g., tab views, engagement types)
Report on frequency, type, and recency of activities per room
Identify rooms with low or high visitor interaction for performance insights
Starting with package version 1.9, report on which content visitors opened, in which tab and section, and how long they spent viewing it, using the Content Name, Content Type, Tab, Section, and Time Viewed fields
