Skip to main content

Envelope from template

Start an envelope from a saved template by filling each template role with a person.

Command in the DocuSign toolkit · id ooa.docusign/create_envelope_from_template · 8 inputs (4 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNoYour account's REST address, e.g. https://demo.docusign.net/restapi for testing or https://na4.docusign.net/restapi in production. Leave empty to look it up from the account (production first, then the demo environment).
Account IDStringYesDocuSign account id (a GUID or number shown under Apps and Keys).
Template IDStringYesTemplate to use (see List templates).
RolesListYesWho fills each role, e.g. [{"role": "Client", "name": "Ann Lee", "email": "ann@acme.com"}].
Field valuesDictionaryNoPre-filled text fields by their label, e.g. {"ContractNumber": "C-1042"}.
Email subjectStringNoSubject of the email. Leave empty to use the template's subject.
Send nowBooleanNotrueSend right away. When off, the envelope is saved as a draft.
Access tokenCredentialYesDocuSign OAuth access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.

Outputs​

OutputTypeWhat it is
envelope_idStringId of the new envelope.
statusStringsent or created (draft).