Skip to documentation
GenHealth integration

Flag Document Issue

Perform Flag Document Issue through GenHealth.

View as Markdown
genhealth_flag_document_issue
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": "GenHealth",
  "params": {
    "resolve": "false",
    "severity": "warning"
  },
  "handler": "genhealth_flag_document_issue"
}

Action contracts and connections · Run recovery

Inputs

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • code
    selectrequired
    Code

    Required selected identifier or value.

    Options: Insurance Not Written ("INSURANCE_NOT_WRITTEN")

  • field_path
    text
    Field Path

    Optional text value.

  • severity
    select
    Severity

    Optional selected identifier or value.

    Default: "warning"

    Options: Warning ("warning"), Info ("info")

  • resolve
    boolean
    Resolve

    Optional true-or-false value.

    Default: "false"

Outputs

  • successSuccess
  • document_idDocument Id
  • actionAction
  • issue_countIssue Count
  • 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": [
    "document_id",
    "code"
  ],
  "properties": {
    "code": {
      "enum": [
        "INSURANCE_NOT_WRITTEN"
      ],
      "type": "string",
      "description": "Required selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "resolve": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "severity": {
      "enum": [
        "warning",
        "info"
      ],
      "type": "string",
      "default": "warning",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "field_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "action": {},
    "success": {},
    "document_id": {},
    "issue_count": {}
  },
  "additionalProperties": true
}
View all GenHealth actions