Find Sales Orders in WIP State
Perform Find Sales Orders in WIP State through Brightree.
brightree_search_sales_orders_by_wip_stateUse 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": {
"shard_count": 1,
"shard_index": 0,
"order_statuses": [
"New",
"Active"
],
"max_orders_to_read": 1000,
"created_within_days": 0
},
"handler": "brightree_search_sales_orders_by_wip_state"
}Inputs
- Wip States
wip_statesmulti_selectrequireddynamic optionsRequired list of selected values. Retrieve allowed values from the dynamic options endpoint.
- Order Statuses
order_statusesmulti_selectOptional list of selected values.
Default:
["New","Active"]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.
- Created Within Days
created_within_daysnumberOptional numeric value.
Default:
0 - Max Orders To Read
max_orders_to_readnumberOptional numeric value.
Default:
1000 - Shard Count
shard_countnumberOptional numeric value.
Default:
1 - Shard Index
shard_indexnumberOptional numeric value.
Default:
0
Outputs
successSuccesscompleteCompleteordersOrderssales_order_keysSales Order KeyscountCountscanned_countScanned Countsearched_countSearched Countsearched_statusesSearched Statusescreated_fromCreated Fromwip_statesWip Statesshard_indexShard Indexshard_countShard CountmessageMessageerrorErrorerror_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",
"required": [
"wip_states"
],
"properties": {
"wip_states": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required list of selected values. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "multi_select"
},
"shard_count": {
"type": "number",
"default": 1,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"shard_index": {
"type": "number",
"default": 0,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"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"
},
"order_statuses": {
"type": "array",
"items": {
"enum": [
"New",
"Active",
"On-Hold",
"Delivered",
"Closed",
"Stopped"
],
"type": "string"
},
"default": [
"New",
"Active"
],
"description": "Optional list of selected values.",
"x-workflow-field-type": "multi_select"
},
"max_orders_to_read": {
"type": "number",
"default": 1000,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"created_within_days": {
"type": "number",
"default": 0,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"orders": {},
"message": {},
"success": {},
"complete": {},
"wip_states": {},
"shard_count": {},
"shard_index": {},
"created_from": {},
"error_message": {},
"scanned_count": {},
"searched_count": {},
"sales_order_keys": {},
"searched_statuses": {}
},
"additionalProperties": true
}