Integrating a policy administration system

Which key each insurance object takes in an upsert, the order to load them in, how statuses translate and what the integration user needs.

How do you feed Financial Services Cloud from an external system that administers the policies, so that each record arrives once, in order and with a status the policy component understands? This page answers object by object: which key each one accepts, the order they load in, how statuses translate and which user writes.

Who administers and who serves

A policy administration system is the application where the insurer issues, changes and cancels policies and where claims are handled. Help calls it the “core policy management system” and is clear about which way the data flows: policy and claim alerts are pushed “from” that system.

In this split, Salesforce serves the policy and does not administer it. The external system decides; Salesforce keeps a copy that the relationship manager reads alongside the rest of the client relationship. An integration layer sits between the two, here MuleSoft, which translates formats and retries. Why that layer pays off is explained in Core banking integration, and the object graph being filled in Insurance data model.

The key of each object

An upsert is a write that creates the record if it does not exist and updates it if it does. To decide, Salesforce looks up the value of a key. On a standard object, that key can be any field with the idLookup property, the mark the documentation puts on fields a record can be located by. If there is none, an External ID field is needed: an indexed custom field that holds the source system’s key.

Read object by object in the Winter ’27 developer guide, the insurance objects are uneven:

Object idLookup fields and key for upsert
Insurance Policy Name, SourceSystemIdentifier or UniversalPolicyNumber
Claim ReportNumber, or an external ID
Insurance Policy Transaction, Claim Item, Claim Coverage Name, if the source makes it unique
Producer Policy Assignment Name is an auto-number: an external ID
Insurance Policy Participant, Insurance Policy Coverage, Producer None: an external ID

The table uses Help’s spaced form. The key part is this page’s reading: an object with no idLookup field does not accept upsert unless an external ID is added to it. An auto-number Name does not work as a key either, because Salesforce generates it and the source does not know it.

Two warnings. SourceSystemIdentifier exists on InsurancePolicyCoverage, InsurancePolicyParticipant and Claim, but their object pages do not mark it idLookup; a given org may describe it differently, and it is worth checking with the object’s describe before designing on it. And no object page marks these fields as unique: if the value appears on two records, the upsert returns an error and writes nothing; REST API signals it with a 300 code.

The load order

Upsert lets a child link to its parent through the parent’s external key, without first querying its Salesforce ID. In exchange, the parent must already exist. From that rule and each object’s lookup fields comes an order. This page proposes it; Salesforce publishes none.

Load order of the insurance objectsA policy load creates records in seven steps, each after the one holding its parent. First Account, the client. Then Producer, which the policy's ProducerId points to. Then InsurancePolicy, the policy, which points to the client and the producer. Then InsurancePolicyParticipant, the participant, which points to the policy and the client. Then InsurancePolicyCoverage, the coverage, which points to the policy and the participant. Then InsurancePolicyTransaction, the transaction, which points to the policy. Last, Claim, which points to the policy through PolicyNumberId.AccountProducerInsurance PolicyInsurance PolicyParticipantInsurance PolicyCoverageInsurance PolicyTransactionClaim

The account goes first because the policy references it in NameInsuredId. The producer, because the policy references it in ProducerId. The participant needs the policy and the account; the coverage, the policy and the participant. The claim points to the policy through PolicyNumberId, and its ClaimItem records to the coverage that pays.

Parent and child policies follow the same rule inside a single object. ParentPolicyId holds “the parent policy that covers this policy”, for example one that bundles the auto and the home policy. Since the parent must exist, this page infers that parent policies load in a pass before their children.

Statuses that arrive from outside

The policy’s Status and the claim’s are picklists. The external system’s codes enter as values of those lists, and the issuer’s substatus code has its own field, Substatus, “the carrier system’s substatus code”.

The InsurancePolicy object page says that creating or updating a policy sets IsActive automatically from Status. Which values count as inactive is decided by a mapping: in Object Manager, the Setup page that governs each object, you tick the Inactive checkbox on each Status value. The claim has a twin mapping with the Closed checkbox and the IsClosed field. Why it matters is explained in Insurance Policies and Claims: the Policy component’s indicators filter on those two fields.

That gives a rule of this page’s own. A new code in the external system is added as a value and mapped before the first record using it arrives; otherwise the policy lands with a status the component cannot classify.

Endorsements and other transactions

An endorsement is a change to the policy in force, such as raising the sum insured. It is not written over the policy as such: it enters as InsurancePolicyTransaction, the record of “a change that affects the premium”. Its Category field is a restricted picklist with five values: Issuance, Endorsement, Renewal, Cancellation and Reinstatement.

