> ## 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 Table

> Insert a new empty table into a Google Slides presentation

Insert a new empty table into a Google Slides presentation. Specify the number of rows and columns, and optionally add alt text. To fill the table with content, use the `slides_update_table` node along with the alt text.

|                      |                       |
| -------------------- | --------------------- |
| **App**              | Google Slides         |
| **Operation ID**     | `slides_create_table` |
| **Type**             | Action                |
| **Connection**       | `drive` (optional)    |
| **Credits per run**  | 1                     |
| **Agent / MCP tool** | Yes                   |

## Inputs

| Field             | Type                       | Required | Default | Description                                                                                                                                                                                                                                                                                                                                         |
| ----------------- | -------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `presentation`    | string                     | Yes      | -       | Google Slides presentation URL or ID. You must ask the user for it if not provided.                                                                                                                                                                                                                                                                 |
| `identifier_type` | string or SelectableOption | Yes      | -       | Method to identify the slide where the table will be created. Available options: 'slide\_number' - Identify slide by its position in the presentation (1-based indexing) 'slide\_id' - Identify slide by its unique Google Slides object ID                                                                                                         |
| `slide_number`    | integer                    | No       | -       | Number of the slide where the table will be created (1-based indexing, starting from 1). REQUIRED when identifier\_type is 'slide\_number'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_id' - clear this field if identifier\_type changes to 'slide\_id'. Must be a positive integer. Example: 1 for first slide, 2 for second slide, etc. |
| `slide_id`        | string                     | No       | -       | Unique Google Slides object ID of the slide where the table will be created. REQUIRED when identifier\_type is 'slide\_id'. MUST BE NULL/EMPTY when identifier\_type is 'slide\_number' - clear this field if identifier\_type changes to 'slide\_number'. Example format: 'g1a82910c99\_0\_0'                                                      |
| `rows`            | integer                    | Yes      | -       | Number of rows for the table. Must be a positive integer between 1 and 20.                                                                                                                                                                                                                                                                          |
| `columns`         | integer                    | Yes      | -       | Number of columns for the table. Must be a positive integer between 1 and 20.                                                                                                                                                                                                                                                                       |
| `alt_text`        | string                     | No       | -       | Optional alternative text for the table. This can be used later to identify and update the table using other operations like 'slides\_update\_table'. RECOMMENDED to set this to a unique value for easier future reference. Example: 'campaigns\_table' or 'monthly\_report'                                                                       |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `Dict`

Returns created table details.

**Fields**: `table_id`, `slide_id`, `slide_number`, `rows`, `columns`, `alt_text`, `presentation_id`
