DocuSign icon

DocuSign

Interact with the DocuSign eSignature REST API v2.1 — complete enterprise coverage

Actions341

Workspace Item → Create File

AI-generated

Summary

Upload a new file into a specified DocuSign workspace folder using either binary data from a workflow or a base64-encoded string.

Inputs

  • Authentication (required) — Select OAuth2 or JWT (Service Integration) for authenticating the API request.
  • Category (required) — Select the API category to operate with; for file creation in workspaces, default is 'envelopes' but can be changed.
  • Account ID (required) — The DocuSign Account ID (GUID) indicating which account to target.
  • Workspace ID (required) — The ID of the workspace where the file will be created.
  • Folder ID (required) — The folder ID within the workspace where the file will be uploaded.
  • Upload Source (required) — Specify whether the file content comes from workflow binary data or a base64 string.
  • Input Binary Property — Name of the binary property in workflow data holding the file to upload; used if upload source is binary. Defaults to 'data'.
  • Base64 Content — Base64-encoded content of the file; used if upload source is base64 string.

Output shape

a JSON object representing the created workspace file resource as returned by DocuSign API

File content must be supplied either as binary data from workflow or as a base64 string. Missing or invalid inputs will cause request failure. The node requires a valid Account ID, Workspace ID, and Folder ID to create the file in the correct location within DocuSign.

Examples

Example 1: Upload a PDF file from workflow binary data to a workspace folder

Set authentication method, provide Account ID and Workspace ID values, choose the target folder, select 'Binary Data' upload source, and specify the binary property with the PDF content.

Example 2: Upload a text file using base64 string content

Set authentication, provide required IDs, choose the folder, select 'Base64 String' as upload source, and enter the base64 content of the text file in the field provided.

Links

Discussion