Skip to documentation
GenHealth integration

Create Templated PDF From Text

Perform Create Templated PDF From Text through GenHealth.

View as Markdown
genhealth_create_templated_pdf_from_text
write

Inputs

  • template
    textarearequired
    Template

    Required text value.

  • arguments
    jsonrequired
    Arguments

    Required JSON value.

  • title
    expression
    Title

    Optional literal value or workflow expression.

    Default: "Templated PDF.pdf"

  • document_type
    expression
    Document Type

    Optional literal value or workflow expression.

    Default: "Other"

  • page_size
    select
    Page Size

    Optional selected identifier or value.

    Default: "Letter"

    Options: Letter ("Letter"), A4 ("A4"), Legal ("Legal")

  • orientation
    select
    Orientation

    Optional selected identifier or value.

    Default: "portrait"

    Options: Portrait ("portrait"), Landscape ("landscape")

  • margin_inches
    number
    Margin Inches

    Optional numeric value.

    Default: 0.5

  • font_size_points
    number
    Font Size Points

    Optional numeric value.

    Default: 11

  • show_in_inbox
    boolean
    Show In Inbox

    Optional true-or-false value.

    Default: true

  • inbox_status
    select
    Inbox Status

    Optional selected identifier or value.

    Default: "complete"

    Options: Needs Action ("review"), Completed ("complete")

  • dedupe_key
    expression
    Dedupe Key

    Optional literal value or workflow expression.

Outputs

  • successSuccess
  • statusStatus
  • document_idDocument Id
  • titleTitle
  • document_typeDocument Type
  • content_typeContent Type
  • sizeSize
  • sha256Sha256
  • was_existingWas Existing
  • display_pathDisplay Path
  • errorError
  • error_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
}
View all GenHealth actions