Presenton icon

Presenton

Interact with presenton API (async generation + status checking)

Overview

This node integrates with the Presenton API to perform three main operations related to presentation management:

  • Generate Presentation (Async): Initiates asynchronous generation of a presentation based on provided content, slides in markdown, instructions, tone, verbosity, and other customization options.
  • Check Presentation Status: Polls or checks the status of an ongoing presentation generation task using a task ID.
  • Upload File: Uploads a binary file to Presenton, which can later be referenced during presentation generation.

A common use case is automating the creation of slide decks from textual content or markdown slides, optionally uploading supporting files beforehand. For example, a user could upload images or data files, then generate a presentation that references those files, and finally poll for completion status.

Properties

Name Meaning
Binary Property Name of the binary property containing the file to upload (required for the "Upload File" operation).

Note: The above table lists only the input property relevant to the Upload File operation as requested.

Output

The node outputs JSON data representing the response from the Presenton API for each operation:

  • Upload File: Returns JSON containing details about the uploaded file, such as its ID and metadata.
  • Generate Presentation (Async): Returns JSON with information about the initiated presentation generation task, including a task ID.
  • Check Presentation Status: Returns JSON with the current status of the presentation generation task, such as progress or completion state.

No binary output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Presenton API.
  • Uses internal helper functions to make HTTP requests (apiRequest and apiRequestFormData) to the Presenton endpoints.
  • No additional external dependencies beyond the Presenton API and n8n's standard environment.

Troubleshooting

  • Missing Binary Data: When performing the "Upload File" operation, if the specified binary property does not exist or contains no data, the node will throw an error indicating the missing binary property. Ensure the binary data is correctly passed into the node under the specified property name.
  • Invalid Number of Slides: For "Generate Presentation (Async)", the number of slides must be a positive number. Providing zero or negative values will cause an error.
  • Missing Task ID: For "Check Presentation Status", a valid task ID must be provided; otherwise, an error is thrown.
  • API Errors: Any errors returned by the Presenton API are surfaced as node errors. Check your API credentials and network connectivity.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one item fails, returning error details in the output JSON.

Links and References

Discussion