Skip to documentation
Brightree integration

Edit WIP State — Secondary Account

Perform Edit WIP State — Secondary Account through Brightree.

View as Markdown
brightree_edit_wip_state_secondary
write

Use 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": {
    "account_profile": "secondary"
  },
  "handler": "brightree_edit_wip_state_secondary"
}

Action contracts and connections · Run recovery

Inputs

  • sales_order_key
    expressionrequired
    Sales Order Key

    Required literal value or workflow expression.

  • target_wip_state
    textrequired
    Target Wip State

    Required text value.

  • expected_current_wip_state
    expressionrequired
    Expected Current Wip State

    Required literal value or workflow expression.

  • account_profile
    select
    Account Profile

    Optional selected identifier or value.

    Default: "secondary"

    Options: Secondary ("secondary")

Outputs

  • successSuccess
  • old_stateOld State
  • new_stateNew State
  • errorError

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",
  "required": [
    "sales_order_key",
    "target_wip_state",
    "expected_current_wip_state"
  ],
  "properties": {
    "account_profile": {
      "enum": [
        "secondary"
      ],
      "type": "string",
      "default": "secondary",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "sales_order_key": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "target_wip_state": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "expected_current_wip_state": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "new_state": {},
    "old_state": {}
  },
  "additionalProperties": true
}
View all Brightree actions