> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Docsautomator MCP server

The Docsautomator MCP connector routes your AI agent's tool calls to Docsautomator's own MCP server through Scalekit. Each user signs in to Docsautomator once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 23 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** Automation, Files & Documents
**Tools:** 23: 4 read, 19 write, 0 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=DOCSAUTOMATORMCP)

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Docsautomator MCP connection

   In **AgentKit > Connections**, create a Docsautomator MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Docsautomator MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'docsautomatormcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Docsautomator MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'docsautomatormcp_get_profile',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "docsautomatormcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Docsautomator MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="docsautomatormcp_get_profile",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'docsautomatormcp_get_data_source',
  toolInput: {
    source: 'airtable',
  },
  connector: 'docsautomatormcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="docsautomatormcp_get_data_source",
    tool_input={
        "source": "airtable",
    },
    connection_name="docsautomatormcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `docsautomatormcp_get_data_source`

Get Data Source · Read-only

Browse a connected record source's tables and fields, for set_data_source. The main path needs no data source: you send the values to create_document. airtable: no ids lists bases; baseId lists tables with fields (on a large base, add tableId). notion: no ids lists databases; dataSourceId lists properties (use dataSources[].id, not the database id). google_sheets needs spreadsheetId (ask for the URL). google_forms needs formId (the form file id). smartsuite (workspace slug first) and clickup step down by id; never invent one. An account that is not connected answers with the link to connect it in the app.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `source` (`string`, required): No description. One of: `airtable`, `notion`, `google_sheets`, `google_forms`, `smartsuite`, `clickup`, `api`.
- `baseId` (`string`, optional): No description.
- `dataSourceId` (`string`, optional): Notion data source id
- `formId` (`string`, optional): Google Form FILE id (from the form's file id from the user) — lists its questions
- `listId` (`string`, optional): ClickUp list id
- `search` (`string`, optional): No description.
- `smartSuiteWorkspaceId` (`string`, optional): No description.
- `solutionId` (`string`, optional): No description.
- `spaceId` (`string`, optional): ClickUp space id
- `spreadsheetId` (`string`, optional): Google spreadsheet id (from its URL)
- `tableId` (`string`, optional): No description.

Example input: `{"source":"airtable"}`

### `docsautomatormcp_get_profile`

Get Profile · Read-only

The connected workspace (id, name, account email) and its plan: documents used and included this period, overage cap (most documents with overage on), period end. Trials make unlimited test documents.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs: none.

Example input: `{}`

### `docsautomatormcp_get_recent_runs`

Get Recent Runs · Read-only

Read recent document runs, including failures with their real error messages: the first call for 'generation failed' questions. successfulRequests lists runs that worked (testMode true is a watermarked test run); read it before you call a setup broken. failedRequests names the failing record. jobId follows one queued document instead; waitSeconds (max 120) waits for it to finish.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `automationId` (`string`, optional): Limit to one automation
- `includeData` (`boolean`, optional): Also return the values each API or chat run was made with (kept 90 days), e.g. to make the same document again with changes
- `jobId` (`string`, optional): The job ID returned from async document creation
- `limit` (`number`, optional): No description.
- `onlyFailed` (`boolean`, optional): Only runs containing failures
- `waitSeconds` (`number`, optional): Wait up to this many seconds (max 120) for the job to finish before answering

Example input: `{}`

### `docsautomatormcp_search`

Search · Read-only

Search DocsAutomator's help docs (in 'docs', the default) or its template gallery of about 125 designs (in 'templates'). Search the docs for any how-to, feature, integration, syntax, troubleshooting or pricing question and answer only with what the page says, in its order and with its names; if it has no answer, say so. A gallery result with hasWordVersion can be applied with set_template's galleryTemplateId.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `query` (`string`, required): Search terms, e.g. "nested line items" or "invoice"
- `in` (`string`, optional): Default: docs. One of: `docs`, `templates`.

Example input: `{"query":"nested line items"}`

### `docsautomatormcp_cancel_esign_session`

Cancel Esign Session · Write

Cancel an open signing or acceptance session: its links stop working. A completed session cannot be cancelled.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `sessionId` (`string`, required): No description.
- `reason` (`string`, optional): No description.

Example input: `{"sessionId":"<sessionId>"}`

### `docsautomatormcp_configure_automation`

Configure Automation · Write

Change an automation's settings. Ask the user first. Test before live; going live is the last step. status: 'test' makes free watermarked documents; 'live' makes real ones that count against the quota; 'inactive' pauses triggers; 'trash' stops it at once (restorable from the app's Trash). locale sets how values print (de-DE prints 1.234,56 € and 01.10.2026); it is a setting, never a limit. title renames it; description tells AI clients what it is for. documentNameField is the source field that names each file. Record sources only: airtableTrigger or notionTrigger fire on a field value; sheetsAutoPolling polls Google Sheets every ~5 minutes.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `airtableTrigger` (`object`, optional): No description.
- `approval` (`object`, optional): No description.
- `dateFormat` (`object`, optional): No description.
- `description` (`string`, optional): No description.
- `documentNameField` (`string`, optional): No description.
- `eInvoice` (`object`, optional): This automation's e-invoice: { enabled, format: zugferd|xrechnung, documentType: 380 (invoice)|381 (credit note), vatTreatment: standard|reverse_charge_de|reverse_charge_eu|intra_eu_goods|small_business, fields: { <key>: {placeholder}|{fieldId}|{value} } (prepaidAmount = amount already paid), seller: { <seller key>: {placeholder}|{fieldId}|{value} } (this automation only; unset keys use the workspace seller), lineItems: { source: line_items_N, columns: { <key>: {placeholder}|{fieldId} } } }
- `eInvoiceAddon` (`boolean`, optional): E-invoice add-on on or off, for the whole workspace
- `formatNumbersWithLocale` (`boolean`, optional): No description.
- `locale` (`string`, optional): No description.
- `notionTrigger` (`object`, optional): No description.
- `qrBill` (`object`, optional): Only this automation's QR-bill seller: { seller: { name|street|postcode|city|country|iban|qrIban: <ref as in eInvoice> } }; unset keys use Settings
- `seller` (`object`, optional): Workspace e-invoice seller details; sent keys change: name, tradingName, street, addressLine2, postcode, city, country (2 letters), vatId, taxNumber, registrationId, contactName, contactPhone, contactEmail, iban, bic, accountName
- `sheetsAutoPolling` (`object`, optional): No description.
- `status` (`string`, optional): No description. One of: `live`, `test`, `inactive`, `trash`.
- `timeZone` (`string`, optional): No description.
- `title` (`string`, optional): No description.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_configure_esignature`

Configure Esignature · Write

Set up signing or acceptance. Ask the user first and show the signers. closeType 'acceptance': the recipient opens a link and taps Accept, no {{esign.*}} tags needed (quotes, offers). 'signature': a drawn signature at {{esign.signature_N}} tags, one signer per index. On API, MCP and no-source automations set every signer to emailSource 'request' and name the person per send in create_document recipients. Record sources (Airtable, Notion, Sheets, SmartSuite, ClickUp, Forms) and Zapier, Make, n8n, Glide and Noloco cannot use 'request': use the record's email field, or a placeholder, which must be a placeholder that exists in the template. emailTemplates changes the copy for EVERY future request; say so. signedPdfField writes the signed PDF back to the record. For the price, use search.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `acceptanceRequireName` (`boolean`, optional): Acceptance only: the recipient types their name before accepting.
- `brandingLogoUrl` (`string`, optional): Signing-page logo: a public https image URL; null restores the default.
- `closeType` (`string`, optional): 'signature' (default): a signature (drawn or typed) at {{esign.*}} tags. 'acceptance': the recipient reviews and taps Accept, no tags. Signers are kept when switching. One of: `signature`, `acceptance`.
- `completionEmail` (`object`, optional): No description.
- `deliveryMethod` (`string`, optional): 'email': DocsAutomator emails each signer. 'manual': you hand out the links. One of: `email`, `manual`.
- `driveFolder` (`string`, optional): After signing: Drive folder id or URL for the signed PDF. '' clears it.
- `dropboxAccountEmail` (`string`, optional): Needed only with several Dropbox accounts.
- `dropboxFolderPath` (`string`, optional): e.g. '/Contracts/Signed'; '' = root.
- `emailDateFormat` (`string`, optional): Date format used in signing emails, e.g. 'MM/DD/YYYY' or 'DD.MM.YYYY'
- `emailTemplates` (`object`, optional): Email copy for EVERY future request. Variables: {{documentName}}, {{signerName}}, {{signerEmail}}, {{expirationDate}} and data placeholders. Invitation and reminder bodies need {{signButton:Sign your document}} or {{signLink:click here}}; the completion email can use {{downloadButton:text}}.
- `enabled` (`boolean`, optional): Switch signing on or off. false keeps the signers and tags.
- `expirationDays` (`number`, optional): Days a signing request stays valid before it expires.
- `fieldConfigs` (`object`, optional): Per e-sign tag in the template, without 'esign.': displayName, helpText, required (default true). Merges per tag; null removes its settings.
- `fieldValueMappings` (`object`, optional): E-sign tag (without 'esign.') -> the field (name or id) that gets what the signer typed or ticked. '' removes one. Signatures are not written back.
- `reminders` (`object`, optional): No description.
- `saveSignedPdfToDrive` (`boolean`, optional): After signing: also save the signed PDF to Google Drive; needs driveFolder.
- `saveSignedPdfToDropbox` (`boolean`, optional): AFTER SIGNING: also save the signed pdf to Dropbox.
- `sender` (`object`, optional): Who the signing emails come FROM (the Signing & Acceptance panel, Settings tab).
- `signedPdfField` (`string`, optional): Record field for the signed PDF (name or id): Airtable attachment, Notion Files, SmartSuite file, a Sheets column (a link), ClickUp 'enabled'. '' switches it off. Not on API, Zapier, Glide or Noloco. The unsigned PDF is configure_output writeBackPdfField.
- `signers` (`array`, optional): No description.
- `signingLanguage` (`string`, optional): Language of the signing page and its emails. One of: `en`, `de`, `es`, `fi`, `fr`, `pt`, `he`, `nl`, `it`.
- `signingOrder` (`string`, optional): parallel = everyone at once; sequential = one after another. One of: `parallel`, `sequential`.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_configure_line_items`

