Send Report Email
Perform Send Report Email through GenHealth.
send_report_emailwrite
Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Template
templateselectOptional selected identifier or value.
Options: Intake Summary ("intake_summary"), External System Push Summary ("external_system_push_summary"), MedExpress Confirmation ("medexpress_confirmation")
- Report Results
report_resultsexpressionOptional literal value or workflow expression.
- To
totextrequiredRequired text value.
- Cc
cctextOptional text value.
- Subject
subjecttextOptional text value.
- From Email
from_emailtextOptional text value.
Outputs
successSuccessmessage_idMessage IdrecipientsRecipientspatient_namePatient NameerrorError
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
}