# Create Sheet From Upload

> Perform Create Sheet From Upload through Google Sheets.

Source: [https://genhealth.ai/docs/workflows/integrations/google-sheets/google_sheets_create_from_upload](https://genhealth.ai/docs/workflows/integrations/google-sheets/google_sheets_create_from_upload)

Integration: [Google Sheets](https://genhealth.ai/docs/workflows/integrations/google-sheets.md)

- Handler: `google_sheets_create_from_upload`

- Connection type: `google_sheets`

## Inputs

- `google_sheets_account_id` — Google Sheets Account Id (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `title` — Title (expression)
  Optional literal value or workflow expression.
- `sheet_title` — Sheet Title (expression)
  Optional literal value or workflow expression.
  Default: `"Sheet1"`
- `source_format` — Source Format (select)
  Optional selected identifier or value.
  Default: `"auto"`
  Options: Auto Detect ("auto"), CSV ("csv"), Excel (.xlsx) ("xlsx")
- `write_enabled` — Write Enabled (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `submitted` — Submitted
- `write_skipped` — Write Skipped
- `skip_reason` — Skip Reason
- `spreadsheet_id` — Spreadsheet Id
- `spreadsheet_url` — Spreadsheet Url
- `sheet_title` — Sheet Title
- `row_count` — Row Count
- `column_count` — Column Count
- `drive_folder_id` — Drive Folder Id
- `error` — Error
- `error_message` — Error 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

```json
{
  "type": "object",
  "required": [
    "document_id"
  ],
  "properties": {
    "title": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "sheet_title": {
      "default": "Sheet1",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_format": {
      "enum": [
        "auto",
        "csv",
        "xlsx"
      ],
      "type": "string",
      "default": "auto",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "write_enabled": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "google_sheets_account_id": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "row_count": {},
    "submitted": {},
    "sheet_title": {},
    "skip_reason": {},
    "column_count": {},
    "error_message": {},
    "write_skipped": {},
    "spreadsheet_id": {},
    "drive_folder_id": {},
    "spreadsheet_url": {}
  },
  "additionalProperties": true
}
```
