Create Templated PDF From Text
Perform Create Templated PDF From Text through GenHealth.
genhealth_create_templated_pdf_from_textInputs
- Template
templatetextarearequiredRequired text value.
- Arguments
argumentsjsonrequiredRequired JSON value.
- Title
titleexpressionOptional literal value or workflow expression.
Default:
"Templated PDF.pdf" - Document Type
document_typeexpressionOptional literal value or workflow expression.
Default:
"Other" - Page Size
page_sizeselectOptional selected identifier or value.
Default:
"Letter"Options: Letter ("Letter"), A4 ("A4"), Legal ("Legal")
- Orientation
orientationselectOptional selected identifier or value.
Default:
"portrait"Options: Portrait ("portrait"), Landscape ("landscape")
- Margin Inches
margin_inchesnumberOptional numeric value.
Default:
0.5 - Font Size Points
font_size_pointsnumberOptional numeric value.
Default:
11 - Show In Inbox
show_in_inboxbooleanOptional true-or-false value.
Default:
true - Inbox Status
inbox_statusselectOptional selected identifier or value.
Default:
"complete"Options: Needs Action ("review"), Completed ("complete")
- Dedupe Key
dedupe_keyexpressionOptional literal value or workflow expression.
Outputs
successSuccessstatusStatusdocument_idDocument IdtitleTitledocument_typeDocument Typecontent_typeContent TypesizeSizesha256Sha256was_existingWas Existingdisplay_pathDisplay PatherrorErrorerror_messageError Message
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": [
"template",
"arguments"
],
"properties": {
"title": {
"default": "Templated PDF.pdf",
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"template": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "textarea"
},
"arguments": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"page_size": {
"enum": [
"Letter",
"A4",
"Legal"
],
"type": "string",
"default": "Letter",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"dedupe_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"orientation": {
"enum": [
"portrait",
"landscape"
],
"type": "string",
"default": "portrait",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"inbox_status": {
"enum": [
"review",
"complete"
],
"type": "string",
"default": "complete",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"document_type": {
"default": "Other",
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"margin_inches": {
"type": "number",
"default": 0.5,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"show_in_inbox": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"font_size_points": {
"type": "number",
"default": 11,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"size": {},
"error": {},
"title": {},
"sha256": {},
"status": {},
"success": {},
"document_id": {},
"content_type": {},
"display_path": {},
"was_existing": {},
"document_type": {},
"error_message": {}
},
"additionalProperties": true
}