# Presenton

> Generate slides and outlines, export presentations and find available designs in Presenton Cloud.

App · 12 actions. Web page: https://docs.lodol.com/docs/integrations/presenton

## Actions

### Export presentation

Export a presentation in the selected format.

**Inputs**

- Token (`token`, text): Presentation token
- Id (`id`, text, required): Presentation ID to export
- Export as (`export_as`, text, required): Format to export the presentation as. One of: `pptx`, `pdf`, `png`.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "credits_consumed": 1.0,
    "edit_path": "example",
    "path": "example",
    "presentation_id": "example"
  }
}
```

### Generate outline

Turn a prompt into an outline for a slide deck.

**Inputs**

- Content (`content`, text, required): The content for generating the presentation
- N slides (`n_slides`, number): The number of slides to generate
- Language (`language`, text): The language for the presentation
- Tone (`tone`, text): Tone. One of: `default`, `casual`, `professional`, `funny`, `educational`, `sales_pitch` (Sales pitch).
- Verbosity (`verbosity`, text): Verbosity. One of: `concise`, `standard`, `text-heavy`.
- Include title slide (`include_title_slide`, true/false): Whether to include a title slide
- Instructions (`instructions`, text): The instructions for the presentation

**Outputs**

- `data` (list): The response from Presenton.

**Example output**

```json
{
  "data": []
}
```

### Generate presentation

Generate a presentation and return its export details.

**Inputs**

- Content (`content`, text, required): The content for generating the presentation
- N slides (`n_slides`, number): Number of slides to generate
- Instructions (`instructions`, text): The instruction for generating the presentation
- Language (`language`, text): Language for the presentation
- Tone (`tone`, text): Tone. One of: `default`, `casual`, `professional`, `funny`, `educational`, `sales_pitch` (Sales pitch).
- Verbosity (`verbosity`, text): Verbosity. One of: `concise`, `standard`, `text-heavy`.
- Web search (`web_search`, true/false): Whether to enable web search
- Image type (`image_type`, text): Type of image to generate. One of: `stock`, `ai-generated`.
- Standard template (`standard_template`, text): Standard template to use for the presentation. Available templates: neo-general, neo-modern, neo-standard, neo-swift, general, modern, standard, swift and your custom templates
- Smart design (`smart_design`, text): Design V2 id to use for the smart presentation
- Include title slide (`include_title_slide`, true/false): Whether to include a title slide
- Include table of contents (`include_table_of_contents`, true/false): Whether to include a table of contents
- Export as (`export_as`, text): Export format. One of: `pptx`, `pdf`, `png`.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "credits_consumed": 1.0,
    "edit_path": "example",
    "path": "example",
    "presentation_id": "example"
  }
}
```

### Get generation task

Check the status of an asynchronous generation task.

**Inputs**

- Id (`id`, text, required): ID of the async task

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "data": {},
    "error": {},
    "id": "example",
    "message": "example",
    "status": "pending",
    "type": "example",
    "updated_at": "example",
    "user": "example"
  }
}
```

### Get standard template

Read layouts and details for a template.

**Inputs**

- Template (`template_id`, text, required): Template id.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "description": "example",
    "fonts": {},
    "id": "example",
    "is_default": false,
    "layout_count": 1,
    "layouts": {},
    "merged_components": {},
    "name": "example",
    "schemas": [],
    "thumbnail": "example",
    "updated_at": "example"
  }
}
```

### Get template example

Read example slide content for a template.

**Inputs**

- Template (`template_id`, text, required): Template id.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "slides": [],
    "standard_template": "example"
  }
}
```

### List presentations

Read one page of presentations owned by the connected account.

**Inputs**

- Type (`type`, text): Filter presentations by type. One of: `standard`, `smart`.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_pages": 1
  }
}
```

### List Smart Designs

Find Smart Designs available to the connected account.

**Inputs**

- Default (`default`, true/false): Only include default designs when true, user designs when false.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_pages": 1
  }
}
```

### List standard templates

Find standard slide templates and their IDs.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 100.
- Default (`default`, true/false): Only include default templates when true, custom templates when false.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "items": [],
    "page": 1,
    "page_size": 1,
    "total": 1
  }
}
```

### List webhook subscriptions

Read webhook subscriptions owned by the connected account.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Presenton.

**Example output**

```json
{
  "data": []
}
```

### Start presentation from JSON

Start a presentation using structured slide data and a standard template.

**Inputs**

- Title (`title`, text, required): The title of the presentation
- Language (`language`, text): The language of the presentation
- Standard template (`standard_template`, text, required): The template to use for the presentation. Available templates: neo-general, neo-modern, neo-standard, neo-swift, general, modern, standard, swift and your custom templates
- Slides (`slides`, list, required): The slides to use for the presentation
- Export as (`export_as`, text): The format to export the presentation as. One of: `pptx`, `pdf`, `png`.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "data": {},
    "error": {},
    "id": "example",
    "message": "example",
    "status": "pending",
    "type": "example",
    "updated_at": "example",
    "user": "example"
  }
}
```

### Start presentation generation

Start generating a slide deck and return its task ID.

**Inputs**

- Content (`content`, text, required): The content for generating the presentation
- N slides (`n_slides`, number): Number of slides to generate
- Instructions (`instructions`, text): The instruction for generating the presentation
- Language (`language`, text): Language for the presentation
- Tone (`tone`, text): Tone. One of: `default`, `casual`, `professional`, `funny`, `educational`, `sales_pitch` (Sales pitch).
- Verbosity (`verbosity`, text): Verbosity. One of: `concise`, `standard`, `text-heavy`.
- Web search (`web_search`, true/false): Whether to enable web search
- Image type (`image_type`, text): Type of image to generate. One of: `stock`, `ai-generated`.
- Standard template (`standard_template`, text): Standard template to use for the presentation. Available templates: neo-general, neo-modern, neo-standard, neo-swift, general, modern, standard, swift and your custom templates
- Smart design (`smart_design`, text): Design V2 id to use for the smart presentation
- Include title slide (`include_title_slide`, true/false): Whether to include a title slide
- Include table of contents (`include_table_of_contents`, true/false): Whether to include a table of contents
- Export as (`export_as`, text): Export format. One of: `pptx`, `pdf`, `png`.

**Outputs**

- `data` (object): The response from Presenton.

**Example output**

```json
{
  "data": {
    "created_at": "example",
    "data": {},
    "error": {},
    "id": "example",
    "message": "example",
    "status": "pending",
    "type": "example",
    "updated_at": "example",
    "user": "example"
  }
}
```
