Generate Slide Deck
Sales and marketing teams use this recipe to generate a branded slide deck programmatically. Build a complete presentation with a title slide, problem and solution framing, feature highlights, pricing tables, and a call to action — delivered as a ready-to-present PPTX file.
APIs Used
Document Generation (1 credits/request)
Prerequisites
You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.
For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.
Implementation
curl -X POST https://api.iterationlayer.com/document-generation/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"format": "pptx",
"document": {
"metadata": {
"title": "Launchpad Analytics — Product Launch",
"author": "Launchpad Analytics GmbH"
},
"page": {
"size": {
"preset": "A4"
},
"margins": {
"top_in_pt": 54,
"right_in_pt": 54,
"bottom_in_pt": 54,
"left_in_pt": 54
}
},
"styles": {
"text": {
"font_family": "Helvetica",
"font_size_in_pt": 14.0,
"line_height": 1.5,
"color": "#333333"
},
"headline": {
"font_family": "Helvetica",
"font_size_in_pt": 32.0,
"color": "#111111",
"spacing_before_in_pt": 12.0,
"spacing_after_in_pt": 6.0,
"font_weight": "bold"
},
"link": {
"color": "#0066CC",
"is_underlined": true
},
"list": {
"text_style": {
"font_family": "Helvetica",
"font_size_in_pt": 14.0,
"line_height": 1.5,
"color": "#333333"
},
"marker_color": "#333333",
"marker_gap_in_pt": 8.0
},
"table": {
"header": {
"background_color": "#333333",
"text_color": "#FFFFFF",
"font_size_in_pt": 12.0,
"font_weight": "bold"
},
"body": {
"background_color": "#FFFFFF",
"text_color": "#333333",
"font_size_in_pt": 12.0
},
"border": {
"outer": {
"top": {
"color": "#CCCCCC",
"width_in_pt": 1.0
},
"right": {
"color": "#CCCCCC",
"width_in_pt": 1.0
},
"bottom": {
"color": "#CCCCCC",
"width_in_pt": 1.0
},
"left": {
"color": "#CCCCCC",
"width_in_pt": 1.0
}
},
"inner": {
"horizontal": {
"color": "#EEEEEE",
"width_in_pt": 0.5
},
"vertical": {
"color": "#EEEEEE",
"width_in_pt": 0.5
}
}
}
},
"grid": {
"background_color": "#FFFFFF",
"border_color": "#CCCCCC",
"border_width_in_pt": 0.0,
"gap_in_pt": 12.0
},
"separator": {
"color": "#CCCCCC",
"thickness_in_pt": 1.0,
"spacing_before_in_pt": 12.0,
"spacing_after_in_pt": 12.0
},
"image": {
"border_color": "#000000",
"border_width_in_pt": 0.0
}
},
"content": [
{
"type": "headline",
"level": "h1",
"text": "Launchpad Analytics"
},
{
"type": "paragraph",
"runs": [
{
"text": "Real-time product analytics for teams that ship fast.",
"font_weight": "bold"
}
]
},
{
"type": "paragraph",
"runs": [
{
"text": "Product Launch — Q2 2026"
}
]
},
{
"type": "page-break"
},
{
"type": "headline",
"level": "h1",
"text": "The Problem"
},
{
"type": "paragraph",
"markdown": "Product teams today are **flying blind**. Existing analytics tools are built for data engineers, not product managers. Teams wait days for answers to simple questions like *\"Which feature drives retention?\"* or *\"Where do users drop off in onboarding?\"*"
},
{
"type": "list",
"variant": "unordered",
"items": [
{
"text": "Average time to insight: 3–5 business days"
},
{
"text": "72% of product managers rely on engineers for data queries"
},
{
"text": "Only 18% of companies act on analytics within the same sprint"
}
]
},
{
"type": "page-break"
},
{
"type": "headline",
"level": "h1",
"text": "Our Solution"
},
{
"type": "paragraph",
"markdown": "Launchpad Analytics gives product teams **instant answers** without writing SQL. Our AI-powered query engine translates natural language questions into real-time insights, delivered as interactive dashboards that update as your users interact with your product."
},
{
"type": "list",
"variant": "unordered",
"items": [
{
"text": "Ask questions in plain English — no SQL required"
},
{
"text": "Real-time event streaming with sub-second latency"
},
{
"text": "Auto-generated dashboards for onboarding, retention, and feature adoption"
},
{
"text": "One-click integration with Segment, Amplitude, and Mixpanel"
}
]
},
{
"type": "page-break"
},
{
"type": "headline",
"level": "h1",
"text": "Key Features"
},
{
"type": "grid",
"columns": [
{
"column_span": 6,
"blocks": [
{
"type": "headline",
"level": "h3",
"text": "Natural Language Queries"
},
{
"type": "paragraph",
"runs": [
{
"text": "Ask \"What percentage of users completed onboarding last week?\" and get an instant chart. No SQL, no waiting."
}
]
},
{
"type": "headline",
"level": "h3",
"text": "Funnel Analysis"
},
{
"type": "paragraph",
"runs": [
{
"text": "Visualize user journeys from signup to conversion. Identify drop-off points and A/B test improvements in real time."
}
]
}
]
},
{
"column_span": 6,
"blocks": [
{
"type": "headline",
"level": "h3",
"text": "Cohort Retention"
},
{
"type": "paragraph",
"runs": [
{
"text": "Track retention by signup cohort, plan tier, or acquisition channel. See trends over 7, 30, and 90-day windows."
}
]
},
{
"type": "headline",
"level": "h3",
"text": "Team Collaboration"
},
{
"type": "paragraph",
"runs": [
{
"text": "Share dashboards with your team via link. Add annotations, set alerts, and comment on data points directly."
}
]
}
]
}
]
},
{
"type": "page-break"
},
{
"type": "headline",
"level": "h1",
"text": "Pricing"
},
{
"type": "paragraph",
"runs": [
{
"text": "Simple, transparent pricing that scales with your product."
}
]
},
{
"type": "table",
"column_widths_in_percent": [25, 25, 25, 25],
"header": {
"cells": [
{
"text": "Feature"
},
{
"text": "Starter",
"horizontal_alignment": "center"
},
{
"text": "Growth",
"horizontal_alignment": "center"
},
{
"text": "Enterprise",
"horizontal_alignment": "center"
}
]
},
"rows": [
{
"cells": [
{
"text": "Monthly Price"
},
{
"text": "EUR 299/mo",
"horizontal_alignment": "center"
},
{
"text": "EUR 799/mo",
"horizontal_alignment": "center"
},
{
"text": "Custom",
"horizontal_alignment": "center"
}
]
},
{
"cells": [
{
"text": "Monthly Events"
},
{
"text": "5M",
"horizontal_alignment": "center"
},
{
"text": "50M",
"horizontal_alignment": "center"
},
{
"text": "Unlimited",
"horizontal_alignment": "center"
}
]
},
{
"cells": [
{
"text": "Team Members"
},
{
"text": "5",
"horizontal_alignment": "center"
},
{
"text": "25",
"horizontal_alignment": "center"
},
{
"text": "Unlimited",
"horizontal_alignment": "center"
}
]
},
{
"cells": [
{
"text": "Data Retention"
},
{
"text": "12 months",
"horizontal_alignment": "center"
},
{
"text": "24 months",
"horizontal_alignment": "center"
},
{
"text": "Unlimited",
"horizontal_alignment": "center"
}
]
},
{
"cells": [
{
"text": "Support"
},
{
"text": "Email",
"horizontal_alignment": "center"
},
{
"text": "Priority",
"horizontal_alignment": "center"
},
{
"text": "Dedicated CSM",
"horizontal_alignment": "center"
}
]
}
]
},
{
"type": "page-break"
},
{
"type": "headline",
"level": "h1",
"text": "Get Started Today"
},
{
"type": "paragraph",
"markdown": "Join **340+ product teams** already using Launchpad Analytics to ship better products, faster."
},
{
"type": "list",
"variant": "ordered",
"items": [
{
"text": "Sign up for a free 14-day trial at launchpad-analytics.com"
},
{
"text": "Connect your event source in under 5 minutes"
},
{
"text": "Ask your first question and get instant insights"
}
]
},
{
"type": "separator"
},
{
"type": "paragraph",
"runs": [
{
"text": "Contact us: ",
"font_weight": "bold"
},
{
"text": "sales@launchpad-analytics.com · (415) 555-0192 · launchpad-analytics.com"
}
]
}
]
}
}'
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });
const result = await client.generateDocument({
format: "pptx",
document: {
metadata: {
title: "Launchpad Analytics — Product Launch",
author: "Launchpad Analytics GmbH",
},
page: {
size: { preset: "A4" },
margins: {
top_in_pt: 54,
right_in_pt: 54,
bottom_in_pt: 54,
left_in_pt: 54,
},
},
styles: {
text: {
font_family: "Helvetica",
font_size_in_pt: 14.0,
line_height: 1.5,
color: "#333333",
},
headline: {
font_family: "Helvetica",
font_size_in_pt: 32.0,
color: "#111111",
spacing_before_in_pt: 12.0,
spacing_after_in_pt: 6.0,
font_weight: "bold",
},
link: {
color: "#0066CC",
is_underlined: true,
},
list: {
text_style: {
font_family: "Helvetica",
font_size_in_pt: 14.0,
line_height: 1.5,
color: "#333333",
},
marker_color: "#333333",
marker_gap_in_pt: 8.0,
},
table: {
header: {
background_color: "#333333",
text_color: "#FFFFFF",
font_size_in_pt: 12.0,
font_weight: "bold",
},
body: {
background_color: "#FFFFFF",
text_color: "#333333",
font_size_in_pt: 12.0,
},
border: {
outer: {
top: {
color: "#CCCCCC",
width_in_pt: 1.0,
},
right: {
color: "#CCCCCC",
width_in_pt: 1.0,
},
bottom: {
color: "#CCCCCC",
width_in_pt: 1.0,
},
left: {
color: "#CCCCCC",
width_in_pt: 1.0,
},
},
inner: {
horizontal: {
color: "#EEEEEE",
width_in_pt: 0.5,
},
vertical: {
color: "#EEEEEE",
width_in_pt: 0.5,
},
},
},
},
grid: {
background_color: "#FFFFFF",
border_color: "#CCCCCC",
border_width_in_pt: 0.0,
gap_in_pt: 12.0,
},
separator: {
color: "#CCCCCC",
thickness_in_pt: 1.0,
spacing_before_in_pt: 12.0,
spacing_after_in_pt: 12.0,
},
image: {
border_color: "#000000",
border_width_in_pt: 0.0,
},
},
content: [
{
type: "headline",
level: "h1",
text: "Launchpad Analytics",
},
{
type: "paragraph",
runs: [
{
text: "Real-time product analytics for teams that ship fast.",
font_weight: "bold",
},
],
},
{
type: "paragraph",
runs: [{ text: "Product Launch — Q2 2026" }],
},
{ type: "page-break" },
{
type: "headline",
level: "h1",
text: "The Problem",
},
{
type: "paragraph",
markdown: "Product teams today are **flying blind**. Existing analytics tools are built for data engineers, not product managers. Teams wait days for answers to simple questions like *\"Which feature drives retention?\"* or *\"Where do users drop off in onboarding?\"*",
},
{
type: "list",
variant: "unordered",
items: [
{ text: "Average time to insight: 3–5 business days" },
{ text: "72% of product managers rely on engineers for data queries" },
{ text: "Only 18% of companies act on analytics within the same sprint" },
],
},
{ type: "page-break" },
{
type: "headline",
level: "h1",
text: "Our Solution",
},
{
type: "paragraph",
markdown: "Launchpad Analytics gives product teams **instant answers** without writing SQL. Our AI-powered query engine translates natural language questions into real-time insights, delivered as interactive dashboards that update as your users interact with your product.",
},
{
type: "list",
variant: "unordered",
items: [
{ text: "Ask questions in plain English — no SQL required" },
{ text: "Real-time event streaming with sub-second latency" },
{
text: "Auto-generated dashboards for onboarding,
retention,
and feature adoption",
},
{
text: "One-click integration with Segment,
Amplitude,
and Mixpanel",
},
],
},
{ type: "page-break" },
{
type: "headline",
level: "h1",
text: "Key Features",
},
{
type: "grid",
columns: [
{
column_span: 6,
blocks: [
{
type: "headline",
level: "h3",
text: "Natural Language Queries",
},
{
type: "paragraph",
runs: [{
text: "Ask \"What percentage of users completed onboarding last week?\" and get an instant chart. No SQL,
no waiting.",
}],
},
{
type: "headline",
level: "h3",
text: "Funnel Analysis",
},
{
type: "paragraph",
runs: [{ text: "Visualize user journeys from signup to conversion. Identify drop-off points and A/B test improvements in real time." }],
},
],
},
{
column_span: 6,
blocks: [
{
type: "headline",
level: "h3",
text: "Cohort Retention",
},
{
type: "paragraph",
runs: [{
text: "Track retention by signup cohort,
plan tier,
or acquisition channel. See trends over 7,
30,
and 90-day windows.",
}],
},
{
type: "headline",
level: "h3",
text: "Team Collaboration",
},
{
type: "paragraph",
runs: [{
text: "Share dashboards with your team via link. Add annotations,
set alerts,
and comment on data points directly.",
}],
},
],
},
],
},
{ type: "page-break" },
{
type: "headline",
level: "h1",
text: "Pricing",
},
{
type: "paragraph",
runs: [{
text: "Simple,
transparent pricing that scales with your product.",
}],
},
{
type: "table",
column_widths_in_percent: [25, 25, 25, 25],
header: {
cells: [
{ text: "Feature" },
{
text: "Starter",
horizontal_alignment: "center",
},
{
text: "Growth",
horizontal_alignment: "center",
},
{
text: "Enterprise",
horizontal_alignment: "center",
},
],
},
rows: [
{
cells: [
{ text: "Monthly Price" },
{
text: "EUR 299/mo",
horizontal_alignment: "center",
},
{
text: "EUR 799/mo",
horizontal_alignment: "center",
},
{
text: "Custom",
horizontal_alignment: "center",
},
],
},
{
cells: [
{ text: "Monthly Events" },
{
text: "5M",
horizontal_alignment: "center",
},
{
text: "50M",
horizontal_alignment: "center",
},
{
text: "Unlimited",
horizontal_alignment: "center",
},
],
},
{
cells: [
{ text: "Team Members" },
{
text: "5",
horizontal_alignment: "center",
},
{
text: "25",
horizontal_alignment: "center",
},
{
text: "Unlimited",
horizontal_alignment: "center",
},
],
},
{
cells: [
{ text: "Data Retention" },
{
text: "12 months",
horizontal_alignment: "center",
},
{
text: "24 months",
horizontal_alignment: "center",
},
{
text: "Unlimited",
horizontal_alignment: "center",
},
],
},
{
cells: [
{ text: "Support" },
{
text: "Email",
horizontal_alignment: "center",
},
{
text: "Priority",
horizontal_alignment: "center",
},
{
text: "Dedicated CSM",
horizontal_alignment: "center",
},
],
},
],
},
{ type: "page-break" },
{
type: "headline",
level: "h1",
text: "Get Started Today",
},
{
type: "paragraph",
markdown: "Join **340+ product teams** already using Launchpad Analytics to ship better products, faster.",
},
{
type: "list",
variant: "ordered",
items: [
{ text: "Sign up for a free 14-day trial at launchpad-analytics.com" },
{ text: "Connect your event source in under 5 minutes" },
{ text: "Ask your first question and get instant insights" },
],
},
{ type: "separator" },
{
type: "paragraph",
runs: [
{
text: "Contact us: ",
font_weight: "bold",
},
{ text: "sales@launchpad-analytics.com · (415) 555-0192 · launchpad-analytics.com" },
],
},
],
},
});
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")
result = client.generate_document(
format="pptx",
document={
"metadata": {
"title": "Launchpad Analytics — Product Launch",
"author": "Launchpad Analytics GmbH",
},
"page": {
"size": {"preset": "A4"},
"margins": {
"top_in_pt": 54,
"right_in_pt": 54,
"bottom_in_pt": 54,
"left_in_pt": 54,
},
},
"styles": {
"text": {
"font_family": "Helvetica",
"font_size_in_pt": 14.0,
"line_height": 1.5,
"color": "#333333",
},
"headline": {
"font_family": "Helvetica",
"font_size_in_pt": 32.0,
"color": "#111111",
"spacing_before_in_pt": 12.0,
"spacing_after_in_pt": 6.0,
"font_weight": "bold",
},
"link": {
"color": "#0066CC",
"is_underlined": True,
},
"list": {
"text_style": {
"font_family": "Helvetica",
"font_size_in_pt": 14.0,
"line_height": 1.5,
"color": "#333333",
},
"marker_color": "#333333",
"marker_gap_in_pt": 8.0,
},
"table": {
"header": {
"background_color": "#333333",
"text_color": "#FFFFFF",
"font_size_in_pt": 12.0,
"font_weight": "bold",
},
"body": {
"background_color": "#FFFFFF",
"text_color": "#333333",
"font_size_in_pt": 12.0,
},
"border": {
"outer": {
"top": {
"color": "#CCCCCC",
"width_in_pt": 1.0,
},
"right": {
"color": "#CCCCCC",
"width_in_pt": 1.0,
},
"bottom": {
"color": "#CCCCCC",
"width_in_pt": 1.0,
},
"left": {
"color": "#CCCCCC",
"width_in_pt": 1.0,
},
},
"inner": {
"horizontal": {
"color": "#EEEEEE",
"width_in_pt": 0.5,
},
"vertical": {
"color": "#EEEEEE",
"width_in_pt": 0.5,
},
},
},
},
"grid": {
"background_color": "#FFFFFF",
"border_color": "#CCCCCC",
"border_width_in_pt": 0.0,
"gap_in_pt": 12.0,
},
"separator": {
"color": "#CCCCCC",
"thickness_in_pt": 1.0,
"spacing_before_in_pt": 12.0,
"spacing_after_in_pt": 12.0,
},
"image": {
"border_color": "#000000",
"border_width_in_pt": 0.0,
},
},
"content": [
{
"type": "headline",
"level": "h1",
"text": "Launchpad Analytics",
},
{
"type": "paragraph",
"runs": [
{
"text": "Real-time product analytics for teams that ship fast.",
"font_weight": "bold",
},
],
},
{
"type": "paragraph",
"runs": [{"text": "Product Launch — Q2 2026"}],
},
{"type": "page-break"},
{
"type": "headline",
"level": "h1",
"text": "The Problem",
},
{
"type": "paragraph",
"markdown": "Product teams today are **flying blind**. Existing analytics tools are built for data engineers, not product managers. Teams wait days for answers to simple questions like *\"Which feature drives retention?\"* or *\"Where do users drop off in onboarding?\"*",
},
{
"type": "list",
"variant": "unordered",
"items": [
{"text": "Average time to insight: 3–5 business days"},
{"text": "72% of product managers rely on engineers for data queries"},
{"text": "Only 18% of companies act on analytics within the same sprint"},
],
},
{"type": "page-break"},
{
"type": "headline",
"level": "h1",
"text": "Our Solution",
},
{
"type": "paragraph",
"markdown": "Launchpad Analytics gives product teams **instant answers** without writing SQL. Our AI-powered query engine translates natural language questions into real-time insights, delivered as interactive dashboards that update as your users interact with your product.",
},
{
"type": "list",
"variant": "unordered",
"items": [
{"text": "Ask questions in plain English — no SQL required"},
{"text": "Real-time event streaming with sub-second latency"},
{
"text": "Auto-generated dashboards for onboarding,
retention,
and feature adoption",
},
{
"text": "One-click integration with Segment,
Amplitude,
and Mixpanel",
},
],
},
{"type": "page-break"},
{
"type": "headline",
"level": "h1",
"text": "Key Features",
},
{
"type": "grid",
"columns": [
{
"column_span": 6,
"blocks": [
{
"type": "headline",
"level": "h3",
"text": "Natural Language Queries",
},
{
"type": "paragraph",
"runs": [{
"text": "Ask \"What percentage of users completed onboarding last week?\" and get an instant chart. No SQL,
no waiting.",
}],
},
{
"type": "headline",
"level": "h3",
"text": "Funnel Analysis",
},
{
"type": "paragraph",
"runs": [{"text": "Visualize user journeys from signup to conversion. Identify drop-off points and A/B test improvements in real time."}],
},
],
},
{
"column_span": 6,
"blocks": [
{
"type": "headline",
"level": "h3",
"text": "Cohort Retention",
},
{
"type": "paragraph",
"runs": [{
"text": "Track retention by signup cohort,
plan tier,
or acquisition channel. See trends over 7,
30,
and 90-day windows.",
}],
},
{
"type": "headline",
"level": "h3",
"text": "Team Collaboration",
},
{
"type": "paragraph",
"runs": [{
"text": "Share dashboards with your team via link. Add annotations,
set alerts,
and comment on data points directly.",
}],
},
],
},
],
},
{"type": "page-break"},
{
"type": "headline",
"level": "h1",
"text": "Pricing",
},
{
"type": "paragraph",
"runs": [{
"text": "Simple,
transparent pricing that scales with your product.",
}],
},
{
"type": "table",
"column_widths_in_percent": [25, 25, 25, 25],
"header": {
"cells": [
{"text": "Feature"},
{
"text": "Starter",
"horizontal_alignment": "center",
},
{
"text": "Growth",
"horizontal_alignment": "center",
},
{
"text": "Enterprise",
"horizontal_alignment": "center",
},
],
},
"rows": [
{
"cells": [
{"text": "Monthly Price"},
{
"text": "EUR 299/mo",
"horizontal_alignment": "center",
},
{
"text": "EUR 799/mo",
"horizontal_alignment": "center",
},
{
"text": "Custom",
"horizontal_alignment": "center",
},
],
},
{
"cells": [
{"text": "Monthly Events"},
{
"text": "5M",
"horizontal_alignment": "center",
},
{
"text": "50M",
"horizontal_alignment": "center",
},
{
"text": "Unlimited",
"horizontal_alignment": "center",
},
],
},
{
"cells": [
{"text": "Team Members"},
{
"text": "5",
"horizontal_alignment": "center",
},
{
"text": "25",
"horizontal_alignment": "center",
},
{
"text": "Unlimited",
"horizontal_alignment": "center",
},
],
},
{
"cells": [
{"text": "Data Retention"},
{
"text": "12 months",
"horizontal_alignment": "center",
},
{
"text": "24 months",
"horizontal_alignment": "center",
},
{
"text": "Unlimited",
"horizontal_alignment": "center",
},
],
},
{
"cells": [
{"text": "Support"},
{
"text": "Email",
"horizontal_alignment": "center",
},
{
"text": "Priority",
"horizontal_alignment": "center",
},
{
"text": "Dedicated CSM",
"horizontal_alignment": "center",
},
],
},
],
},
{"type": "page-break"},
{
"type": "headline",
"level": "h1",
"text": "Get Started Today",
},
{
"type": "paragraph",
"markdown": "Join **340+ product teams** already using Launchpad Analytics to ship better products, faster.",
},
{
"type": "list",
"variant": "ordered",
"items": [
{"text": "Sign up for a free 14-day trial at launchpad-analytics.com"},
{"text": "Connect your event source in under 5 minutes"},
{"text": "Ask your first question and get instant insights"},
],
},
{"type": "separator"},
{
"type": "paragraph",
"runs": [
{
"text": "Contact us: ",
"font_weight": "bold",
},
{"text": "sales@launchpad-analytics.com · (415) 555-0192 · launchpad-analytics.com"},
],
},
],
},
)
package main
import il "github.com/iterationlayer/sdk-go"
func main() {
client := il.NewClient("YOUR_API_KEY")
result, err := client.GenerateDocument(il.GenerateDocumentRequest{
Format: "pptx",
Document: il.DocumentDefinition{
Metadata: il.DocumentMetadata{
Title: "Launchpad Analytics — Product Launch",
Author: "Launchpad Analytics GmbH",
},
Page: il.DocumentPage{
Size: il.DocPageSize{Preset: "A4"},
Margins: il.DocMargins{
TopInPt: 54,
RightInPt: 54,
BottomInPt: 54,
LeftInPt: 54,
},
},
Content: []il.ContentBlock{
il.NewHeadlineBlock("h1", "Launchpad Analytics"),
il.NewPageBreakBlock(),
il.NewHeadlin
…(truncated)