Configure Line Items · Write

Set how one line-item group (the N in {{line_items_N}}) is presented: grouping under header rows, sorting by up to three columns, an auto-number column, page breaks or keep-together for repeating sections, and skipRecords rules that leave records out. Pass only the blocks you change. Which linked table feeds the rows is set_data_source's lineItems, not this.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `lineItem` (`string`, required): line-item index as a string, e.g. "1" for {{line_items_1}}
- `autoNumber` (`object`, optional): No description.
- `grouping` (`object`, optional): No description.
- `keepSectionOnOnePage` (`boolean`, optional): Repeating sections only: true keeps each section on one page when it fits; false removes it.
- `pageBreakBetweenSections` (`boolean`, optional): Repeating sections only: true starts each record on a new page; false removes it.
- `skipRecords` (`object`, optional): No description.
- `sorting` (`object`, optional): No description.

Example input: `{"automationId":"<automationId>","lineItem":"1"}`

### `docsautomatormcp_configure_output`

Configure Output · Write

Set what happens with each generated document. Test before live; going live is the last step. Pass only the blocks you change. email: recipients (addresses or {{placeholders}}), sender 'gmail' or 'outlook' from a connected account (Business plan and up), and conditions. pdf: link expiry and a Drive folder. onedrive, googleDoc and word (word.save returns wordFileUrl from create_document). merge, webhook, documentsFolder. writeBackPdfField uploads the generated, UNSIGNED PDF to a record field; the signed PDF is configure_esignature's signedPdfField. Folders: an id or a Drive URL.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `documentsFolder` (`string`, optional): Documents-page folder to file new documents into (created if it doesn't exist); pass '' to stop filing
- `dropbox` (`object`, optional): No description.
- `email` (`object`, optional): No description.
- `googleDoc` (`object`, optional): No description.
- `mergePdfs` (`object`, optional): No description.
- `oneDrive` (`object`, optional): No description.
- `overwritePdfAttachment` (`boolean`, optional): true replaces the PDF on the record each run; false (default) adds a file. Ask first: replacing discards earlier documents.
- `overwriteWordAttachment` (`boolean`, optional): Same replace-vs-append choice for the Word (.docx) attachment.
- `pdf` (`object`, optional): No description.
- `webhook` (`object`, optional): No description.
- `word` (`object`, optional): No description.
- `writeBackDrivePdfUrlField` (`string`, optional): Text or URL field that receives the link of the PDF saved in Google Drive (needs pdf.saveToDrive).
- `writeBackGoogleDocUrlField` (`string`, optional): text/URL field to write the generated GOOGLE DOC's link into. Only fires when the Google Doc copy is kept (googleDoc.save), so set both.
- `writeBackPdfField` (`string`, optional): attachment field/column to save the generated PDF into
- `writeBackPdfUrlField` (`string`, optional): text/URL field on the record to write the generated PDF URL into (Airtable/Notion)
- `writeBackWordField` (`string`, optional): Attachment field that receives the generated Word file.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_configure_placeholders`

Configure Placeholders · Write

Store what each placeholder means and how it prints, right after a template exists and before the first document. descriptions: meaning plus print format, e.g. "Subtotal before tax, net, in EUR; prints as 1.234,56 €"; examples always use 1234.56 and 2026-12-31, never a value from this request. formats: one entry per amount, number or date (currency with its ISO code; percent multiplies by 100). Pair them with the locale (configure_automation). options: deleteWhenEmpty removes an empty placeholder's paragraph or row; ["*"] means all. conditions: show or hide {{section_NAME}} blocks and placeholders by raw values, hide values, render Markdown. Never regenerate a template to change these.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `conditions` (`object`, optional): No description.
- `descriptions` (`object`, optional): placeholder name -> description ("" or null removes it)
- `formats` (`array`, optional): No description.
- `options` (`object`, optional): No description.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_create_automation`

