Install
openclaw skills install envelope-senderGuide agent to send a user-specified local PDF document for signature through eSignGlobal by calling the eSignGlobal CLI tool.eSignGlobal CLI is an agent-fri...
openclaw skills install envelope-senderUse this skill to send a single local PDF document for signature with eSignGlobal through an external CLI.
Use the external CLI through npx:
npx @esignglobal/envelope-cli <command>
Before calling any send action, set ESIGNGLOBAL_APIKEY in the shell environment.
# Windows PowerShell
$env:ESIGNGLOBAL_APIKEY="your_api_key"
# macOS / Linux
export ESIGNGLOBAL_APIKEY="your_api_key"
# Verify connectivity
npx @esignglobal/envelope-cli config health
Credential handling rules:
ESIGNGLOBAL_APIKEYfilePath, signer list, and optional subject.pdf and the signer data is completeESIGNGLOBAL_APIKEY in the current shell session.pdf filefilePath: absolute path to an existing local PDF filesigners: JSON array of signer objectssubject: optional email or envelope subjectEach signer must include:
userNameuserEmailOptional field:
signOrder as an integer >= 1filePath must be an absolute path to an existing local PDF file.
Example:
/tmp/contract.pdf
Each signer must include:
userNameuserEmailOptional field:
signOrder (integer, minimum 1)Single signer example:
[
{
"userName": "Bob Smith",
"userEmail": "bob@example.com"
}
]
Sequential signing example:
[
{
"userName": "Bob Smith",
"userEmail": "bob@example.com",
"signOrder": 1
},
{
"userName": "Alice Jones",
"userEmail": "alice@example.com",
"signOrder": 2
}
]
Parallel signing example:
[
{
"userName": "Bob Smith",
"userEmail": "bob@example.com",
"signOrder": 1
},
{
"userName": "Alice Jones",
"userEmail": "alice@example.com",
"signOrder": 1
}
]
Use the external command-line tool instead of bundled scripts:
npx @esignglobal/envelope-cli send-envelope --file <filePath> --signers '<signersJson>' [--subject <subject>] --confirm
Check available commands if needed:
npx @esignglobal/envelope-cli help
Example:
npx @esignglobal/envelope-cli send-envelope --file "C:\\docs\\contract.pdf" --signers '[{"userName":"Bob Smith","userEmail":"bob@example.com"}]' --subject "Please sign this contract" --confirm
npxESIGNGLOBAL_APIKEY must already be configured in the shell environmentReturn the external CLI result. Do not bundle or implement upload logic inside this skill.