Process Sales Order Templates
Perform Process Sales Order Templates through Brightree.
brightree_process_sales_order_templateswritebrightree
Inputs
- Sales Order Key
sales_order_keyexpressionOptional literal value or workflow expression.
- Account Key
account_keytextOptional text value.
- Runs
runsnumberOptional numeric value.
Default:
1 - Use Local Agent
use_local_agentbooleanOptional true-or-false value.
Default:
false - Http Only
http_onlybooleanOptional true-or-false value.
Default:
true - Job Id
job_idexpressionOptional literal value or workflow expression.
- Insurance Name
insurance_nametextOptional text value.
- Patient Key
patient_keyexpressionOptional literal value or workflow expression.
- Patient Note Key
patient_note_keyexpressionOptional literal value or workflow expression.
Outputs
successSuccesssales_order_keySales Order Keysuccessful_runsSuccessful Runsfailed_runsFailed Runsskipped_runsSkipped Runsoutcome_categoryOutcome Categoryoutcome_reasonOutcome Reasonfailure_stageFailure Stageskip_reasonSkip Reasontemplates_createdTemplates Createdneeds_reconciliationNeeds Reconciliationreconciliation_summaryReconciliation Summaryorder_profileOrder Profiletemplate_decisionTemplate Decisionmanual_review_requiredManual Review Requiredmanual_review_attemptedManual Review Attemptedmanual_review_markedManual Review Markedmanual_review_reasonManual Review Reasonmanual_review_blockedManual Review Blockedmanual_review_block_reasonManual Review Block Reasonmanually_resolvedManually Resolvedmanually_resolved_runsManually Resolved Runsattempt_failed_runsAttempt Failed RunserrorError
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": {
"runs": {
"type": "number",
"default": 1,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"job_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"http_only": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"account_key": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"patient_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"insurance_name": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"sales_order_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"use_local_agent": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_note_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"failed_runs": {},
"skip_reason": {},
"skipped_runs": {},
"failure_stage": {},
"order_profile": {},
"outcome_reason": {},
"sales_order_key": {},
"successful_runs": {},
"outcome_category": {},
"manually_resolved": {},
"template_decision": {},
"templates_created": {},
"attempt_failed_runs": {},
"manual_review_marked": {},
"manual_review_reason": {},
"needs_reconciliation": {},
"manual_review_blocked": {},
"manual_review_required": {},
"manually_resolved_runs": {},
"reconciliation_summary": {},
"manual_review_attempted": {},
"manual_review_block_reason": {}
},
"additionalProperties": true
}