CreateActor

The CreateActor action creates a new Actor for any Persona (User or Agent). The action will create a new Actor for the “persona_id” you pass for the integration-connector pair “integration_idn” and “connector_idn.”

The action will return the universally unique identifier (UUID) of the actor created. You can specify the local timezone for the Actor using any identifiers from this list.

CreateActor(
      integrationIdn="<Idn of the integration>",
      connectorIdn="<Idn of the integration>",
      externalId="<External ID of the Actor>",
      personaId=<persona_id>,
      timeZone="TZ identifier" | None
)

Example

{{set(name="persona_id", value=CreatePersona(name="My User Persona name"))}}
{{set(
    name="actor_id",
    value=CreateActor(
        integrationIdn="sandbox",
        connectorIdn="connector",
        externalId="1234567890",
        personaId=persona_id,
        timeZone="America/Los_Angeles"
    )
)}}
UUID of the actor created. For example, “2b3614g4-ca14-4555-947a-8f8d78cda019.”