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

> Replaces table data in Google Slides via alt-text tags; tables automatically resize and add or remove rows/columns to match the data

Replaces table data in Google Slides via alt-text tags; tables automatically resize and add or remove rows/columns to match the data. Just provide structured data from sources like Google Ads, Meta Ads, Google Sheets, or AI nodes with structured output.

|                      |                       |
| -------------------- | --------------------- |
| **App**              | Google Slides         |
| **Operation ID**     | `slides_update_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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `table_data`   | array (also accepts a comma-separated string) | Yes      | -       | Data to populate the table with. This is mainly the output from an upstream node. Should be structured data containing rows and columns that match the table structure. Examples:  '\{\{nodeId\_\_data}}' The node output should have a list of dictionaries with the format: - List of dictionaries: \[\{'Campaign': 'Campaign A', 'Cost': 100, 'Conversions': 10}, \{'Campaign': 'Campaign B', 'Cost': 200, 'Conversions': 20}] All reporting nodes like Google Ads, Meta Ads, etc. will output data in this format that can be used directly here. |
| `alt_text`     | string                                        | Yes      | -       | Alt text of the table you want to update. This is used to identify the specific table in the slides.  **Setup Instructions needed for users**: 1. Right-click on the table in Google Slides 2. Select 'Alt Text' from the context menu 3. Add a unique identifier (e.g., 'Sales Data Table', 'Monthly Reports') 4. Use this exact alt text value in this field Make sure to inform users about actions needed from their side to set up alt text. Alt text ensures reliable table identification even when slide content changes.                     |
| `slide_number` | integer                                       | No       | -       | Optional slide number to search for the table (1-based indexing). Leave empty to search all slides in the presentation. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc.                                                                                                                                                                                                                                                                                                                                 |

## Output

**Type**: `str`

Returns success message with table update count.
