n8n Workflow: Creating Presentations with AI and Gamma
An n8n workflow that turns a bilingual form into a finished, on-brand Gamma deck, document or social media carousel.
· 8 min
Can a form become a finished, on-brand deck?
Yes. Fill in the form, submit it, and a few minutes later an email arrives with a finished Gamma deck, A4 document or social carousel. It's already in the brand's correct theme, and the text is already split cleanly into slides.
Nobody opens Gamma's editor for this. Nobody picks a theme or decides where the text breaks. Every one of those decisions was made once, when the workflow was built, not every time someone needs a presentation.
I built this workflow, and I still run it, for a team that produces decks for several brands. Here I describe what made it possible and where I had to be careful.
Why every new presentation forced the same four decisions
Before the workflow existed, "make a deck" wasn't one decision, it was four. Which theme, for which brand? 16:9 for a client, A4 for a document, or portrait for social? And how do you split a page of text so it reads like slides instead of a dumped paragraph?
Those four decisions got made fresh every time. Usually by whoever needed a presentation that day, not by whoever knew Gamma. The result was predictable. Usually the theme was wrong, the aspect ratio didn't fit the purpose, and the body text landed on the slide as one long block with no slide breaks.
It didn't look professional, but it wasn't really anyone's fault. Whoever built the deck that day usually wasn't a Gamma power user, so there was no reason they should have known the default settings.
That's exactly what's worth automating: the theme choice, the format, the text breaks. Not the slide design itself, Gamma already does that well. The decisions that happen before Gamma even sees the text, because that's where the inconsistency between different brands' decks comes from.
The fix: one form that collects everything up front
The fix was a single bilingual form that asks for everything at once, so nobody has to think about Gamma's rules in the middle of a task. It collects it all in one submission: text, processing mode (generate, condense or preserve structure), output format, target brand, language, slide count and optional extra instructions.
After that the workflow runs on its own. It translates the form choices into Gamma API parameters and prepares the text for the slides. Then it calls the Gamma API and waits until the job is done.
After that it emails the result. At the end there's a preview link and a download link, and nobody needs more than that.
I had worked with the Gamma API before, in a pipeline that turns podcast audio into slides and social cards. I was surprised how well and how easily it works once you know the parameter structure. Building a dedicated Gamma module from that experience was the obvious next step, this time not for a single use case but as a tool for the whole team.
From form to API: connecting brand and theme with a lookup
The form speaks the users' language: brand names, readable format labels, mode options in German and English. The Gamma API, on the other hand, wants theme IDs, folder IDs and language codes. Something has to translate between those two worlds, and it shouldn't be a person doing it by hand on every submission.
I solved it with an Edit Fields node. It reads the form labels and maps them to the matching Gamma parameters through a lookup table. Each brand has one fixed entry: theme ID, folder ID, so the right combination doesn't have to be hunted down again on every submission. When a new brand comes along, a new row goes into the table.
Nothing else in the pipeline changes, no new node, no new logic. That's the whole trick, and it's also why the workflow grows with more brands without the logic growing too.
Keeping things organized inside Gamma itself helped more than I expected. Without one folder per brand, every generated asset ends up in the same place. At some point nobody can find anything anymore, because decks, documents and social assets from every brand pile up in a single folder. That's why each brand's folder ID sits right next to its theme ID in the same mapping.
How the output format gets decided
Deck (16:9) and document (A4) run straight from the first form, with no extra step in between. Only social gets a second, short form step: there you pick the right aspect ratio, 1:1, 4:5 or 9:16.
I chose this two-step setup on purpose, even though one single, longer form would have been less work to build. The detour was worth it to me. Someone putting together a client deck shouldn't have to scroll past social format options they don't even need that day.
The text prep: an agent that cuts text into slide-sized pieces
Gamma generates decks from text, but raw input has to be split into slide-sized pieces first, or everything lands on a single slide as one dense wall of text. A LangChain agent on GPT-4.1-mini handles that split. Its system prompt is narrowly scoped: preserve or create structure, change nothing about the content, add nothing, and only mark the slide breaks. That maps exactly onto the three modes Gamma offers through the textMode parameter: generate, condense, preserve.
The behavior changes with the mode picked in the form: generate builds a whole slide outline from a short topic, condense trims existing content down to the essentials, and preserve only rearranges the text into slide-sized pieces without touching the substance.
GPT-4.1-mini was the cheap, capable option when I built this. This step is pure sorting work, not creative writing, and nothing about that has changed since. I haven't touched the step, because there's no reason to change something that costs almost nothing and has never broken.
What I really paid attention to: the model must never quietly insert or rewrite content of its own. The person filling out the form can't see into this step, because nobody proofreads the intermediate text before it goes to Gamma. Text goes in, and a deck comes out.
If the model added a sentence here or toned down a claim, nobody would notice right away. That's exactly why the prompt is kept as restrictive as possible: split and mark, nothing more.
The delivery: why email works better than chat here
Once the API call is out, the workflow polls the job status at regular intervals until Gamma reports the asset as finished. Plain polling, nothing fancy, and the job has run reliably the whole time since I built it.
At first I used two channels in parallel: a chat notification and an email. Mostly I wanted to confirm that runs actually went through and didn't get stuck somewhere unnoticed. The chat channel is gone now.
The email carries the actual confirmation: an HTML message with a preview link and a download link. Nothing else in that channel competes for attention.
The proof: what's actually running in production
Nothing hypothetical about it: this is a live workflow. The stack behind it is small: n8n orchestrates everything, the Gamma API handles generation, a LangChain agent on GPT-4.1-mini prepares the text.
I built it alone, in about two weeks, and it's been in production ever since.
You submit the form and wait briefly, that's all the person has to do. What comes back is a Gamma asset in the requested format: 16:9 deck, A4 document or social portrait. It carries the right brand theme with the matching logo, colors and the right font.
The text shows up as properly structured slides, not as a dumped paragraph. On top of that come a preview link for editing in the browser and a download link as PPTX or PDF. Both arrive by email.
How well the team took to it is the result that means the most to me. The workflow was well received and made deck creation noticeably easier for everyone who rarely works with Gamma, exactly the people who were most likely to get the theme or format wrong before. Anyone who used to have to hunt for the right theme and split the text by hand now fills out a form and gets on with the actual work.
Before that, almost everyone got it wrong at some point: wrong theme, wrong format, or text just thrown in without slide breaks, because the decisions got made fresh every time, usually by the person who needed the deck that day, not by the one who knew Gamma. Since the workflow went live, that doesn't happen anymore.
What I'd do differently if I built it again today: I'd branch the form more, so it guides users better step by step. And I'd allow file and image uploads, so the workflow doesn't only work with plain text but can also use material that already exists. The core pipeline already works well, I wouldn't touch it. The room for improvement is on the input side, not in how Gamma renders the output.
If you're building a similar workflow and thinking about the platform choice behind it, there's comparison material here. I compared n8n against Make.com for exactly this kind of workflow. And if you're starting from zero: I've also written about five beginner workflows for n8n.
The same content pipeline I used to get to know the Gamma API also feeds the Content Machine. That related agent workflow is worth a look if slide generation is only part of what you want to automate. How to define consistency across several brands before you automate it is something I cover in my post on brand voice.
FAQ
- Can AI create on-brand presentations automatically?
- Yes, if you separate two jobs: an AI step that turns raw text into slide-sized pieces, and a lookup step that maps a brand name to its fixed theme and folder in Gamma. The AI never picks the brand or the design, it only reshapes text. That separation is exactly what keeps the output on-brand every time.
- How do presentations stay on-brand across a team?
- Don't let each person pick fonts, colors or a theme themselves. Give every brand a fixed theme ID and folder ID in Gamma, store that mapping once, and let the form or workflow look it up automatically. New brand, new row in the mapping, nothing else changes.
- What is the Gamma API used for in a workflow like this?
- It takes structured text plus parameters such as theme, format, language and slide count, generates the actual deck, document or social asset from that, and returns a preview link and a download link once the job is done. The workflow calls it, polls the job status until it's finished, and emails the two links. So the design work is done by the API, not by a person in the Gamma editor.

Eric Hinzpeter
Eric Hinzpeter, Senior B2B Content Strategist. He builds AI agents and marketing automation for production use and writes up what comes out of it here.