#Create a PPT file based on a base template.

2 messages · Page 1 of 1 (latest)

viral flint
#

Looking for suggestions.
I want to create a PPT file based on a base template. The use case is something like this.
I have base Power Point template(which company formatting) in a SharePoint library.
Create a custom/declarative agent. If user asks like
“create a power point presentation with 10 slides on Power of AI”, expected output
It should create a new PPT file by taking base template and create 10 slides.
Give the end user to download the file.

swift leaf
#

Hi @viral flint

So this isn't a new idea and there are some sample already available on GitHub see:

https://github.com/tomleelong/PPTX

https://www.geeksforgeeks.org/python/creating-and-updating-powerpoint-presentations-in-python-using-python-pptx/

However you could build on these and develop a Azure AI powered solution

Suggestions on how you could architect this agent workflow, with suggestions for orchestration, tooling, and deployment:

User Prompt → Agent Invocation
Natural language input like:
“Create a PowerPoint presentation with 10 slides on Power of AI”

Agent Tasks

  • Parse intent and parameters (topic, slide count, tone/style)
  • Retrieve base .pptx template from SharePoint
  • Generate slide content (titles + bullet points or visuals)
  • Populate slides using the template
  • Save and expose download link

Output

  • A downloadable .pptx file with company formatting and generated content

Suggested Stack & Tools

| Component | Recommendation

Agent Framework - Azure AI Foundry, LangChain, or Semantic Kernel for declarative orchestration

Template Access - Microsoft Graph API to fetch .pptx from SharePoint

Slide Generation - OpenAI or Azure OpenAI (GPT-4o) for content generation

PPT Manipulation - python-pptx or Marqo + Unstructured for layout

Storage & Delivery - Azure Blob Storage or OneDrive for download link generation you could look at MS Graph also

Trigger Surface - Teams Bot, Web App, or Copilot Plugin

GitHub

PowerPoint creation toolkit with Python - programmatic presentation generation via CLI and JSON outlines - tomleelong/PPTX