Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
Create Accounts Invocable Action

Create Accounts Invocable Action

Create person account records of the specified type for group census members.

Tip
Tip To prevent the creation of duplicate records, use the matchingKeysList input.

This action is available in API version 59.0 and later.

Enable person accounts for Carrier Admin or other roles. To learn how to enable person account, see Enable Person Accounts.

Supported REST HTTP Methods

URI

services/data/vXX.X/actions/standard/creaPersAccountsFromGrpCensMbr

Formats

JSON

HTTP Methods

GET, POST

Authentication

Authorization: Bearer token

Inputs

Input Details
groupCensusMembers

Type

Collection

Description

A collection of group census member records to create accounts for.

matchingKeysList

Type

Text

Description

A comma-delimited list of Account object fields to use to detect duplicate account records. If an existing record has matching keys, the action skips the creation of a new record.

recordTypeName

Type

Text

Description

The name of the record type to use to create the person accounts.

Outputs

Output Details
accountIds

Description

A collection of account IDs created by the action.

Usage

Sample Request

{
  "groupCensusMembers": [
    {"Id": "0r6xx00000003dpAAA"},
    {"Id": "0r6xx00000003fRAAQ"}
  ],
  "matchingKeysList": "FirstName,LastName,PersonEmail",
  "recordTypeName": "SamplePersonAccountType"
}
 
Loading
Salesforce Help | Article