Skip to documentation
GenHealth integration

Create Document From File

Perform Create Document From File through GenHealth.

View as Markdown
genhealth_create_document_from_file
write

Inputs

  • file_path
    expressionrequired
    File Path

    Required literal value or workflow expression.

  • title
    expression
    Title

    Optional literal value or workflow expression.

  • document_type
    select
    Document Type

    Optional selected identifier or value.

    Default: "Other"

    Options: Prescription ("Prescription"), Demographics ("Demographics"), Insurance ("Insurance"), Qualifying Test ("Qualifying Test"), Physician Notes ("Physician Notes"), Other ("Other")

  • source
    text
    Source

    Optional text value.

    Default: "workflow_file"

  • external_id
    expression
    External Id

    Optional literal value or workflow expression.

  • dedupe_key
    expression
    Dedupe Key

    Optional literal value or workflow expression.

  • show_generated_document_in_inbox
    boolean
    Show Generated Document In Inbox

    Optional true-or-false value.

    Default: false

  • metadata
    json
    Metadata

    Optional JSON value.

Outputs

  • successSuccess
  • statusStatus
  • document_idDocument Id
  • titleTitle
  • document_typeDocument Type
  • sourceSource
  • external_idExternal Id
  • sha256Sha256
  • sizeSize
  • s3_keyS3 Key
  • was_existingWas Existing
  • 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": [
    "file_path"
  ],
  "properties": {
    "title": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source": {
      "type": "string",
      "default": "workflow_file",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "metadata": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "file_path": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "dedupe_key": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "external_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_type": {
      "enum": [
        "Prescription",
        "Demographics",
        "Insurance",
        "Qualifying Test",
        "Physician Notes",
        "Other"
      ],
      "type": "string",
      "default": "Other",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "show_generated_document_in_inbox": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "size": {},
    "error": {},
    "title": {},
    "s3_key": {},
    "sha256": {},
    "source": {},
    "status": {},
    "success": {},
    "document_id": {},
    "external_id": {},
    "was_existing": {},
    "document_type": {},
    "error_message": {}
  },
  "additionalProperties": true
}
View all GenHealth actions