# Evaluate Rules

> Perform Evaluate Rules through GenHealth - Rules.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health-rules/rules_evaluate](https://genhealth.ai/docs/workflows/integrations/gen-health-rules/rules_evaluate)

Integration: [GenHealth - Rules](https://genhealth.ai/docs/workflows/integrations/gen-health-rules.md)

- Handler: `rules_evaluate`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "GenHealth - Rules",
  "params": {},
  "handler": "rules_evaluate"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `table_key` — Table Key (text, required)
  Required text value.
- `subject` — Subject (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `error` — Error
- `status` — Status
- `table_id` — Table Id
- `table_key` — Table Key
- `table_version` — Table Version
- `subject_ref` — Subject Ref
- `outputs` — Outputs
- `result` — Result
- `errors` — Errors
- `omitted_count` — Omitted Count

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

```json
{
  "type": "object",
  "required": [
    "table_key",
    "subject"
  ],
  "properties": {
    "subject": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "table_key": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "errors": {},
    "result": {},
    "status": {},
    "outputs": {},
    "success": {},
    "table_id": {},
    "table_key": {},
    "subject_ref": {},
    "omitted_count": {},
    "table_version": {}
  },
  "additionalProperties": true
}
```