Create Automation · Write

Create a new automation with the specified data source. Returns the new automation ID and configuration.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `dataSourceName` (`string`, required): The data source type. One of: `Airtable`, `Glide`, `API`, `Zapier`, `Noloco`, `ClickUp`, `SmartSuite`, `Google Sheets`, `n8n`, `Make`.
- `title` (`string`, required): Name for the automation
- `copySettings` (`boolean`, optional): With fromAutomationId: copy every setting, not only the template
- `docTemplateLink` (`string`, optional): URL of the user's existing Google Doc template.
- `fromAutomationId` (`string`, optional): Start from a copy of this automation's template. dataSourceName is then not needed.

Example input: `{"dataSourceName":"Airtable","title":"Customer Invoice"}`

### `docsautomatormcp_create_document`

Create Document · Write

Generate a document from a DocsAutomator automation. Supports various data sources including Airtable, Google Sheets, SmartSuite, ClickUp, and direct API data. Returns PDF URL and optionally Google Doc URL.

**E-SIGNATURES**: If the automation has e-signing enabled in its output settings, creating a document will AUTOMATICALLY start the signing workflow. The response will include:
- signingSessionId: The e-sign session ID
- signingLinks: Array of signing URLs for each signer (if delivery method is "link")
- signingStatus: "created" or "queued"

