Loading
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          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