DocuSign icon

DocuSign

Send documents for eSignature and manage envelopes with DocuSign

Actions198

Document Generation → Update Form Fields

AI-generated

Summary

Populates DocGen form fields on a document in a draft DocuSign envelope with name/value pairs, so a Word-template-based document is filled with dynamic data before sending.

Inputs

  • Authentication — Credential type: JWT (Service Integration, default) or OAuth2 (User Authorization).
  • Envelope ID (required) — ID of the draft envelope containing DocGen-enabled documents.
  • Document ID (required) — ID of the document in the envelope that holds the form fields (default "1").
  • Form Fields (required) — One or more entries, each with a Field Name (as defined in the Word template, e.g. FirstName) and a Value to populate. Both are required per entry.

Output shape

A single JSON item containing the DocuSign API response for the form field update.

The source for the handler body (handleDocGenUpdateFormFields) was not included in the pack, so the exact response structure and HTTP call are not visible. Errors from the API are surfaced as node errors, and the helper retries on rate limits (429) and 5xx errors.

Examples

Example 1: Fill a contract template with customer details before sending

Envelope ID from a prior draft-creation step; Document ID 1; Form Fields: FirstName = {{$json.first}}, CompanyName = {{$json.company}}.

Links

Discussion