Parameters
Copy
Ask AI
{
"$result_object_key": [
{
"appointments": [
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
],
"date_of_birth": "1950-08-04",
"email_address": "john.doe@example.com",
"first_name": "John",
"id": "131391",
"last_name": "Doe",
"record_identifier": "8e11f3ba-3167-4f47-a549-f43dc19df353"
}
]
}
Copy
Ask AI
{
"$result_object_key": [
{
"appointments": {
"appointment_datetime": "Date and time of the Appointment",
"appointment_id": "ID for the Appointment",
"created_at": "Time the appointment was created",
"provider_id": "ID of the Provider on the Appointment",
"provider_name": "Name of the Provider on the Appointment",
"updated_at": "Time the appointment was last updated"
},
"date_of_birth": "Date of birth of the User",
"email_address": "Email address of the User",
"first_name": "First name of the User",
"id": "ID for the User",
"last_name": "Last name of the User",
"record_identifier": "Record identifier for the User (external unique patient ID reference)"
}
]
}
Result Object Field Details
You can use the result of the action’s data as inputs to downstream workflow actions. Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow. Here we demonstrate how to refer to this data using the prefix$result_object_key.
Hide fields
Hide fields
ID ID for the UserCEL
Copy
Ask AI
$result_object_key[*].id
Example
Copy
Ask AI
"131391"
PII First name of the UserCEL
Copy
Ask AI
$result_object_key[*].first_name
Example
Copy
Ask AI
"John"
PII Last name of the UserCEL
Copy
Ask AI
$result_object_key[*].last_name
Example
Copy
Ask AI
"Doe"
PII Email address of the UserCEL
Copy
Ask AI
$result_object_key[*].email_address
Example
Copy
Ask AI
"john.doe@example.com"
ID Record identifier for the User (external unique patient ID reference)CEL
Copy
Ask AI
$result_object_key[*].record_identifier
Example
Copy
Ask AI
"8e11f3ba-3167-4f47-a549-f43dc19df353"
PII Date of birth of the UserCEL
Copy
Ask AI
$result_object_key[*].date_of_birth
Example
Copy
Ask AI
"1950-08-04"
List of appointments for the User
CEL
Copy
Ask AI
$result_object_key[*].appointments
Example
Copy
Ask AI
[
{
"appointment_datetime": "2024-08-17T10:30:00-04:00",
"appointment_id": "604821",
"created_at": "2024-08-15T10:31:01-04:00",
"provider_id": "224404",
"provider_name": "Dr. John Doe",
"updated_at": "2024-08-15T10:31:01-04:00"
}
]
Mapped array of: ID for the Appointment
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.appointment_id)
Example
Copy
Ask AI
[
"604821"
]
Mapped array of: Date and time of the Appointment
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.appointment_datetime)
Example
Copy
Ask AI
[
"2024-08-17T10:30:00-04:00"
]
Mapped array of: ID of the Provider on the Appointment
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.provider_id)
Example
Copy
Ask AI
[
"224404"
]
Mapped array of: Name of the Provider on the Appointment
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.provider_name)
Example
Copy
Ask AI
[
"Dr. John Doe"
]
Mapped array of: Time the appointment was created
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.created_at)
Example
Copy
Ask AI
[
"2024-08-15T10:31:01-04:00"
]
Mapped array of: Time the appointment was last updated
CEL
Copy
Ask AI
$result_object_key[*].appointments.map(x, x.updated_at)
Example
Copy
Ask AI
[
"2024-08-15T10:31:01-04:00"
]
