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

> Add new blank slides to Google Slides presentations at specific positions

The **Add Slide** node inserts new blank slides into existing Google Slides presentations. You can control exactly where the new slide is placed within the presentation. This is an **AI-powered node** that can understand natural language instructions.

***

## When to Use It

* Expand presentations with additional blank slides
* Insert slides at specific positions in existing presentations
* Build dynamic presentations that grow based on data
* Prepare slide structures before adding content
* Create presentation templates with multiple slides
* Add slides programmatically based on workflow logic

***

## Inputs

| Field                  | Type   | Required    | Description                                                           |
| ---------------------- | ------ | ----------- | --------------------------------------------------------------------- |
| **Presentation**       | Text   | Yes         | Google Slides presentation URL or ID                                  |
| **Insertion Position** | Select | Yes         | Where to place the new slide in the presentation                      |
| **Custom Position**    | Number | Conditional | Specific position for the slide (required when using Custom Position) |

### Insertion Position Options

| Position            | Description                                    | When to Use                                        |
| ------------------- | ---------------------------------------------- | -------------------------------------------------- |
| **At End**          | Add slide at the end of presentation (default) | Most common - building presentations sequentially  |
| **At Beginning**    | Add slide at the start of presentation         | Creating title slides or intro content             |
| **Custom Position** | Add slide at a specific position (1-based)     | Inserting slides in the middle of existing content |

### Custom Position Rules

* **1-based indexing**: Position 1 = first slide, position 2 = second slide, etc.
* **Required for Custom Position**: Must specify a number when using custom position
* **Automatic adjustment**: If position exceeds total slides, slide is added at the end
* **Clear when not used**: Leave empty when using "At End" or "At Beginning"

**Examples:**

* Position `1`: Insert at the very beginning
* Position `3`: Insert as the third slide (pushes existing slide 3+ down)
* Position `999`: Will be placed at the end if presentation has fewer slides

***

## Output

Returns details about the newly added slide:

```json theme={"dark"}
{
  "slide_id": "SLIDE_123ABC456DEF",
  "slide_position": 3,
  "presentation_id": "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
  "total_slides": 8,
  "insertion_details": {
    "requested_position": "custom_position",
    "custom_position": 3,
    "final_position": 3
  }
}
```

### Output Fields:

| Field                  | Description                              |
| ---------------------- | ---------------------------------------- |
| **slide\_id**          | Unique identifier for the new slide      |
| **slide\_position**    | Final position of the slide (1-based)    |
| **presentation\_id**   | Google Slides presentation ID            |
| **total\_slides**      | Total number of slides after insertion   |
| **insertion\_details** | Details about where the slide was placed |

***

## Credit Cost

* **Cost per run**: 1 credit

***

## Common Workflows

**Sequential Presentation Building:**

```
[Create Presentation] → [Add Slide: At End] → [Add Content] → [Add Slide: At End] → [Add More Content]
```

**Template Creation:**

```
[Create Presentation] → [Add Slide: Title] → [Add Slide: Overview] → [Add Slide: Content] → [Add Slide: Conclusion]
```

**Dynamic Content Insertion:**

```
[Get Data Count] → [Loop: Add Slide for Each Data Item] → [Populate Each Slide with Data]
```

**Structured Presentation:**

```
[Add Slide: Position 1 - Title] → [Add Slide: Position 2 - Agenda] → [Add Content Slides at End]
```

***

## Tips

**Best Practices:**

* **Use "At End" for most cases** - simplest and most predictable
* **Start with structure** - add all slides first, then populate with content
* **Plan your positions** - sketch out slide order before building workflow
* **Use custom positions sparingly** - mainly for inserting into existing presentations

**Position Strategy:**

* **Title slides**: Position 1 or "At Beginning"
* **Content slides**: "At End" for sequential building
* **Summary slides**: "At End" or specific position if restructuring
* **Agenda slides**: Position 2 (after title) using custom position

**Workflow Integration:**

* **Add Slide** → **Insert Text Box** → **Add Image** → **Update Text Style**
* **Get Slide Count** → **Add Slide at Specific Position** → **Populate Content**
* **Loop through Data** → **Add Slide for Each Item** → **Add Item-Specific Content**