You do NOT need to create e-sign sessions separately - they are triggered automatically when generating documents from automations configured with e-signing. To check if an automation has e-signing enabled, use get_automation first.

For nested line items (up to 2 levels), use the "children" key to nest items:
{
  "line_items_1": [
    {
      "product": "Service A",
      "price": "$100",
      "children": [
        {
          "task": "Task 1",
          "children": [
            {"detail": "Detail 1"}
          ]
        }
      ]
    }
  ]
}

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): The automation/document ID to use
- `mode` (`string`, required): 'preview': a watermarked PDF; nothing is sent or counted. 'test': outputs run and emails reach the real recipients; watermarked, not counted. 'live': real and counted; refused while the automation is in test mode or before its first test document. One of: `preview`, `test`, `live`.
- `approverEmails` (`array`, optional): Business plan and up. Approvers for this document only; it waits for them even when approval is off, and later documents are not affected. A standing approval for every document is the automation's approval setting (get_automation approval). Someone outside the team decides from their own email link unless the automation requires an account.
- `async` (`boolean`, optional): If true, returns immediately with jobId for polling. Default: `false`.
- `data` (`object`, optional): Placeholder values (API data source). A placeholder left out prints empty. Line items as arrays; nested rows (up to 2 levels) in each item's "children".
- `documentName` (`string`, optional): Custom name for the generated document
- `idempotencyKey` (`string`, optional): Same key within 7 days: returns the first result, creates nothing.
- `isPreview` (`boolean`, optional): Old flag for test mode; mode replaces it.
- `recId` (`string`, optional): Record ID for Airtable data source
- `recipients` (`array`, optional): Who signs or accepts: [{ signer, email, name }]. signer is the number in get_automation esignature.signers, optional with one signer. For this document only; it adds no signer. Required for signers on 'Given with each request', also with recId.
- `rowNumber` (`number`, optional): Row number for Google Sheets data source
- `skipEsign` (`boolean`, optional): true: make the document without a signing or acceptance session, e.g. a draft for review.
- `webhookParams` (`object`, optional): Strings sent back in this run's webhooks

