> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DocuPotion

> DocuPotion generates PDF and PNG documents from reusable templates and structured data.

![DocuPotion logo](https://mintcdn.com/composio-preview/VNLruGH5mLZqXdPH/images/toolkits/docupotion.svg?fit=max\&auto=format\&n=VNLruGH5mLZqXdPH\&q=85\&s=7d7105f9f4cbe82a8d2c993bffe10aa5)

* **Category:** documents
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 3
* **Triggers:** 0
* **Slug:** `DOCUPOTION`
* **Version:** 00000000\_00

## Tools

> [accordion] Create Document
>
> **Slug:** `DOCUPOTION_CREATE_DOCUMENT`
>
> Generate one PDF or PNG from a DocuPotion template and dynamic data. This consumes account document quota and returns a temporary download URL.
>
> #### Input Parameters
>
> **data** `object`
>
> Dynamic merge-field values whose keys exactly match variables in the template Data tab; nested objects and arrays are supported.
>
> **format** `string ("pdf" | "png")`
>
> File format to generate: pdf or png.
>
> **expiration** `integer`
>
> Temporary download URL lifetime in minutes (1-10080).
>
> **template\_id** `string` *required*
>
> ID of the DocuPotion template to render; obtain it from DOCUPOTION\_LIST\_TEMPLATES.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Account
>
> **Slug:** `DOCUPOTION_GET_ACCOUNT`
>
> Return the connected DocuPotion account identity and current document usage against its plan limit.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Templates
>
> **Slug:** `DOCUPOTION_LIST_TEMPLATES`
>
> Return all DocuPotion templates available to the connected account, including each template ID required to create a document.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
