DocuSign icon

DocuSign

Send documents for eSignature and manage envelopes with DocuSign

Actions198

Template Lock → Lock

AI-generated

Summary

Locks a DocuSign template for a set period so it can be edited without conflicting changes from other users or apps.

Inputs

  • Authentication — Credential type: JWT (Service Integration, the default) or OAuth2 (User Authorization).
  • Template ID (required) — ID of the template to lock.
  • Lock Duration (Seconds) (required) — How long the lock lasts. Range 1–1800 seconds (30 minutes). Default 300.
  • Locked By App — Friendly name of the application holding the lock. Default "n8n".

Output shape

The DocuSign API response for the lock request, normally the lock details (such as lock duration and lock holder). This is handled by the handleTemplateLockCreate handler.

The source pack shows only the handler's signature, not its body, so the exact response fields and endpoint are not confirmed here. Errors such as an invalid template ID or a template that is already locked are raised as node errors unless Continue On Fail is enabled. In the UI, the Template ID field is shown for the create operation, which is the internal operation behind Lock.

Examples

Example 1: Lock a template for 10 minutes before a workflow updates its documents and recipients.

Template ID = {{$json.templateId}}, Lock Duration = 600, Locked By App = n8n

Example 2: Take a short default lock before changing a template's custom fields.

Template ID set, Lock Duration = 300 (default), Locked By App = n8n (default)

Links

Discussion