> For the complete documentation index, see [llms.txt](https://whitepaper.aitech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.aitech.io/agentforge/tools/docusign.md).

# docusign

[DocuSign](https://www.docusign.com/) is an electronic signature platform for preparing, sending, signing, and tracking agreements. It is commonly used for contracts, approvals, onboarding packets, sales documents, and other signature-driven workflows.

In Agent Forge, the DocuSign integration allows agents and workflows to list envelopes, retrieve envelope details, and send envelopes from existing templates. This makes it possible to automate document routing while keeping signature execution inside DocuSign.

## Usage Instructions

Connect a DocuSign account with OAuth, select the operation, and provide the required envelope or template fields. Sending from a template requires a template ID and template roles formatted as a JSON array.

## Tools

### `docusign_list_envelopes`

List envelopes for the connected DocuSign account. Use the optional `fromDate` field to limit results to envelopes created after a specific date.

### `docusign_get_envelope`

Fetch details for a specific envelope by envelope ID.

### `docusign_send_envelope_from_template`

Send or draft an envelope from a DocuSign template using template roles.

## Input

| Parameter       | Type   | Required          | Description                                              |
| --------------- | ------ | ----------------- | -------------------------------------------------------- |
| `credential`    | string | Yes               | Connected DocuSign OAuth credential                      |
| `fromDate`      | string | No                | Filter envelopes created since a date                    |
| `envelopeId`    | string | For get envelope  | Envelope identifier                                      |
| `templateId`    | string | For template send | DocuSign template identifier                             |
| `templateRoles` | array  | For template send | Template role assignments                                |
| `emailSubject`  | string | No                | Envelope email subject                                   |
| `status`        | string | No                | `sent` to send immediately or `created` to save as draft |

## Output

| Parameter | Type | Description            |
| --------- | ---- | ---------------------- |
| `data`    | json | DocuSign response data |

## Notes

* Category: `tools`
* Type: `docusign`
* Authentication: DocuSign OAuth


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://whitepaper.aitech.io/agentforge/tools/docusign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