Example input: `{"automationId":"<automationId>","mode":"preview"}`

### `docsautomatormcp_edit_word_template`

Edit Word Template · Write

Change an automation's existing Word template with one natural-language instruction: styling, layout, text, adding, renaming or hard-coding placeholders. Ask the user first. One section or one concern per call, under 2,000 characters; split bigger changes into several calls. Afterwards check the returned placeholders: if the tag you changed is still there, the edit did not work, so say so. embedImageUrl bakes an image (such as a logo URL) into the template. undo true reverts your last AI change (up to 5 steps back); offer it after an edit the user does not like.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): No description.
- `instruction` (`string`, required): The edit instruction in natural language. Max 2,000 characters (about 300 words): one section or one concern per call.
- `embedImageUrl` (`string`, optional): Public PNG, JPG, GIF, WebP or SVG image URL to embed, e.g. the logoUrl that generate_word_template returns. SVG and WebP are converted to PNG.
- `tintColor` (`string`, optional): Optional 6-digit hex colour, e.g. "#b7410e": tints the embedded image in that colour (duotone, transparency kept). No other image effects.

Example input: `{"automationId":"<automationId>","instruction":"<instruction>"}`

### `docsautomatormcp_generate_word_template`

Generate Word Template · Write

Design a new Word (.docx) template for an automation with the AI designer; takes about a minute. Last resort: only when they have no own template and no gallery template fits, or they ask for AI. Tell them the plan in one line: document type, sections, fields. The prompt describes STRUCTURE (sections, {{placeholder}} names, line-item tables, tone) and stays under 5,000 characters; put long user-supplied content in edit_word_template passes, never drop it, and never ask it to invent bulk content. brandWebsite (a URL the user gave) reads their colours and logo; customColors and logoUrl override it. Set signingMode when the document has signature fields. Not for the user's own Word file: change that with edit_word_template. If it times out, do not retry the same prompt.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): The automation id (24-char hex)
- `prompt` (`string`, required): What to design: sections, {{placeholders}}, tables, tone. Max 5,000 characters; longer content goes in through edit_word_template.
- `title` (`string`, required): Template title, e.g. "Customer Invoice"
- `brandWebsite` (`string`, optional): The user's website: its brand colours and logo are used
- `customColors` (`object`, optional): Brand colors (hex)
- `logoUrl` (`string`, optional): Public PNG, JPG, GIF, WebP or SVG logo URL to embed; SVG and WebP are converted to PNG.
- `look` (`string`, optional): restrained = the document style's own accent; branded = the brand colour as the accent (needs customColors). Omit to infer from customColors. One of: `restrained`, `branded`.
- `placeholderDescriptions` (`object`, optional): Placeholder name (no braces) -> what it is and how it prints, e.g. "Subtotal before tax, net, in EUR; prints as €1,234.56". Examples use the sample values 1234.56 and 2026-12-31, not values from a request. Change them later with configure_placeholders.
- `replaceUserFile` (`boolean`, optional): true: a new design replaces the user's own uploaded Word file.
- `signingMode` (`string`, optional): Required when the document has signature, initial, date or checkbox fields. 'docsautomator': signed through DocsAutomator ({{esign.*}} tags). 'external': the user's own tool signs; no {{esign.*}} tags, use ☐ and blank lines. 'none': nothing to sign. The value is the user's answer. One of: `docsautomator`, `external`, `none`.
- `stylePreset` (`string`, optional): A different look: ledger, counsel, studio, letter or certificate. Without it the designer picks.

