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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | Your 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 ID | String | Yes | DocuSign account id (a GUID or number shown under Apps and Keys). | |
| Template ID | String | Yes | Template to use (see List templates). | |
| Roles | List | Yes | Who fills each role, e.g. [{"role": "Client", "name": "Ann Lee", "email": "ann@acme.com"}]. | |
| Field values | Dictionary | No | Pre-filled text fields by their label, e.g. {"ContractNumber": "C-1042"}. | |
| Email subject | String | No | Subject of the email. Leave empty to use the template's subject. | |
| Send now | Boolean | No | true | Send right away. When off, the envelope is saved as a draft. |
| Access token | Credential | Yes | DocuSign OAuth access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. |
Outputs
| Output | Type | What it is |
|---|---|---|
| envelope_id | String | Id of the new envelope. |
| status | String | sent or created (draft). |