# Docugenerate

DocuGenerate simplifies document generation by converting Word templates and JSON data into professional PDF files with ease. It supports automation of contracts, invoices, letters, certificates, and more, catering to both developers and non-developers. With an intuitive REST API and no-code integrations, it ensures seamless functionality for any scale.

- **Category:** documents
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 9
- **Triggers:** 0
- **Slug:** `DOCUGENERATE`
- **Version:** 20260414_00

## Tools

### Delete Document

**Slug:** `DOCUGENERATE_DELETE_DOCUMENT`

Tool to delete a document by ID. Permanently removes the document from storage. Use when you need to clean up generated documents or remove outdated files from DocuGenerate.

### Delete template

**Slug:** `DOCUGENERATE_DELETE_TEMPLATE`

Tool to permanently delete a template by ID. Removes the template and all associated versions from storage. Use when a template is no longer needed.

### Generate documents from template

**Slug:** `DOCUGENERATE_DOCUMENT_GENERATE`

Tool to generate document(s) from a template by merging JSON data or uploading a data file. Use when you need to programmatically produce one or more documents and receive metadata including a download URL.

### Update Document

**Slug:** `DOCUGENERATE_DOCUMENT_UPDATE`

Update a document's name/title in DocuGenerate. Use this to rename an existing document after it has been generated. Requires a valid document ID (obtained from document generation or listing) and the new name. Returns the updated document metadata including the document_uri for downloading.

### Get document by ID

**Slug:** `DOCUGENERATE_GET_DOCUMENT`

Tool to retrieve a specific document by ID. Returns document metadata including name, format, template_id, and download URL. Use when you need to fetch details about an existing generated document.

### Get template by ID

**Slug:** `DOCUGENERATE_GET_TEMPLATE`

Tool to retrieve a specific template by ID. Returns template metadata including name, format, region, and configuration settings.

### List documents by template

**Slug:** `DOCUGENERATE_LIST_DOCUMENTS`

Tool to list all documents generated from a template. Results are ordered by created time in descending order. Use when you need to retrieve a list of previously generated documents for a specific template.

### Get or list templates

**Slug:** `DOCUGENERATE_TEMPLATE_GET_OR_LIST`

Tool to retrieve or list existing templates. Use when needing template IDs and metadata before making updates or generating documents.

### Update Template

**Slug:** `DOCUGENERATE_TEMPLATE_UPDATE`

Tool to update a template’s file and settings. Use after confirming the template ID and desired inputs.
