Skip to documentation
GenHealth integration

Send Report Email

Perform Send Report Email through GenHealth.

View as Markdown
send_report_email
write

Inputs

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • template
    select
    Template

    Optional selected identifier or value.

    Options: Intake Summary ("intake_summary"), External System Push Summary ("external_system_push_summary"), MedExpress Confirmation ("medexpress_confirmation")

  • report_results
    expression
    Report Results

    Optional literal value or workflow expression.

  • to
    textrequired
    To

    Required text value.

  • cc
    text
    Cc

    Optional text value.

  • subject
    text
    Subject

    Optional text value.

  • from_email
    text
    From Email

    Optional text value.

Outputs

  • successSuccess
  • message_idMessage Id
  • recipientsRecipients
  • patient_namePatient Name
  • 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",
    "to"
  ],
  "properties": {
    "cc": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "to": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "subject": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "template": {
      "enum": [
        "intake_summary",
        "external_system_push_summary",
        "medexpress_confirmation"
      ],
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "from_email": {
      "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"
    },
    "report_results": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "message_id": {},
    "recipients": {},
    "patient_name": {}
  },
  "additionalProperties": true
}
View all GenHealth actions