Agente de Presentaciones en Google Slides
El flujo automatiza por completo la creación y edición de presentaciones a partir de las instrucciones proporcionadas por el usuario.
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
ChatInput-wcyi5[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Chat Input]
style ChatInput-wcyi5 stroke:#a170ff
googleslidescomponent-0l523[Reemplazar texto]
style googleslidescomponent-0l523 stroke:#a170ff
ChatOutput-jf3v6[<div><img src="/_astro/messages-square.BaSDmT6g.svg" style="height: 20px !important;width: 20px !important"/></div>Chat Output]
style ChatOutput-jf3v6 stroke:#a170ff
googleslidescomponent-pmjen[Reemplazar Imagen]
style googleslidescomponent-pmjen stroke:#a170ff
AdvancedAgent-lja6y[SlideAgent]
style AdvancedAgent-lja6y stroke:#a170ff
googleslidescomponent-o2b5l[Obtener Presentación]
style googleslidescomponent-o2b5l stroke:#a170ff
GeminiImageGenerator-9mfx6[Gemini Image Generator]
style GeminiImageGenerator-9mfx6 stroke:#a170ff
googleslidescomponent-xa0zm[Crear Slides]
style googleslidescomponent-xa0zm stroke:#a170ff
googleslidescomponent-x60d0[Obtener thumbnail]
style googleslidescomponent-x60d0 stroke:#a170ff
DeepseekModel-8gvrz[Deepseek]
style DeepseekModel-8gvrz stroke:#a170ff
googleslidescomponent-pmjen -.- AdvancedAgent-lja6y
linkStyle 0 stroke:#a170ff
googleslidescomponent-o2b5l -.- AdvancedAgent-lja6y
linkStyle 1 stroke:#a170ff
GeminiImageGenerator-9mfx6 -.- AdvancedAgent-lja6y
linkStyle 2 stroke:#a170ff
ChatInput-wcyi5 -.- AdvancedAgent-lja6y
linkStyle 3 stroke:#a170ff
AdvancedAgent-lja6y -.- ChatOutput-jf3v6
linkStyle 4 stroke:#a170ff
googleslidescomponent-0l523 -.- AdvancedAgent-lja6y
linkStyle 5 stroke:#a170ff
googleslidescomponent-xa0zm -.- AdvancedAgent-lja6y
linkStyle 6 stroke:#a170ff
googleslidescomponent-x60d0 -.- AdvancedAgent-lja6y
linkStyle 7 stroke:#a170ff
DeepseekModel-8gvrz -.- AdvancedAgent-lja6y
linkStyle 8 stroke:#a170ff
Google Slides Presentation Agent
🧩 Overview
This workflow automates the complete creation and editing of Google Slides presentations based on user instructions. The SlideAgent acts as the central coordinator, analyzing requests, generating content, and orchestrating the replacement of text and images to produce a final, professional presentation. It streamlines the process of transforming raw research or ideas into a structured, visually coherent slide deck.
⚙️ Main Features
- Automatically creates a new Google Slides presentation from a template.
- Analyzes user input to generate structured content for slides.
- Replaces placeholder text in the presentation with AI-generated summaries.
- Generates custom images to visually reinforce slide concepts.
- Replaces placeholder images within the presentation with newly generated ones.
- Delivers the final, edited presentation directly to the user.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| Chat Input | Receives the user's initial request or instruction. | User message or prompt. | User instruction for the agent. |
| SlideAgent (Advanced Agent) | Acts as the central brain, interpreting the user request and orchestrating all other tools. | User instruction, language model, and a suite of tools. | Commands to execute specific presentation tasks. |
| Create Slides (Google Slides) | Creates a new presentation based on a selected template. | Template file selection. | URL of the newly created presentation. |
| Get Presentation (Google Slides) | Loads the created presentation to retrieve its structural details. | URL of the target presentation. | Presentation metadata and page information. |
| Deepseek Model | Processes the user's request and generates the textual content for the slides. | User instruction and system prompt. | Generated slide titles and body text. |
| Replace Text (Google Slides) | Inserts or updates the textual content within the presentation slides. | Presentation URL, search text, and replacement text. | Confirmation of text update. |
| Gemini Image Generator | Creates new images based on prompts derived from the slide content. | Text description for the desired image. | Generated image file. |
| Get Thumbnail (Google Slides) | Retrieves the object IDs of images within the presentation to enable replacement. | Presentation URL and page object ID. | Image object identifiers. |
| Replace Image (Google Slides) | Substitutes placeholder images in the presentation with the newly generated ones. | Presentation URL, target object ID, and new image URL. | Confirmation of image update. |
| Chat Output | Delivers the final presentation result or status message back to the user. | Agent's final response message. | Formatted message for the user interface. |
🧠 Notes
- The workflow is designed to produce a 7-slide presentation where the first and last slides are reserved for a cover and conclusion, respectively.
- The system requires valid API credentials for Google Slides, Deepseek, and Google AI (for image generation).
- The SlideAgent operates under a detailed system prompt that defines a strict structure for content generation and slide assembly.
- The final presentation is created in the same directory and inherits the characteristics of the selected template.