Search Order
Perform Search Order through Brightree.
brightree_search_orderUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "Brightree",
"params": {
"page": 1,
"fetch_all": false,
"page_size": 50
},
"handler": "brightree_search_order"
}Inputs
- Patient Key
patient_keynumberOptional numeric value.
- Order Status
order_statusselectOptional selected identifier or value.
Options: New ("New"), Active ("Active"), On-Hold ("On-Hold"), Delivered ("Delivered"), Closed ("Closed"), Stopped ("Stopped")
- Classification
classificationselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Order Branches
order_branchesmulti_selectOptional list of selected values.
- Fetch All
fetch_allbooleanOptional true-or-false value.
Default:
false - Page
pagenumberOptional numeric value.
Default:
1 - Page Size
page_sizeselectOptional selected identifier or value.
Default:
50Options: 10 (10), 25 (25), 50 (50)
Outputs
successSuccesscompleteCompleteordersOrderssales_order_keysSales Order KeyscountCounttotal_itemsTotal Itemstotal_pagesTotal Pagescurrent_pageCurrent PagepagePagepage_sizePage Sizefetch_allFetch Allorder_statusOrder Statuspatient_keyPatient KeymessageMessageerrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"page": {
"type": "number",
"default": 1,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"fetch_all": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"page_size": {
"enum": [
10,
25,
50
],
"type": "number",
"default": 50,
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"patient_key": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"order_status": {
"enum": [
"New",
"Active",
"On-Hold",
"Delivered",
"Closed",
"Stopped"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"classification": {
"type": "string",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
},
"order_branches": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional list of selected values.",
"x-workflow-field-type": "multi_select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"page": {},
"count": {},
"error": {},
"orders": {},
"message": {},
"success": {},
"complete": {},
"fetch_all": {},
"page_size": {},
"patient_key": {},
"total_items": {},
"total_pages": {},
"current_page": {},
"order_status": {},
"error_message": {},
"sales_order_keys": {}
},
"additionalProperties": true
}