This object has no SourceSystemIdentifier. Its possible key is Name, which is idLookup, so the source’s transaction number has to end up there or in an external ID.

API versions

Four objects do not exist in older versions of the API (application programming interface, Salesforce’s programming interface). An integration pinned to an earlier version does not see them.

Object Available from
ClaimItem 47.0
ProducerPolicyAssignment 47.0
ClaimCoverage 51.0
InsurancePolicyTransaction 51.0

The integration user

Help recommends one user per integration. The Salesforce Integration user license gives an API-only profile, and the Salesforce API Integration PSL (permission set license) adds many of an administrator’s permissions to it. REST API and SOAP API are Salesforce’s two interfaces for reading and writing record by record. MuleSoft authenticates with OAuth 2.0, the delegated-authorisation standard, if it writes through REST API, and with the login() call if it uses SOAP API or Bulk API.

Financial Services Cloud has a specific route: with that PSL and the system permission Manage Financial Services Standard Objects via Integration User, the user writes to Financial Account and related objects “without assigning additional” licences. The article names no insurance object. Another article says that, to access insurance objects and features, users need the FSC Insurance PSL, and that the PSL grants no permissions on the objects. Help does not say whether the integration route covers insurance: test it in a sandbox, a copy of the org for testing, before buying licences. Each licence is detailed in Permission Set Licenses.

Batch or real time

Bulk API 2.0 loads large volumes asynchronously and accepts upsert with the key field named in externalIdFieldName. MuleSoft’s Salesforce Connector offers both forms: the Upsert operation, which fails if External Id Field Name is not configured, and Create Job Bulk Api V2. The interface options are compared in Salesforce APIs, and the initial load can be done with Data Loader.

This page proposes the split. The full portfolio, its coverages and its transactions travel in a nightly batch with Bulk API 2.0. Issuing a policy or opening a claim, which the relationship manager expects to see within minutes, travel record by record through REST API. Both routes write with the same key, so they do not overwrite each other.

Example: life insurance at an Andorran bank

The case is invented. A bank distributes an insurer’s life policies; the insurer’s policy system connects to Salesforce through MuleSoft.

  1. Keys. The policy uses SourceSystemIdentifier with the issuer’s number. Participant and coverage get a custom external ID holding the source key.
  2. Statuses. The issuer’s nine status codes are added to Status; the four that mean lapsed or cancelled are ticked Inactive.
  3. Nightly batch. MuleSoft runs one Bulk API 2.0 job per object, in the diagram’s order, and parks the rows that come back with errors in a review queue.
  4. Endorsement. A sum-insured increase arrives as an InsurancePolicyTransaction of category Endorsement, with the issuer’s transaction number in Name.
  5. Issuance. A new policy arrives at once through REST API with the same key; that night’s batch updates it instead of duplicating it.

Which field to use as the policy key

InsurancePolicy offers three keys and it pays to pick one. The criterion is this page’s.

  • SourceSystemIdentifier when there is a single source system. It pairs with SourceSystem, which says where the record came from.
  • UniversalPolicyNumber when several systems contribute policies: its object page defines it as the number that identifies the policy “across different source systems”.
  • Name only if the visible policy number is unique across the whole source. If two lines of business repeat it, the upsert fails on both.

Limits and considerations

Limit or consideration Value
Objects with no idLookup field Insurance Policy Participant, Insurance Policy Coverage, Producer
Uniqueness No object page marks the insurance idLookup fields as unique
Repeated key Error; in REST API, a 300 code; in a batch, an error on each repeated row
Missing parent The child’s upsert fails: the parent must exist
IsActive Derived from Status when the policy is created or updated
Transaction category Restricted picklist of five values
Minimum API version 47.0 for Claim Item and Producer Policy Assignment; 51.0 for Claim Coverage and Insurance Policy Transaction
Integration user and insurance Coverage undocumented; test in a sandbox

Before using it in production

  1. Choose the policy key and do not change it later (see “Which field to use as the policy key”).
  2. Create the external IDs on the objects with no idLookup field (see “The key of each object”).
  3. Describe the key fields in the org and confirm whether they are idLookup (see “The key of each object”).
  4. Add and map every source status code before the first load (see “Statuses that arrive from outside”).
  5. Fix the load order and load parent policies before child policies (see “The load order”).
  6. Pin the integration’s API version at 51.0 or later (see “API versions”).
  7. Test in a sandbox that the integration user writes to the insurance objects (see “The integration user”).

Official sources

Back to the knowledge base