Skip to main content

Fin for Salesforce managed package

This article is for Salesforce System Administrators setting up Fin AI Agent with Salesforce Cases or Fin Messenger. It is available on plans that include the Salesforce integration — check your Intercom plan if you're unsure.

The Fin for Salesforce managed package gives Fin the Salesforce permissions and custom case fields it needs to create, read, and update Salesforce cases on behalf of your customers. A managed package is a container of Salesforce metadata — fields, permission sets, and related configuration — that is automatically added to your Salesforce org when you install it. The managed package installs the following components:

What custom fields does the Fin for Salesforce package add to Salesforce?

The managed package adds four custom fields to the Salesforce Case object. These fields allow Fin to track its involvement, resolution state, spam detection, and conversation ID on each case. If you're creating these fields manually instead of installing the package, the Application Programming Interface (API) names must match exactly.

Field Name

Metadata

finai__FinInvolved__c

Stores whether Fin was involved in this case

  • Type: Checkbox

  • Label: FinInvolved

  • Default Value: false

finai__FinResolutionState__c

Stores Fin's resolution state

  • Type: Picklist

  • Label: FinResolutionState

  • Values:

    • Soft Resolution
      ​(API Name: soft_resolution)

    • Hard Resolution
      ​(API Name: hard_resolution)

    • Routed to Team
      ​(API Name: routed_to_team)

    • Abandoned
      ​(API Name: abandoned_negative_feedback)

finai__FinMarkedAsSpam__c
Stores whether the conversation has been marked as spam by Fin

  • Type: Checkbox

  • Label: FinMarkedAsSpam

  • Default Value: false

finai__FinConversationId__c
Stores the conversation identifier for linking to the Fin platform

  • Label: FinConversationId

  • Length: 255 characters

If your org uses the older version of the package, or you created these fields by hand, the names have no finai__ prefix.

Note: FinConversationId__c is a Text field (type: Text, max length: 255 characters). Ensure this is set correctly when creating the field manually.


What permissions does the Fin for Salesforce package require?

The package installs a permission set called Fin for Salesforce permissions (API name: finai__Fin_for_Salesforce_permissions). It gives access to the four Fin fields only. Fin's Salesforce user also needs a second permission set that you create, with the permissions listed below. See Step 2 of Upgrading your Salesforce connection for how to set this up.

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

Current version: fields and permission set now use the finai__ prefix. Adds the External Client App connection and a data migration script (FinCaseFieldMigrator).

v1.0 - Version 1

  • Creates 4 custom case fields FinInvolved__c, FinResolutionState__c, FinMarkedAsSpam__c & FinConversationId__c

  • Creates 1 permission set named Fin for Salesforce permissions


FAQs

How do I install the Fin for Salesforce package?

The managed package is installed through the Connect page in your Fin workspace. Go to Connect, click the Connect button next to the organization type you want to connect, then click Install Package. Select Install for all users and wait for the installation to finish.

What do I do if I do not want to install the package?

If you prefer not to install the unlocked package, you can manually create the same Salesforce components. Follow these steps to set up Fin for Salesforce without installing the package:

  1. Create the four custom Case fields defined in the "What custom fields does the Fin for Salesforce package add to Salesforce?" section of this article: FinInvolved__c, FinResolutionState__c, FinMarkedAsSpam__c, and FinConversationId__c. The API names must match exactly as documented.

  2. Create a PermissionSet with the object permissions, field permissions, and system permissions listed in the "What permissions does the Fin for Salesforce package require?" section of this article. The API name of the PermissionSet must be exactly Fin_for_Salesforce_permissions. This will unlock the Assign permissions in Salesforce step in your Connect flow.

  3. Assign the PermissionSet to the Salesforce user that connected Fin to Salesforce.

  4. Future updates to the package will be documented in the changelog.

How do I migrate from the unmanaged package?

To move from the older package to the current one, follow Upgrading your Salesforce connection. It includes a script that copies your existing case data to the new fields, so you don't need to export and re-import anything.

Optional approach:

Manually add or update components from the managed package documented in this article. Updates to the managed package will be documented here in the changelog.

Note: The unmanaged package does not support upgrades. This means new fields and components added in future releases — such as FinMarkedAsSpam__c and FinConversationId__c — will not be automatically available to orgs still on the unmanaged package. While Fin will continue working for existing functionality, you'll miss new features that require additional fields or permissions. Migrating to the managed package is the recommended path to stay current. Future additions will be documented in the changelog above.

Which fields does Fin update during the upgrade?

While your org has both the old and new versions of the Fin fields, Fin updates both. Once you uninstall the old package, Fin updates only the finai__ fields. This happens automatically and doesn't depend on the "Use External Client App credentials" setting. Fin can only update the finai__ fields if its Salesforce user has the finai__Fin_for_Salesforce_permissions permission set, as described in Step 2.


💡Tip

Need more help? Get support from our Community Forum
Find answers and get help from Intercom Support and Community Experts


Did this answer your question?