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

# Update Text Style

> Modifies text formatting and styling in Google Slides presentations

Modifies text formatting and styling in Google Slides presentations. Find text using alt text or regular text, and apply styles like bold, italic, underline, font size, color, and more

|                      |                            |
| -------------------- | -------------------------- |
| **App**              | Google Slides              |
| **Operation ID**     | `slides_update_text_style` |
| **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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose how to provide the text styling data. Available options: 'all' - Use data from previous steps containing text and style information 'mapped' - Define individual text styling manually                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `search_method`   | string or SelectableOption                    | Yes      | -       | Method to identify elements for text styling: 'regular' - Find and style text within slide content 'alt\_text' - Find elements by their alt text property (RECOMMENDED)  **Always use and recommend alt text method for reliability.**  Tell users they need to: 1. Insert a text box in their slides 2. Right-click on text boxes in their slides and select 'Alt Text'  3. Add unique identifiers (e.g., 'Title', 'Subtitle', 'Body Text') 4. Use these alt text values in the styling operation  Alt text prevents issues when slide content changes and ensures consistent targeting.                         |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Data source containing text styling information. REQUIRED when update\_type is 'all'. This is mainly the output from an upstream node. MUST BE NULL/EMPTY when update\_type is 'mapped' - clear this field if update\_type changes to 'mapped'. Data must contain 'text' field for each row. Optional style fields: 'bold', 'italic', 'underline', 'font\_size', 'font\_color', 'slide\_number'. Examples:  '\{\{nodeId\_\_data}}' The node output should have a list of dictionaries with the format: \[\{'text': 'heading text', 'bold': true, 'font\_size': 24, 'font\_color': '#FF0000', 'slide\_number': 1}] |
| `text_to_style`   | array of string                               | No       | -       | List of text strings to find and style in the presentation. REQUIRED when update\_type is 'mapped'. MUST BE NULL/EMPTY when update\_type is 'all' - clear this field if update\_type changes to 'all'. Example: \['Main Title', 'Subtitle', 'Call to Action'] When using alt\_text search method, these should be the alt text values of the elements.                                                                                                                                                                                                                                                            |
| `slide_number`    | integer                                       | No       | -       | Optional slide number to update text in (1-based indexing). Leave empty to update text in all slides. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc.                                                                                                                                                                                                                                                                                                                                                                   |
| `font_size`       | integer                                       | No       | -       | Font size in points. Only applies when update\_type is 'mapped'. Must be a positive integer if specified. Common sizes: 12, 14, 16, 18, 24, 32, 48. Example: 24 for large headings, 12 for body text.                                                                                                                                                                                                                                                                                                                                                                                                             |
| `bold`            | boolean                                       | No       | -       | Whether to make text bold. Only applies when update\_type is 'mapped'. true = make text bold, false = remove bold formatting, null = don't change bold setting.                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `italic`          | boolean                                       | No       | -       | Whether to make text italic. Only applies when update\_type is 'mapped'. true = make text italic, false = remove italic formatting, null = don't change italic setting.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `underline`       | boolean                                       | No       | -       | Whether to underline text. Only applies when update\_type is 'mapped'. true = underline text, false = remove underline formatting, null = don't change underline setting.                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `font_color`      | string                                        | No       | -       | Text color in hex format. Only applies when update\_type is 'mapped'. Must start with # followed by 6 hex characters. Examples: '#FF0000' for red, '#00FF00' for green, '#0000FF' for blue, '#000000' for black.                                                                                                                                                                                                                                                                                                                                                                                                  |

### SelectableOption

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

## Output

**Type**: `str`

Returns success message with update count.
