Parameters
Hide parameters
Hide parameters
ID
This field maps to the destination API id field.Copy
Ask AI
{
"$result_object_key": {
"has_forms_after_welcome": true,
"id": "567890",
"name": "New Patient Onboarding",
"onboarding_items": [
{
"completed_onboarding_item": {
"id": "123456",
"item_id": "789012"
},
"display_name": "Complete Initial Assessment",
"id": "456789",
"incomplete_custom_module_form_id": "234567",
"is_last_item": false,
"item_id": "345678"
}
],
"organization_has_multiple_providers": true
}
}
Copy
Ask AI
{
"$result_object_key": {
"has_forms_after_welcome": "Indicates if there are forms to complete after the welcome screen",
"id": "Unique identifier for the onboarding flow",
"name": "Name of the onboarding flow",
"onboarding_items": {
"completed_onboarding_item": {
"id": "Unique identifier for the completed onboarding item",
"item_id": "ID of the associated onboarding item"
},
"display_name": "Display name of the onboarding item",
"id": "Unique identifier for the onboarding item",
"incomplete_custom_module_form_id": "ID of the custom module form that needs to be completed",
"is_last_item": "Indicates if this is the last item in the onboarding flow",
"item_id": "Secondary identifier for the onboarding item"
},
"organization_has_multiple_providers": "Indicates if the organization has multiple providers"
}
}
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
Unique identifier for the onboarding flow
CEL
Copy
Ask AI
$result_object_key.id
Example
Copy
Ask AI
"567890"
Name of the onboarding flow
CEL
Copy
Ask AI
$result_object_key.name
Example
Copy
Ask AI
"New Patient Onboarding"
Indicates if the organization has multiple providers
CEL
Copy
Ask AI
$result_object_key.organization_has_multiple_providers
Example
Copy
Ask AI
true
Indicates if there are forms to complete after the welcome screen
CEL
Copy
Ask AI
$result_object_key.has_forms_after_welcome
Example
Copy
Ask AI
true
List of onboarding items in this flow
CEL
Copy
Ask AI
$result_object_key.onboarding_items
Example
Copy
Ask AI
[
{
"completed_onboarding_item": {
"id": "123456",
"item_id": "789012"
},
"display_name": "Complete Initial Assessment",
"id": "456789",
"incomplete_custom_module_form_id": "234567",
"is_last_item": false,
"item_id": "345678"
}
]
Mapped array of: Unique identifier for the onboarding item
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.id)
Example
Copy
Ask AI
[
"456789"
]
Mapped array of: Secondary identifier for the onboarding item
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.item_id)
Example
Copy
Ask AI
[
"345678"
]
Mapped array of: Display name of the onboarding item
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.display_name)
Example
Copy
Ask AI
[
"Complete Initial Assessment"
]
Mapped array of: ID of the custom module form that needs to be completed
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.incomplete_custom_module_form_id)
Example
Copy
Ask AI
[
"234567"
]
Mapped array of: Indicates if this is the last item in the onboarding flow
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.is_last_item)
Example
Copy
Ask AI
[
false
]
Mapped array of: Information about the completion status of this item
CEL
Copy
Ask AI
$result_object_key.onboarding_items.map(x, x.completed_onboarding_item)
Example
Copy
Ask AI
[
{
"id": "123456",
"item_id": "789012"
}
]