Example input: `{"automationId":"<automationId>","prompt":"<prompt>","title":"Customer Invoice"}`

### `docsautomatormcp_get_automation`

Get Automation · Write

Get detailed information about a specific automation including data source config, output settings, field mappings, and e-signature configuration. Check the 'esignature' field to see if e-signing is enabled - if so, creating a document will automatically start a signing workflow.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): The automation id
- `include` (`array`, optional): Extra parts to return

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_list_automations`

List Automations · Write

List all automations in the workspace with their basic configuration including title, data source, and active status.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `limit` (`number`, optional): Automations per page, 1 to 100 (default 25)
- `offset` (`number`, optional): How many matching automations to skip (default 0)
- `search` (`string`, optional): Only automations whose title contains this text (case-insensitive)

Example input: `{}`

### `docsautomatormcp_list_esign_sessions`

List Esign Sessions · Write

List e-signature sessions with optional filtering by status or signer email. Returns paginated results with session summaries.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, optional): Only sessions of this automation
- `email` (`string`, optional): Filter by signer email (partial match)
- `include` (`array`, optional): No description.
- `limit` (`integer`, optional): Results per page (max 100). Default: `20`.
- `page` (`integer`, optional): Page number for pagination. Default: `1`.
- `sessionId` (`string`, optional): One session in full
- `status` (`string`, optional): Filter by session status. One of: `open`, `pending`, `in_progress`, `completed`, `declined`, `expired`, `cancelled`.

Example input: `{}`

### `docsautomatormcp_manage_esign_session`

Manage Esign Session · Write

Act on one signing or acceptance session; each action emails a real person or ends the request, so confirm the recipient and the action with the user before you act. action 'remind' sends a reminder to one pending signer (signerIndex from list_esign_sessions waitingOn; the session's reminder limit applies). 'resend' sends the invitation again to one signer. 'cancel' ends an open session (not a completed one); reason is optional.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `action` (`string`, required): No description. One of: `remind`, `resend`, `cancel`.
- `sessionId` (`string`, required): No description.
- `reason` (`string`, optional): For cancel
- `signerIndex` (`number`, optional): For remind and resend (1-based)

Example input: `{"action":"remind","sessionId":"<sessionId>"}`

### `docsautomatormcp_resend_esign_invite`

Resend Esign Invite · Write

Email the signing or acceptance invitation to one signer again, e.g. when they lost it. signerIndex: from list_esign_sessions.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `sessionId` (`string`, required): No description.
- `signerIndex` (`number`, required): 1-based

Example input: `{"sessionId":"<sessionId>","signerIndex":1}`

### `docsautomatormcp_send_esign_reminder`

Send Esign Reminder · Write

Email a reminder to one signer who has not signed or accepted yet. signerIndex: from list_esign_sessions waitingOn. The session's reminder limit applies.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `sessionId` (`string`, required): No description.
- `signerIndex` (`number`, required): 1-based

Example input: `{"sessionId":"<sessionId>","signerIndex":1}`

### `docsautomatormcp_set_data_source`

Set Data Source · Write

Connect a record source to an automation and map its placeholders to fields, in one call. Ask the user first and show the mapping. Pass source with its block (ids from get_data_source); source 'api' switches to data given with each request and clears record mappings. Line items come from a linked table or sheet: pass the block's lineItems, one entry per {{line_items_N}} with order N. mappings: placeholder name (no braces) → Airtable field id, Notion property id, Sheets column header, SmartSuite slug, ClickUp field id or Forms questionId (names also resolve); 'Link.Field' drills through Airtable links and Notion relations. Mappings merge unless replace is true. Only switch an automation the user wants changed.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `automationId` (`string`, required): No description.
- `airtable` (`object`, optional): No description.
- `allowDuplicateFields` (`boolean`, optional): Only after a duplicate-target rejection: confirms that pointing several placeholders at one field is what the user actually wants
- `clickup` (`object`, optional): No description.
- `googleForms` (`object`, optional): No description.
- `googleSheets` (`object`, optional): No description.
- `mappings` (`object`, optional): No description.
- `notion` (`object`, optional): No description.
- `replace` (`boolean`, optional): true = replace all existing mappings
- `smartsuite` (`object`, optional): No description.
- `source` (`string`, optional): No description. One of: `airtable`, `notion`, `google_sheets`, `google_forms`, `smartsuite`, `clickup`, `api`.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_set_template`

