@robinpath/hellosign
0.1.1Node.jsPublicHelloSign module for RobinPath.
HelloSign
HelloSign module for RobinPath.
Package: @robinpath/hellosign | Category: Documents | Type: Integration
Authentication
hellosign.setCredentials "your-credentials"
Call this once at the start of your script before using any other function. Credentials persist for the duration of the script execution.
Use Cases
Use the hellosign module when you need to:
- getSignatureRequest -- Use
hellosign.getSignatureRequestto perform this operation - listSignatureRequests -- Use
hellosign.listSignatureRequeststo perform this operation - sendSignatureRequest -- Use
hellosign.sendSignatureRequestto perform this operation - sendWithTemplate -- Use
hellosign.sendWithTemplateto perform this operation - cancelSignatureRequest -- Use
hellosign.cancelSignatureRequestto perform this operation
Quick Reference
| Function | Description | Returns |
|---|---|---|
setCredentials | Configure hellosign credentials. | object |
getSignatureRequest | getSignatureRequest | object |
listSignatureRequests | listSignatureRequests | object |
sendSignatureRequest | sendSignatureRequest | object |
sendWithTemplate | sendWithTemplate | object |
cancelSignatureRequest | cancelSignatureRequest | object |
downloadSignatureRequest | downloadSignatureRequest | object |
remindSignatureRequest | remindSignatureRequest | object |
listTemplates | listTemplates | object |
getTemplate | getTemplate | object |
deleteTemplate | deleteTemplate | object |
createEmbeddedSignatureRequest | createEmbeddedSignatureRequest | object |
getAccount | getAccount | object |
updateAccount | updateAccount | object |
listTeamMembers | listTeamMembers | object |
Functions
setCredentials
Configure hellosign credentials.
Module: hellosign | Returns: object -- API response.
hellosign.setCredentials
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | apiKey |
getSignatureRequest
getSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.getSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
listSignatureRequests
listSignatureRequests
Module: hellosign | Returns: object -- API response.
hellosign.listSignatureRequests
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
sendSignatureRequest
sendSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.sendSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
sendWithTemplate
sendWithTemplate
Module: hellosign | Returns: object -- API response.
hellosign.sendWithTemplate
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
cancelSignatureRequest
cancelSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.cancelSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
downloadSignatureRequest
downloadSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.downloadSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
remindSignatureRequest
remindSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.remindSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
listTemplates
listTemplates
Module: hellosign | Returns: object -- API response.
hellosign.listTemplates
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
getTemplate
getTemplate
Module: hellosign | Returns: object -- API response.
hellosign.getTemplate
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
deleteTemplate
deleteTemplate
Module: hellosign | Returns: object -- API response.
hellosign.deleteTemplate
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
createEmbeddedSignatureRequest
createEmbeddedSignatureRequest
Module: hellosign | Returns: object -- API response.
hellosign.createEmbeddedSignatureRequest
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
getAccount
getAccount
Module: hellosign | Returns: object -- API response.
hellosign.getAccount
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
updateAccount
updateAccount
Module: hellosign | Returns: object -- API response.
hellosign.updateAccount
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
listTeamMembers
listTeamMembers
Module: hellosign | Returns: object -- API response.
hellosign.listTeamMembers
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | No | Input parameter |
Error Handling
All functions throw on failure. Common errors:
| Error | Cause |
|---|---|
Hellosign API error (${res.status}): ${t} | Check the error message for details |
hellosign.setCredentials requires apiKey. | Check the error message for details |
hellosign.cancelSignatureRequest requires an ID. | Check the error message for details |
hellosign.remindSignatureRequest requires an ID. | Check the error message for details |
hellosign.deleteTemplate requires an ID. | Check the error message for details |
hellosign.updateAccount requires an ID. | Check the error message for details |
Hellosign: "..." not configured. Call hellosign.setCredentials first. | Check the error message for details |
@desc "Get signature request and validate result"
do
set $result as hellosign.getSignatureRequest
if $result != null
print "Success"
else
print "No result"
end
enddo
Recipes
1. List and iterate SignatureRequest
Retrieve all items and loop through them.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Get signature request and iterate results"
do
set $result as hellosign.getSignatureRequest
each $item in $result
print $item
end
enddo
2. Create a new item with sendSignatureRequest
Create a new resource and capture the result.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Send signature request"
do
set $result as hellosign.sendSignatureRequest
print "Created: " + $result
enddo
3. Create and update workflow
Create an item and then update it.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Send signature request and update account"
do
set $created as hellosign.sendSignatureRequest
# Update the created item
hellosign.updateAccount
enddo
4. Check before creating
List existing items and only create if needed.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Get signature request and send signature request"
do
set $existing as hellosign.getSignatureRequest
if $existing == null
hellosign.sendSignatureRequest
print "Item created"
else
print "Item already exists"
end
enddo
5. Multi-step HelloSign workflow
Chain multiple hellosign operations together.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Get signature request, list signature requests, and more"
do
set $r_getSignatureRequest as hellosign.getSignatureRequest
set $r_listSignatureRequests as hellosign.listSignatureRequests
set $r_sendSignatureRequest as hellosign.sendSignatureRequest
print "All operations complete"
enddo
6. Safe getSignatureRequest with validation
Check results before proceeding.
@desc "Setup authentication"
do
hellosign.setCredentials $token
enddo
@desc "Get signature request and validate result"
do
set $result as hellosign.getSignatureRequest
if $result != null
print "Success: " + $result
else
print "Operation returned no data"
end
enddo
Related Modules
- pdf -- PDF module for complementary functionality
- excel -- Excel module for complementary functionality
- office -- Office module for complementary functionality
- docusign -- DocuSign module for complementary functionality
- pandadoc -- PandaDoc module for complementary functionality
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.1 | latest | 1 months ago |
Related Modules
rightplace
JS@robinpathv0.1.3
RightPlace integration — 130 functions for projects, WordPress, WooCommerce, email, files, git, spreadsheets, stages, docs, automations via rightplace-cli
asana
JS@robinpathv0.1.2
Asana module for RobinPath.
google-sheets
JS@robinpathv0.1.1
Google Sheets module for RobinPath.
airtable
JS@robinpathv0.1.2
Airtable module for RobinPath.
$ robinpath add @robinpath/hellosign
