documents
PandaDoc CLI for Cron Jobs
Use the PandaDoc CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
9 functions 6 read 3 write Manual OAuth token auth
PandaDoc CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The PandaDoc CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# PandaDoc CLI for Cron Jobs
kosmokrator integrations:configure pandadoc --set access_token="$PANDADOC_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call pandadoc.pandadoc_list_documents '{"page":1,"count":1}' --json Discovery Before Execution
Agents and scripts can inspect PandaDoc docs and schemas before choosing a function.
kosmo integrations:docs pandadoc --json
kosmo integrations:docs pandadoc.pandadoc_list_documents --json
kosmo integrations:schema pandadoc.pandadoc_list_documents --json
kosmo integrations:search "PandaDoc" --json
kosmo integrations:list --json Useful PandaDoc CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
pandadoc.pandadoc_list_documents | Read | page, count | List documents from PandaDoc. Returns a paginated list of documents with their IDs, names, status, and metadata. |
pandadoc.pandadoc_get_document | Read | id | Get details of a specific PandaDoc document by ID. Returns document metadata, status, recipients, and fields. |
pandadoc.pandadoc_create_document | Write | name, template_id, recipients, tokens, fields, metadata | Create a new PandaDoc document from an existing template. The document is created in draft status and can then be sent for signature. |
pandadoc.pandadoc_send_document | Write | id, message, silent | Send a PandaDoc document to recipients for signature. The document must be in draft status. Once sent, recipients will receive an email notification. |
pandadoc.pandadoc_list_templates | Read | page | List available document templates from PandaDoc. Returns template IDs, names, and metadata for creating new documents. |
pandadoc.pandadoc_get_template | Read | id | Get details of a specific PandaDoc template by ID. Returns template metadata, fields, tokens, and recipient roles. |
pandadoc.pandadoc_download_document | Read | id | Download a PandaDoc document as a PDF. Returns the PDF content as a base64-encoded string. |
pandadoc.pandadoc_create_link | Write | id, lifetime | Create a signed sharing link (session) for a PandaDoc document. The link allows viewing the document without authentication. |
pandadoc.pandadoc_get_current_user | Read | none | Get the profile of the currently authenticated PandaDoc user. Useful for verifying the connection and identifying the account. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.