Set Template · Write

Replace an automation's template. Pass one: googleDocUrl (never create or edit Google Docs), galleryTemplateId (from search in 'templates'), or fileBase64 (.docx or PDF, max 25 MB; PDF overlays survive re-upload). fileBase64 needs exact bytes from a tool, such as code reading the attachment; never re-type a file, it arrives damaged. Else send the user to app.docsautomator.co/automations/<automationId> to upload. Ask first. New design: generate_word_template. Returns the placeholders.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `automationId` (`string`, required): The automation id
- `file` (`object`, optional): A .docx or .pdf file the user attached
- `fileBase64` (`string`, optional): A .docx or .pdf file, base64-encoded (data: URL prefix allowed)
- `fileName` (`string`, optional): File name, e.g. contract.docx
- `fileUrl` (`string`, optional): https link to a .docx or .pdf
- `galleryTemplateId` (`string`, optional): Gallery template id
- `googleDocUrl` (`string`, optional): Google Doc URL or id
- `officeFile` (`string`, optional): The user's choice after an OFFICE_FILE result. One of: `convert`, `word`.

Example input: `{"automationId":"<automationId>"}`

### `docsautomatormcp_undo_template_edit`

Undo Template Edit · Write

Revert the last AI change to an automation's Word template, up to 5 steps back.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `automationId` (`string`, required): The automation id

Example input: `{"automationId":"<automationId>"}`

## Related

Other Automation connectors ([all 66](/agentkit/connectors/?category=automation)):

- [Mailchimp](/agentkit/connectors/mailchimp/): Scalekit connector, OAuth, 73 tools
- [Twilio](/agentkit/connectors/twilio/): Scalekit connector, Username and password, 61 tools
- [Stripe](/agentkit/connectors/stripe/): Scalekit connector, Access token, 178 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
