◉GEMINI LABJP
●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 6 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…●ARGON — gemini-4-argon is generally available as of 10/13, aimed at complex coding, agents, math and science●DEEP RES — deep-research-pro-preview-12-2025 shuts down 10/23, 6 days left. Move to deep-research-preview-04-2026●NANO — gemini-nano-banana-2.1 is GA (10/06). gemini-3.1-flash-image is deprecated with no shutdown date yet●MCP — One write-up cut an 85,000-token tool result to 310 tokens by wrapping it in an ADK FunctionTool●FLASH — gemini-3.7-flash and 3.5-flash now route automatically to newer Flash models (10/08)●NEW — Stop Re-Reading Every Crash Report: Gre…
Articles/Workspace
◧ Workspace/2026-03-31Advanced

Building an AI Presentation Pipeline with Gemini API and Google Slides Apps Script — A

Learn how to build a complete presentation pipeline using Gemini API and Google Apps Script that auto-generates slide outlines, content, and designs from a single topic input.

gemini-api286google-slidesapps-script10presentationautomation55workspace9pipeline9

✦ Premium Article

Setup and context — Why Automate Presentation Creation?

In the business world, presentation creation consumes a disproportionate amount of productive time. According to McKinsey, knowledge workers spend roughly 28% of their work week on document creation and information organization. The combination of Gemini API and Google Apps Script offers a way to fundamentally reduce this burden through an AI-powered presentation pipeline.

This guide walks you through building a system that automates the entire workflow — from slide structure design and content generation to design template application and multilingual expansion — all from a single topic input. Every code example is production-ready and fully functional.

For basic AI-powered features in Google Slides, check out our Google Slides × Gemini AI Practical Guide. This article goes beyond that foundation into programmatic pipeline construction.

This article is designed for the following readers:

  • Developers familiar with Google Apps Script basics
  • Anyone with Gemini API experience (or who has already obtained an API key)
  • Engineers and managers looking to automate presentation workflows within their organization

Pipeline Architecture — A 5-Stage Design

The AI presentation pipeline consists of five distinct stages:

Stage 1: Topic Input and Requirements Definition Users specify the theme, target audience, slide count, and tone. A Google Forms or Sheets sidebar interface works well for this purpose.

Stage 2: Outline Generation (Gemini API) Using Gemini API's Structured Output, the system generates a JSON structure containing per-slide titles, key points, and layout types.

Stage 3: Content Generation (Gemini API) For each slide in the outline, the system generates body text, bullet points, and chart descriptions.

Stage 4: Slide Construction (Google Slides API) Apps Script's SlidesApp builds the actual slides based on design templates.

Stage 5: Post-Processing and Distribution PDF export, multilingual version generation, Google Drive storage, and Slack/email notifications.

A key advantage of this architecture is that each stage operates independently. This naturally supports a human-in-the-loop workflow where someone can review and adjust the outline before proceeding to content generation.


✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦Build a pipeline that generates slide structure, content, and design from a single topic input
✦Master Structured Output patterns for generating slide JSON schemas with Gemini API
✦Learn production-ready techniques including template management, multilingual support, and batch processing
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Gemini Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

◧ Workspace2026-09-08
Four New Steps Landed in Workspace Studio, and I Am Opening the Reply Ones a Week Later
Workspace Studio gained Drive copy and move steps plus Chat and email reply steps. Using the rollout dates, where admin controls arrive before the features, here is how I separate the reversible actions from the ones I cannot take back.
◧ Workspace2026-07-16
I Put =GEMINI() in 420 Cells. The Calls Kept Coming on Days I Never Opened the Sheet
A custom function calling Gemini from Sheets looks best the moment it starts working, and it does not grow from there. Here is what the 30-second ceiling, uncontrolled recalculation, and read-only cells actually cost, measured, plus the code to move to a write-back design.
◈ API / SDK2026-07-23
When to Hand Conversation State to the Server: previous_interaction_id vs. Pruning History Yourself
With the Interactions API, passing previous_interaction_id lets the server hold conversation state so you stop resending history. But a large tool output that lands mid-conversation can't be pruned afterward, and every later turn drags its weight. Here is a branching design that mixes server-side state with client-side pruning, plus a thin, working Python wrapper.