---
canonical_url: "https://docs.composio.dev/toolkits/documentero"
markdown_url: "https://docs.composio.dev/toolkits/documentero.md"
product: "platform"
version: null
last_updated: null
---

# Documentero

Documentero generates Word, PDF, and Excel documents from reusable templates and structured data.

- **Category:** documents
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 4
- **Triggers:** 0
- **Slug:** `DOCUMENTERO`
- **Version:** 00000000_00

## Tools

### Generate Document

**Slug:** `DOCUMENTERO_GENERATE_DOCUMENT`

Generate a DOCX, PDF, or XLSX document from a Documentero template and data. Returns an expiring signed download URL by default or embedded base64 file data when requested. Each call consumes plan-dependent generation quota.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Template field values matching DOCUMENTERO_GET_TEMPLATE_JSON_SCHEMA. The complete JSON generation payload must not exceed 10 MB. |
| `embed` | boolean | No | Set true to return base64 file content instead of the default signed download URL; embedded content can be large. |
| `format` | string ("docx" | "pdf" | "xlsx") | No | Output format. Word templates support docx or pdf; Excel templates support xlsx. Omit to use the template's default format. |
| `template_id` | string | Yes | Template identifier returned by DOCUMENTERO_LIST_TEMPLATES. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Template JSON Schema

**Slug:** `DOCUMENTERO_GET_TEMPLATE_JSON_SCHEMA`

Return the JSON Schema for the data object accepted when generating a document from a template.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `template_id` | string | Yes | Template identifier returned by DOCUMENTERO_LIST_TEMPLATES. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Template Metadata

**Slug:** `DOCUMENTERO_GET_TEMPLATE_METADATA`

Return a template's Documentero field definitions, nested field options, supported output formats, and default output format.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `template_id` | string | Yes | Template identifier returned by DOCUMENTERO_LIST_TEMPLATES. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Templates

**Slug:** `DOCUMENTERO_LIST_TEMPLATES`

Return all templates available to the connected Documentero account, including each template identifier and type-bearing label.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
