Launchpad by Pegasystems icon

Launchpad by Pegasystems

Consume Pega Launchpad API

User → Create Persona

AI-generated

Summary

Creates a new persona object in Pega Launchpad by POSTing the given persona ID and JSON content to the Launchpad objects API.

Inputs

  • authentication — Authentication method; only OAuth2 is available (uses the pegalaunchpadOAuth2Api credential).
  • baseUrl (required) — Base URL of the Pega Launchpad instance, e.g. https://your-pega-domain.com. A trailing slash is stripped.
  • personaId (required) — The persona ID, sent as objectTypeID (e.g. Admin).
  • content — JSON object with the persona's field values, sent as content. Defaults to {}. Invalid JSON raises an error naming the content field.

Output shape

One output item per input item, containing the parsed JSON response body from Pega (the created object's data) plus a responseHeaders object with the HTTP response headers.

Each input item triggers its own POST to /dx/api/application/v2/objects. If Continue On Fail is enabled, a failed item yields {error: message} instead of stopping the run. Header values are flattened to strings, numbers or booleans. Non-JSON bodies are wrapped as rawBody.

Examples

Example 1: Create an Admin persona with no extra data

Resource: User, Operation: Create Persona, Base URL: https://myorg.pega.com, Persona ID: Admin, Content: {}

Example 2: Create a persona from fields in an upstream node

Persona ID: Manager, Content: expression building JSON from the incoming item, e.g. {"Name": "{{$json.name}}"}

Links

Discussion