DocuSign integration
Purpose
Section titled “Purpose”Integrate DocuSign for sending documents tied to applications or other DocTypes.
Scope in codebase
Section titled “Scope in codebase”leekimerp/leekimerp/api/docusign.py
Key functions (whitelisted)
Section titled “Key functions (whitelisted)”| Function | Role |
|---|---|
docusign_auth | Initiate / handle auth and envelope workflow (large signature) |
docusign_queue_send | Process send queue |
Internal helpers include get_jwt_token, get_token, get_secret_data, docusign_connection, make_envelope_definition.
Entry points
Section titled “Entry points”- Desk / API: Called from client workflows per your front-end integration
Dependencies
Section titled “Dependencies”- DocuSign API credentials and impersonated user configuration
Configuration
Section titled “Configuration”- Secrets loaded via
get_secret_datapattern — store in site config or secure DocTypes
Operational notes
Section titled “Operational notes”- Review error handling and queue retry policy for failed sends