First-party app
DocuSeal

DocuSeal

Build DocuSeal templates, send submissions for signature, manage submitters, and read completed documents.

stable Documents & FilesLegal & ComplianceProductivity

About

DocuSeal ships in the w6w first-party pack. It declares 23 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.docuseal
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Documents & Files · Legal & Compliance · Productivity

Overview

DocuSeal is an open-source document signing platform, and this app covers its two hosted API hosts — the templates that define what gets signed, and the submissions that send them out and track who has signed. A template can be built from an HTML fragment with inline field tags, from a PDF or DOCX with fields placed by coordinate, or created and updated through the Studio UI and then driven from here by id; templates can also be cloned or merged into a new one. A submission turns a template (or a fresh set of documents) into a live signature request for one or more submitters, in a fixed or parallel signing order, and this app covers the whole lifecycle — creating it, listing and reading submissions and their documents, updating or archiving one, and reading or updating an individual submitter’s own record (including re-sending their invite or marking them signed on their behalf).

DocuSeal hosts every account on one of two fixed API hosts — the global service or the EU one — chosen once at connect time; nothing about the account moves between them afterward. Deliberately out of scope: uploading documents outside a submission/template call (this app sends base64 content or a downloadable URL, exactly as the API accepts, never a local file the sandbox cannot produce), and the vendor’s self-hosted deployment path, since the two hosted API hosts are the only ones this app’s network allowlist can name.

Build with DocuSeal

Three routes to the same 23 actions. The Workflow tab is generated from DocuSeal's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Archive a Submission

submission-archive

Archive a submission. Use Update Submission to unarchive it.

Create a Submission

submission-create

Send an existing template out for signature to one or more submitters.

Create Submission From DOCX

submission-create-from-docx

Send a one-off signature request built directly from DOCX files.

Create Submissions From Emails

submission-create-from-emails

Send a template's signature request to a list of email addresses, one submission per address.

Create Submission From HTML

submission-create-from-html

Send a one-off signature request built directly from HTML documents with field tags.

Create Submission From PDF

submission-create-from-pdf

Send a one-off signature request built directly from PDF files.

Get Submission Documents

submission-documents-get

Read a submission's completed or signed document URLs.

Get a Submission

submission-get

Read one submission — its submitters, documents, and events.

List Submissions

submission-list

List submissions, optionally filtered by template, status, or submitter search.

Update a Submission

submission-update

Rename a submission, change its expiration, or archive/unarchive it.

Get a Submitter

submitter-get

Read one submitter's own status, values, and signed documents.

List Submitters

submitter-list

List submitters, optionally filtered by submission, name/email/phone search, or completion date.

Update a Submitter

submitter-update

Update a submitter's contact details or field values, or re-send their invite.

Archive a Template

template-archive

Archive a document template. Does not delete it — use Update Template to unarchive.

Clone a Template

template-clone

Create a copy of a template.

Create Template From DOCX

template-create-from-docx

Build a document template from one or more DOCX files.

Create Template From HTML

template-create-from-html

Build a document template from an HTML fragment with field tags.

Create Template From PDF

template-create-from-pdf

Build a document template from one or more PDF files.

Update Template Documents

template-documents-update

Add, replace or remove documents in a template.

Get a Template

template-get

Read one document template — its documents, fields and submitter roles.

List Templates

template-list

List document templates, optionally filtered by name, slug, folder or archived state.

Merge Templates

template-merge

Merge two or more templates' documents into a new template.

Update a Template

template-update

Rename a template, move it to a folder, replace its roles, or unarchive it.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying DocuSeal's real ids.

{
  "manifestVersion": "2",
  "name": "docuseal-example",
  "steps": [
    {
      "id": "submission-create",
      "uses": {
        "app": "io.w6w.docuseal",
        "action": "submission-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "templateId": "<templateId>",
        "submitters": "<submitters>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create a Submission

    perform
    submission-create
  • Create Submission From DOCX

    perform
    submission-create-from-docx
  • Create Submissions From Emails

    perform
    submission-create-from-emails
  • Create Submission From HTML

    perform
    submission-create-from-html
  • Create Submission From PDF

    perform
    submission-create-from-pdf

+18 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for DocuSeal, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to DocuSeal. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "submission-create",
  payload: {
    templateId: "<value>",
    submitters: "<value>",
    // sendEmail: "<value>",
    // sendSms: "<value>",
    // order: "<value>",
    // completedRedirectUrl: "<value>",
    // bccCompleted: "<value>",
    // replyTo: "<value>",
    // expireAt: "<value>",
    // variables: "<value>",
    // message: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action submission-create --payload '{"templateId":"<value>","submitters":"<value>"}'

Give an AI agent DocuSeal — without giving it DocuSeal's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.docuseal#submission-create",
    "input": {
      "templateId": "<templateId>",
      "submitters": "<submitters>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's DocuSeal connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

DocuSeal's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. DocuSeal itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

DocuSeal declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

DocuSeal platform status

quota

API rate-limit headroom