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

# Delete Slide

> Remove slides from your Google Slides presentations to clean up and organize content.

**Delete Slide** permanently removes specified slides from your Google Slides presentations. Essential for cleaning up templates, removing outdated content, or streamlining presentations after data processing.

***

## Inputs

| Field                     | Type   | Required | Description                                          |
| ------------------------- | ------ | -------- | ---------------------------------------------------- |
| **Presentation URL/ID**   | Text   | Yes      | Google Slides presentation link or ID                |
| **Slide Identifier Type** | Select | Yes      | How to identify the slide (Slide Number or Slide ID) |
| **Slide Number**          | Number | Yes\*    | Position of the slide to delete (starting from 1)    |
| **Slide ID**              | Text   | Yes\*    | Unique ID of the slide to delete                     |

\*Either Slide Number or Slide ID is required, depending on your identifier type choice.

***

## How It Works

This node permanently removes the specified slide from your presentation. All remaining slides automatically renumber to fill the gap, maintaining presentation flow.

### Slide Identification Options

**Slide Number (Recommended):**

* Simple numbering system starting from 1
* Easy to use and understand
* Perfect for removing specific positions

**Slide ID:**

* Unique identifier for each slide
* More technical but precise
* Useful when working with dynamic presentations

### Important Notes

* **Deletion is permanent** - deleted slides cannot be recovered
* **Slide numbers shift up** after deletion (slide 5 becomes 4 if you delete slide 3)
* **Cannot delete the last remaining slide** in a presentation

***

## Configuration Examples

### Remove Specific Slide

**Scenario:** Delete slide 3 from presentation

**Configuration:**

* **Slide Identifier Type:** "Slide Number"
* **Slide Number:** 3

**Result:** Slide 3 is removed, slide 4 becomes new slide 3, etc.

### Remove Template Slide

**Scenario:** Delete original template after duplication

**Configuration:**

* **Slide Identifier Type:** "Slide Number"
* **Slide Number:** 2

**Result:** Template slide removed, presentation flows with populated content.

***

## Best Practices

### Deletion Strategy

* **Delete in reverse order** when removing multiple slides (highest numbers first)
* **Verify slide contents** before deletion in workflows
* **Test deletion logic** with sample presentations first
* **Keep backups** of important presentations

### Workflow Integration

* **Use after content population** to remove templates
* **Combine with conditional logic** for smart cleanup
* **Position after all content updates** in your workflow

***

## Credit Cost

1 credit per successful run.

***

## FAQ

<Accordion title="What happens to slide numbers after deletion?">
  **All slides after the deleted slide shift up by one position.** If you delete slide 3, the original slide 4 becomes the new slide 3, slide 5 becomes slide 4, etc. This happens automatically.
</Accordion>

<Accordion title="Can I recover a deleted slide?">
  **No, deletion is permanent through this node.** However, Google Slides has version history that might allow manual recovery. Always test your workflows on copies first.
</Accordion>

<Accordion title="Can I delete multiple slides at once?">
  **No, each node deletes one slide at a time.** To delete multiple slides, use multiple Delete Slide nodes. Remember to delete in reverse order (highest slide numbers first) to avoid numbering issues.
</Accordion>

<Accordion title="What happens if I try to delete the only slide in a presentation?">
  **Google Slides requires at least one slide** in every presentation. The node will return an error if you try to delete the last remaining slide.
</Accordion>

<Accordion title="How do I delete slides safely in automated workflows?">
  **Use conditional logic** to verify slide contents before deletion. Consider checking if slides contain specific placeholder text or are empty before removing them. Always test workflows thoroughly.
</Accordion>

<Accordion title="What's the best order to delete multiple slides?">
  **Delete from highest to lowest slide numbers.** If you need to delete slides 2, 5, and 8, delete slide 8 first, then 5, then 2. This prevents slide numbering conflicts during the deletion process.
</Accordion>

<Accordion title="Can I undo a deletion if I make a mistake?">
  **Not through the workflow, but Google Slides keeps version history.** You can manually restore previous versions of your presentation through Google Slides' version history feature. This is why testing workflows is crucial.
</Accordion>
