Select Sales Order Templates
Perform Select Sales Order Templates through Brightree.
brightree_select_sales_order_templateswritebrightree
Inputs
- Account Key
account_keytextOptional text value.
- Classification
classificationtextOptional text value.
- Confirm Date After
confirm_date_afterdateOptional date in YYYY-MM-DD format.
- Confirm Date Lookback Days
confirm_date_lookback_daysnumberOptional numeric value.
Default:
90 - Report Limit
report_limitnumberOptional numeric value.
Default:
15000 - Target Queue Depth
target_queue_depthnumberOptional numeric value.
Default:
10 - Max Dispatch Per Run
max_dispatch_per_runnumberOptional numeric value.
- Use Local Agent
use_local_agentbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessorders_selectedOrders Selectedorder_keysOrder Keysqueue_depth_beforeQueue Depth Beforequeue_headroomQueue Headroomtarget_queue_depthTarget Queue Depthsource_systemSource Systemsource_report_nameSource Report Namesource_report_base_urlSource Report Base Urlsource_account_keySource Account Keysource_filter_summarySource Filter Summarysource_filter_rowsSource Filter Rowssource_confirm_date_after_configuredSource Confirm Date After Configuredsource_confirm_date_after_effectiveSource Confirm Date After Effectivesource_confirm_date_lookback_daysSource Confirm Date Lookback Daysraw_countRaw Countdeduped_countDeduped Countcandidate_countCandidate Counttext_filter_candidate_countText Filter Candidate Countdispatchable_countDispatchable Countrecently_excludedRecently Excludedin_flight_excludedIn Flight Excludedexhausted_excludedExhausted Excludedverification_excludedVerification Excludedverification_excluded_order_keysVerification Excluded Order Keysnot_processed_ordersNot Processed Ordersnot_processed_omitted_countNot Processed Omitted Countnot_processed_seen_countNot Processed Seen Countexhausted_alert_sentExhausted Alert Sentexhausted_alert_suppressedExhausted Alert Suppressedexhausted_alert_job_idExhausted Alert Job Idreport_cap_alert_levelReport Cap Alert Levelreport_cap_alert_sentReport Cap Alert Sentreport_cap_alert_suppressedReport Cap Alert Suppressedreport_cap_alert_job_idReport Cap Alert Job IdmessageMessageerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"account_key": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"report_limit": {
"type": "number",
"default": 15000,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"classification": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"use_local_agent": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"confirm_date_after": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"target_queue_depth": {
"type": "number",
"default": 10,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"max_dispatch_per_run": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"confirm_date_lookback_days": {
"type": "number",
"default": 90,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"message": {},
"success": {},
"raw_count": {},
"order_keys": {},
"deduped_count": {},
"source_system": {},
"queue_headroom": {},
"candidate_count": {},
"orders_selected": {},
"recently_excluded": {},
"dispatchable_count": {},
"exhausted_excluded": {},
"in_flight_excluded": {},
"queue_depth_before": {},
"source_account_key": {},
"source_filter_rows": {},
"source_report_name": {},
"target_queue_depth": {},
"exhausted_alert_sent": {},
"not_processed_orders": {},
"report_cap_alert_sent": {},
"source_filter_summary": {},
"verification_excluded": {},
"exhausted_alert_job_id": {},
"report_cap_alert_level": {},
"source_report_base_url": {},
"report_cap_alert_job_id": {},
"not_processed_seen_count": {},
"exhausted_alert_suppressed": {},
"not_processed_omitted_count": {},
"report_cap_alert_suppressed": {},
"text_filter_candidate_count": {},
"verification_excluded_order_keys": {},
"source_confirm_date_lookback_days": {},
"source_confirm_date_after_effective": {},
"source_confirm_date_after_configured": {}
},
"additionalProperties": true
}