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

# Add Sheets Chart

> Embeds Google Sheets charts into Google Slides presentations

Embeds Google Sheets charts into Google Slides presentations. Get the chart information from the sheets\_get\_chart node.

|                      |                           |
| -------------------- | ------------------------- |
| **App**              | Google Slides             |
| **Operation ID**     | `slides_add_sheets_chart` |
| **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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `chart_id`       | string  | Yes      | -       | ID of the chart in the Google Sheets spreadsheet to insert into the slide. Chart IDs can be found by using 'Google Sheets Get Chart' node which returns the chart ID. Example format: '1234567890'                                                                                                                                                                                                                                                                                                                                                           |
| `spreadsheet_id` | string  | Yes      | -       | ID of the Google Sheets spreadsheet containing the chart. You can find this in the Google Sheets URL: `https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit` Example: '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'                                                                                                                                                                                                                                                                                                                                   |
| `sheet_id`       | string  | Yes      | -       | ID of the specific worksheet/sheet containing the chart within the spreadsheet. Each sheet in a Google Sheets file has a unique sheet ID (different from sheet name). You can find this in the sheet URL after #gid= or via the Sheets API. Example: '0' for the first sheet, '123456789' for other sheets                                                                                                                                                                                                                                                   |
| `alt_text`       | string  | Yes      | -       | Alt text of the object you want to replace with the chart. This is used to identify the specific element in the slides.  **Setup Instructions**: 1. Insert a shape or paste chart from your Google Sheet in your slide where you want the chart 2. Right-click on the object in Google Slides 3. Select 'Alt text' from the context menu 4. Add a unique identifier (e.g., 'Monthly Sales Chart', 'Performance Dashboard') 5. Use this exact alt text value in this field  Alt text ensures reliable element identification even when slide content changes. |
| `slide_number`   | integer | No       | -       | Optional slide number to insert the chart (1-based indexing). Leave empty to search all slides for the alt text element. Must be a positive integer if specified. Example: 1 for first slide, 2 for second slide, etc.                                                                                                                                                                                                                                                                                                                                       |

## Output

**Type**: `str`

Returns success message with replacement count.
