Build DocuSeal templates, send submissions for signature, manage submitters, and read completed documents.
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.
io.w6w.docusealDocuSeal 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.
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.
submission-archive Archive a submission. Use Update Submission to unarchive it.
submission-create Send an existing template out for signature to one or more submitters.
submission-create-from-docx Send a one-off signature request built directly from DOCX files.
submission-create-from-emails Send a template's signature request to a list of email addresses, one submission per address.
submission-create-from-html Send a one-off signature request built directly from HTML documents with field tags.
submission-create-from-pdf Send a one-off signature request built directly from PDF files.
submission-documents-get Read a submission's completed or signed document URLs.
submission-list List submissions, optionally filtered by template, status, or submitter search.
submission-update Rename a submission, change its expiration, or archive/unarchive it.
submitter-list List submitters, optionally filtered by submission, name/email/phone search, or completion date.
submitter-update Update a submitter's contact details or field values, or re-send their invite.
template-archive Archive a document template. Does not delete it — use Update Template to unarchive.
template-create-from-docx Build a document template from one or more DOCX files.
template-create-from-html Build a document template from an HTML fragment with field tags.
template-create-from-pdf Build a document template from one or more PDF files.
template-list List document templates, optionally filtered by name, slug, folder or archived state.
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>"
}
}
]
}submission-create submission-create-from-docx submission-create-from-emails submission-create-from-html 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.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { 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); npm install -g @w6w/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.
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.
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.
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.
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).
DocuSeal declares its own checks, so its health is a property of the app rather than something the host guesses at.