The GetActor aсtion retrieves a specific field value of a specific Actor. Specify the Actor you want to get by passing its UUID. If the Actor UUID is omitted, the current Actor will be used (i.e., the Actor whose context you are currently in). Specify the name of the field you want to get by passing its name in the field parameter.

GetActor(
  field="id | name | timeZone | integrationIdn | connectorIdn | externalId | personaId",
  id= "<Id of an Actor>" | None
)

Example 1

{{set(name="external_id", value=GetActor(field="externalId"))}}
{{SendMessage(message=external_id)}}
External ID of the current actor. For example, “s2SiH1.”

Example 2

{{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"
    )
)}}
{{set(name="time_zone", value=GetActor(field="timeZone"))}}
{{SendMessage(message=time_zone)}}
America/Los_Angeles