# Build Record

> Perform Build Record through GenHealth - Rules.

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

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

- Handler: `rules_build_record`

## 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_build_record"
}

```

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

## Inputs

- `record_ref` — Record Ref (text, required)
  Required text value.
- `fields` — Fields (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `error` — Error
- `status` — Status
- `record_ref` — Record Ref
- `fields` — Fields
- `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": [
    "record_ref",
    "fields"
  ],
  "properties": {
    "fields": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "record_ref": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "errors": {},
    "fields": {},
    "status": {},
    "success": {},
    "record_ref": {},
    "omitted_count": {}
  },
  "additionalProperties": true
}
```
