> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Document

> Create a brand new Google Docs document

Create a brand new Google Docs document

|                      |                        |
| -------------------- | ---------------------- |
| **App**              | Google Docs            |
| **Operation ID**     | `docs_create_document` |
| **Type**             | Action                 |
| **Connection**       | `drive` (required)     |
| **Credits per run**  | 1                      |
| **Agent / MCP tool** | Yes                    |

## Inputs

| Field           | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                                                                     |
| --------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `document_name` | string | Yes      | -       | The name of the new Google Docs document to create.                                                                                                                                                                                                                                                                                                             |
| `folder_id`     | string | No       | -       | Optional Google Drive folder ID where the new document should be created. Markifact can only use folders it created itself or that the user selected through the file picker in the app. A folder ID copied from Google Drive is not visible to Markifact and the request will fail. Leave this empty to create the document in the account's default location. |

## Output

**Type**: `Dict`

Returns created document details.

**Fields**: `message`, `document_name`, `document_id`, `document_url`
