What is an unlocked package?
An unlocked package in Salesforce is a container of metadata that's added to your Salesforce organization on installation.
What is in the Fin for Salesforce package?
The Fin for Salesforce unlocked package contains the following components.
Custom Fields on Case Object
Field Name | Metadata |
FinInvolved__c Stores whether Fin was involved in this case |
|
FinResolutionState__c Stores Fin's resolution state |
|
FinMarkedAsSpam__c |
|
FinConversationId__c |
|
Fin for Salesforce permission set
It creates a comprehensive PermissionSet named Fin for Salesforce permissions (API Name: Fin_for_Salesforce_permissions) that provides:
Object Permissions
Case: Create, Read, Edit (no Delete, no Modify/View All Records)
Contact: Read, Edit (no Create/Delete, no Modify/View All Records)
Account: Read, Edit (no Create/Delete, no Modify/View All Records)
Field Permissions (Read and Edit access)
Case Fields: ContactId, Description, FinInvolved__c, FinMarkedAsSpam__c, FinConversationId__c, FinResolutionState__c, Origin, SourceId, Subject, SuppliedEmail, SuppliedName
Contact Fields: Email
Task Fields: ActivityDate, Description, Type, WhatId, WhoId
System Permissions
API Enabled
Can Insert Feed System Fields
Edit Task
View All Users
View Roles
View Setup
Changelog
v1.0 - Version 1
Creates 4 custom case fields
FinInvolved__c,FinResolutionState__c,FinMarkedAsSpam__c&FinConversationId__cCreates 1 permission set named
Fin for Salesforce permissions
FAQ
How do I install the Fin for Salesforce package?
The package is linked in the deploy step in the Fin Messenger and Salesforce Cases channel. You can also install it from the links below
OR
What do I do if I do not want to install the package?
Create the custom case fields listed above. Ensure the API names are exactly the same.
Create a PermissionSet mimicking the one above, ensure the API name of the PermissionSet is the same, this will unlock the Install and assign permissions in the Salesforce step in your deploy flow.
Assign the PermissionSet to the Salesforce user that connected Fin to Salesforce.
Future updates to the package will be documented in the changelog.
How do I migrate from the unmanaged package?
Preferred approach
Pause Fin
Unassign the Salesforce user from the Intercom Fin AI permission PermissionSet, this will allow you to uninstall the unmanaged package.
Uninstall the unmanaged package and be sure to save the data as you will lose data in the FinInvolved__c & FinResolutionState__c fields.
Download the saved data as a .csv file by clicking on Data
Go to Settings > Salesforce Integration > Install and assign permissions in Salesforce
Hit Install Fin for Salesforce
Once installed you can leverage the DataLoader to import the csv file from step 4 and update your Cases with FinInvolved__c & FinResolutionState__c.
Optional approach
Manually add or update components from the unlocked package documented in this article. Updates to the unlocked package will be documented here in the changelog.
NOTE: Updates to the package will be documented in this article. It is however preferred to move over to the unlocked package to benefit from upgrades.
For example, FinMarkedAsSpam__c & FinConversationId__c are two new fields added that are not available in the unmanaged package as we it does not support upgrades.


