# Docsautomator

Automate your documents using Google Docs in minutes. Create, manage, and generate documents from templates with the DocsAutomator API.

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

## Tools

### Create Automation

**Slug:** `DOCSAUTOMATOR_CREATE_AUTOMATION`

Tool to create a new DocsAutomator automation with specified data source and optional Google Doc template. Use when you need to set up a new document automation workflow. PDF templates must be uploaded through the DocsAutomator app interface.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Name for the automation. |
| `dataSourceName` | string ("Airtable" | "API" | "ClickUp" | "Glide" | "Google Sheets" | "Make" | "n8n" | "Noloco" | "SmartSuite" | "Zapier") | Yes | The data source type that will provide data for this automation. |
| `docTemplateLink` | string | No | Google Doc template URL. Optional for automations using PDF templates (upload PDF through DocsAutomator app instead). |

#### 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 |

### Delete Automation

**Slug:** `DOCSAUTOMATOR_DELETE_AUTOMATION`

Tool to permanently delete an automation and all associated data. Use when you need to remove an automation that is no longer needed. This action cannot be undone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docId` | string | Yes | The automation ID to delete. This is the unique identifier of the automation to be permanently deleted. |

#### 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 |

### Duplicate Automation

**Slug:** `DOCSAUTOMATOR_DUPLICATE_AUTOMATION`

Tool to create a copy of an existing automation with ' COPY' appended to the title. Use when you need to duplicate an existing automation without recreating it from scratch.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `automationId` | string | Yes | The automation ID to duplicate. |

#### 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 Automation Details

**Slug:** `DOCSAUTOMATOR_GET_AUTOMATION`

Tool to retrieve details of a specific automation by its ID. Use when you need to fetch configuration, data source settings, and template information for an automation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `automationId` | string | Yes | The automation ID to retrieve details for. |

#### 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 Queue Statistics

**Slug:** `DOCSAUTOMATOR_GET_QUEUE_STATS`

Tool to retrieve current document generation queue statistics for your workspace. Use when monitoring queue health or checking processing capacity.

#### 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 Automations

**Slug:** `DOCSAUTOMATOR_LIST_AUTOMATIONS`

Tool to retrieve all automations in your workspace with their basic details. Use when you need to view, list, or enumerate existing automations.

#### 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 Signing Sessions

**Slug:** `DOCSAUTOMATOR_LIST_SIGNING_SESSIONS`

Tool to retrieve signing sessions with optional filtering by status or signer email. Returns paginated results. Use when you need to list or search for signing sessions in DocsAutomator.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number. |
| `email` | string | No | Filter by signer email (partial match, case-insensitive). |
| `limit` | integer | No | Results per page (max 250). |
| `status` | string ("pending" | "in_progress" | "completed" | "declined" | "cancelled") | No | Status of a signing session. |

#### 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 |

### Send Test Email

**Slug:** `DOCSAUTOMATOR_SEND_TEST_EMAIL`

Tool to send a test email with a sample PDF attachment to verify email configuration. Use when you need to test email delivery for a specific automation. Rate limited to 25 emails per hour per automation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `recipient` | string | Yes | Email address to send the test email to. Must be a valid email address. |
| `automationId` | string | Yes | The automation ID to use for sending the test email. |

#### 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 |

### Update Automation

**Slug:** `DOCSAUTOMATOR_UPDATE_AUTOMATION`

Tool to update an existing automation's settings in DocsAutomator. Only the fields included in the request are updated. Use when you need to modify automation properties like title, template link, locale settings, or activation status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docId` | string | Yes | The automation ID to update |
| `title` | string | No | Automation name |
| `locale` | string | No | Locale for date and number formatting (e.g., 'en-us', 'de-de', 'fr-fr') |
| `isActive` | boolean | No | Whether the automation is active |
| `imageOptions` | object | No | Image options for automation |
| `pdfExpiration` | string ("7d" | "30d" | "90d") | No | PDF expiration period options |
| `saveGoogleDoc` | boolean | No | Save a Google Doc copy alongside the PDF |
| `docTemplateLink` | string | No | Google Doc template URL to use for document generation |
| `newDocumentNameField` | string | No | Field name or formula for generated document names |
| `formatNumbersWithLocale` | boolean | No | Whether to format numbers using the automation's locale |
| `googleDocDestinationFolderUrl` | string | No | Google Drive folder URL where generated documents will be saved |

#### 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 |
