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

# Insert Text

> Insert new text boxes with content into Google Slides presentations

Insert new text boxes with content into Google Slides presentations. Provide alt text to identify the text box and use in later nodes

|                      |                      |
| -------------------- | -------------------- |
| **App**              | Google Slides        |
| **Operation ID**     | `slides_insert_text` |
| **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 text will be inserted. 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 text will be inserted (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 text will be inserted. 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' You can find slide IDs in the Google Slides API or by inspecting the presentation. |
| `text`            | string                     | Yes      | -       | The text content to insert into the slide. Can include line breaks and special characters.  Supports markdown formatting. The only supported formats are: - **bold** for bold text - *italic* for italic text - \[link text]\(url) for clickable links  Example: 'Hello **World**!' or 'Visit \[Google]\(`https://google.com`)'                                                   |
| `position_x`      | number                     | No       | `100`   | X coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 150 for positioning 150 points from the left edge.                                                                                                                                                                                           |
| `position_y`      | number                     | No       | `100`   | Y coordinate for the text box position in points (PT). Default is 100. Origin (0,0) is at the top-left corner of the slide. Example: 200 for positioning 200 points from the top edge.                                                                                                                                                                                            |
| `width`           | number                     | No       | `400`   | Width of the text box in points (PT). Default is 400. Must be a positive number. Example: 300 for a text box 300 points wide.                                                                                                                                                                                                                                                     |
| `height`          | number                     | No       | `100`   | Height of the text box in points (PT). Default is 100. Must be a positive number. Example: 150 for a text box 150 points tall.                                                                                                                                                                                                                                                    |
| `alt_text`        | string                     | No       | -       | Optional alternative text for the text box. This can be used later to identify and update the text using other operations like 'slides\_replace\_text'. Example: 'clicks' or 'summary\_content'                                                                                                                                                                                   |

### SelectableOption

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

## Output

**Type**: `Dict`

Returns created text box details.

**Fields**: `text_box_id`, `slide_id`, `slide_number`, `text`, `position_x`, `position_y`, `width`, `height`, `alt_text`, `presentation_id`
