ByteChef LogoByteChef
Components

DocuSign

DocuSign is a cloud-based e-signature platform that enables secure digital document signing and workflow automation.

Categories: Productivity and Collaboration

Type: docusign/v1


Connections

Version: 1

oauth2_authorization_code

Properties

NameLabelTypeDescriptionRequired
clientIdIntegration KeySTRINGDocuSign app integration key.true
clientSecretSecret KeySTRINGDocuSign app secret key.true
accountIdAPI Account IDSTRINGDocuSign API account ID.true
environmentEnvironmentSTRING
Options demo, www, eu
Environment of the connection.true
baseUriAccount Base URISTRINGDocuSign account base URI.true

Actions

Create Envelope

Name: createEnvelope

Creates a new envelope.

Properties

NameLabelTypeDescriptionRequired
documentsDocumentsARRAY
Items [{FILE_ENTRY(documentFile), STRING(name), INTEGER(documentId)}($document)]
The documents to be signed.true
statusStatusSTRING
Options sent, created
The status of the envelope.true
emailSubjectEmail SubjectSTRINGThe subject of the email used to send the envelope.true
signersSigner RecipientsARRAY
Items [{STRING(name), STRING(email), INTEGER(recipientId)}($recipient)]
The recipients of the envelope that have to sign the documents inside it.true
carbonCopiesCc RecipientsARRAY
Items [{STRING(name), STRING(email), INTEGER(recipientId)}($recipient)]
The recipients of the envelope that can only view the documents inside it.false

Example JSON Structure

{
  "label" : "Create Envelope",
  "name" : "createEnvelope",
  "parameters" : {
    "documents" : [ {
      "documentFile" : {
        "extension" : "",
        "mimeType" : "",
        "name" : "",
        "url" : ""
      },
      "name" : "",
      "documentId" : 1
    } ],
    "status" : "",
    "emailSubject" : "",
    "signers" : [ {
      "name" : "",
      "email" : "",
      "recipientId" : 1
    } ],
    "carbonCopies" : [ {
      "name" : "",
      "email" : "",
      "recipientId" : 1
    } ]
  },
  "type" : "docusign/v1/createEnvelope"
}

Output

Type: OBJECT

Properties

NameTypeDescription
envelopeidSTRINGThe id of the envelope.
uriSTRINGA URI containing the user ID.
statusDateTimeSTRINGThe DateTime that the envelope changed status (i.e. was created or sent.)
statusSTRINGIndicates the envelope status.

Output Example

{
  "envelopeid" : "",
  "uri" : "",
  "statusDateTime" : "",
  "status" : ""
}

Download Envelope Document

Name: downloadEnvelopeDocument

Downloads a single document or all documents from an envelope.

Properties

NameLabelTypeDescriptionRequired
fromDateFrom DateDATEEnvelops that were created from this date will be fetched.true
envelopeIdEnvelope IDSTRING
Depends On fromDate
The ID of the envelope.true
documentIdDocument IDSTRING
Depends On envelopeId
ID of the document that will be downloaded from the envelope.true

Example JSON Structure

{
  "label" : "Download Envelope Document",
  "name" : "downloadEnvelopeDocument",
  "parameters" : {
    "fromDate" : "2021-01-01",
    "envelopeId" : "",
    "documentId" : ""
  },
  "type" : "docusign/v1/downloadEnvelopeDocument"
}

Output

Type: FILE_ENTRY

Properties

NameTypeDescription
extensionSTRING
mimeTypeSTRING
nameSTRING
urlSTRING

Output Example

{
  "extension" : "",
  "mimeType" : "",
  "name" : "",
  "url" : ""
}

Additional instructions