
AI Pitch Deck Creator for Google Slides
Automatically generate professional pitch decks in Google Slides using AI and live web research. This workflow gathers user input, searches Google for relevant ...
Learn how Windsurf and Claude 4 Sonnet can generate a 24-slide PowerPoint presentation for FlowHunt.io training using pptxgenjs with a single prompt.
As a tech enthusiast constantly seeking innovative tools, I recently embarked on a project to create a professional PowerPoint presentation for a 6-hour training session on FlowHunt.io AI workflows. What made this experience remarkable was how I leveraged Windsurf with Claude 4 Sonnet as its LLM to generate a 24-slide presentation using the pptxgenjs library—all with a single prompt and a well-structured outline. Here’s how it all came together.
My objective was to create an engaging, interactive presentation for a 6-hour workshop on FlowHunt.io, a platform for building AI workflows. The presentation needed to:
To ensure clarity, I first used Claude 4 Sonnet to generate a detailed outline for the presentation, dividing it into two 3-hour sessions with specific topics and timings. This outline became the foundation of the project, guiding both slide content and structure.
I chose the pptxgenjs library because it’s a powerful JavaScript tool for programmatically generating PowerPoint presentations. Its ability to create slides and add text, images, and formatting through code made it ideal for automation. To bring this vision to life, I used Windsurf, powered by Claude 4 Sonnet, to write the code and generate the presentation based on my outline.
The process began with installing the library using the command:
npm install pptxgenjs
This installed the library and its dependencies within seconds, setting the stage for presentation creation.
With the library installed, I crafted a single, detailed prompt for Claude 4 Sonnet via Windsurf. The prompt included:
Here’s a simplified version of the prompt structure:
Install
npm i pptxgenjs
. Create a presentation using the pptxgenjs library for a 6-hour FlowHunt.io AI workflows training. Follow this outline: [detailed session breakdown]. Ensure the presentation is hands-on, visual, includes real-world use cases (finance, HR, compliance), and has interactive tasks every 30 minutes. Create slides for: Welcome, FlowHunt Intro, Workflow Canvas, Live Demo, Tool Connections, Iteration, Use Cases, MPCs, Logic, APIs, Monitoring, Compliance, Deployment, Final Challenge, and Q&A.
With this prompt, Claude 4 Sonnet generated a complete JavaScript file (flowhunt-training.js
) that used pptxgenjs to create a 24-slide presentation. The script handled everything from slide layouts to consistent branding with FlowHunt’s color scheme.
Running the generated script was straightforward. I executed:
node flowhunt-training.js
The script ran smoothly, though I encountered a few warnings about invalid color codes (“70AD4720 is not a valid scheme color or hex RGB! ‘000000’ used instead”). These were minor issues that didn’t affect the output, as the library defaulted to black. Within moments, the script produced a file named FlowHunt-AI-Workflows-Training.pptx
with 24 professionally formatted slides.
The presentation was a masterpiece of automation:
Session 1 (10 slides): Covered FlowHunt.io basics, a live demo of building a workflow, tool connections (CSV, Google Sheets), iteration tips, and use cases for finance (budget validation) and HR (automated onboarding bot). It also introduced MPCs using a simple LEGO metaphor.
Session 2 (8 slides): Focused on advanced topics including MPC creation, conditional logic, API integrations (Google Search, CRM, Slack), governance, compliance bots, and deployment. It concluded with a final challenge slide for a mini-hackathon-style task.
Additional Slides: Included welcome, agenda, break, Q&A, and thank-you slides, ensuring a polished flow throughout the presentation.
The slides featured consistent branding, clear titles, and visual elements with placeholders for GIFs or videos. Interactive elements, such as step-by-step demo instructions and group challenges, were seamlessly integrated.
The final output was a 239KB PowerPoint file ready to open in any compatible software. Alongside the presentation, Claude 4 Sonnet generated a README.md file documenting the project, including usage instructions and presentation highlights. The result was a professional, interactive, and visually appealing presentation that perfectly aligned with my criteria.
This experience demonstrated the remarkable power of AI tools like Windsurf and Claude 4 Sonnet. With a single prompt, I transformed a high-level outline into a fully realized 24-slide presentation, complete with formatting, branding, and interactive elements. The pptxgenjs library proved to be a robust choice, and Claude’s ability to understand my requirements and generate functional code was impressive.
What stood out most was the efficiency. Writing the code manually would have taken hours, if not days, especially to ensure consistent formatting across 24 slides. Claude handled it in seconds, producing a script that was both modular and easy to customize. The minor color code warnings were a small hiccup, easily fixable by tweaking the hex values in the script if needed.
I’m thrilled with the outcome and plan to use this presentation for my FlowHunt.io training session. Moving forward, I could enhance it by:
This project has inspired me to explore more AI-driven automation for content creation. If you’re looking to create presentations quickly and efficiently, I highly recommend combining pptxgenjs with an AI tool like Claude 4 Sonnet via Windsurf—it’s truly a game-changer!
Windsurf leverages Claude 4 Sonnet to interpret a detailed prompt and generate JavaScript code using the pptxgenjs library, creating a fully formatted PowerPoint presentation.
No coding skills are required. Windsurf's AI-driven interface allows users to generate presentations by providing a prompt and outline, with Claude 4 Sonnet handling the code.
pptxgenjs is a JavaScript library for creating PowerPoint presentations programmatically. It was chosen for its ability to automate slide creation, formatting, and branding.
Yes, the generated JavaScript code includes placeholders for images, GIFs, or videos and can be edited to refine colors, content, or interactive elements.
This approach can support any training session requiring structured, visual, and interactive presentations, such as workshops on AI, software tools, or business processes.
Arshia is an AI Workflow Engineer at FlowHunt. With a background in computer science and a passion for AI, he specializes in creating efficient workflows that integrate AI tools into everyday tasks, enhancing productivity and creativity.
Explore Windsurf and FlowHunt to automate presentations and workflows with AI—no coding required.
Automatically generate professional pitch decks in Google Slides using AI and live web research. This workflow gathers user input, searches Google for relevant ...
Integrate FlowHunt with SlideSpeak MCP to automate PowerPoint presentation generation, streamline reporting, and enable seamless workflow automation with advanc...
Integrate FlowHunt with PowerPoint MCP Server to automate presentation creation, manage slides, apply professional templates, and enhance visual content using A...
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.