# Cancel Referral

> Perform Cancel Referral through Cori.

Source: [https://genhealth.ai/docs/workflows/integrations/cori/cori_cancel_referral](https://genhealth.ai/docs/workflows/integrations/cori/cori_cancel_referral)

Integration: [Cori](https://genhealth.ai/docs/workflows/integrations/cori.md)

- Handler: `cori_cancel_referral`

- Connection type: `cori`

## 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": "Cori",
  "params": {},
  "handler": "cori_cancel_referral"
}

```

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

## Inputs

- `referral_id` — Referral Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `operation` — Operation
- `data` — Data
- `referral_id` — Referral Id
- `document_id` — Document Id
- `s3_path` — S3 Path
- `cori_url` — Cori Url
- `error` — Error
- `error_kind` — Error Kind
- `indeterminate` — Indeterminate
- `retryable` — Retryable
- `was_existing` — Was Existing
- `already_submitted` — Already Submitted

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": [
    "referral_id"
  ],
  "properties": {
    "referral_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "data": {},
    "error": {},
    "s3_path": {},
    "success": {},
    "cori_url": {},
    "operation": {},
    "retryable": {},
    "error_kind": {},
    "document_id": {},
    "referral_id": {},
    "was_existing": {},
    "indeterminate": {},
    "already_submitted": {}
  },
  "additionalProperties": true
}
```
