AGENT SKILL

PandaDoc Automation

Automate document workflows with PandaDoc -- create documents from files, manage contacts, organize folders, set up webhooks, create templates, and track document status through the Composio PandaDoc integration.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
PandaDoc Automation
requires
{ "mcp": [ "rube" ] }
description
Automate document workflows with PandaDoc -- create documents from files, manage contacts, organize folders, set up webhooks, create templates, and track document status through the Composio PandaDoc integration.

03 SKILL.md 正文

PandaDoc Automation

Manage PandaDoc document workflows directly from Claude Code. Create documents from uploaded files, manage recipients and contacts, organize with folders, set up event webhooks, create templates, and track document status without leaving your terminal.

Toolkit docs: composio.dev/toolkits/pandadoc


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your PandaDoc account when prompted. The agent will provide an OAuth link to authenticate.
  3. Ensure your PandaDoc workspace has the appropriate plan for the features you need (e.g., e-signatures, templates, webhooks).

Core Workflows

1. Create a Document from File

Upload a PDF, DOCX, or RTF file to create a new PandaDoc document with designated recipients for signing and tracking.

Tool: PANDADOC_CREATE_DOCUMENT_FROM_FILE

Key parameters:

  • name (required) -- document name
  • recipients (required) -- array of recipient objects, each with:
    • email (required) -- recipient email
    • first_name, last_name -- recipient name
    • role -- signer (default), approver, or cc (must be unique per recipient)
    • signing_order -- numeric order (if set for one, must be set for all)
  • file -- uploaded file object with name, mimetype, and s3key
  • url -- alternatively, a public HTTPS URL to the file
  • parse_form_fields (default false) -- parse PDF form fields
  • tags -- array of strings for categorization
  • owner -- document owner (email or membership_id)

Example prompt: "Create a PandaDoc document from contract.pdf with john@example.com as signer and jane@example.com as approver"


2. Get Document Details

Fetch comprehensive metadata for a document including recipients, fields, tokens, pricing, tags, and content-block references.

Tool: PANDADOC_GET_DOCUMENT_DETAILS

Key parameters:

  • id (required) -- the unique document identifier (e.g., BhVzRcxH9Z2LgfPPGXFUqa)

Use this to check document status, inspect recipient completion, review field values, or gather metadata for reporting.

Example prompt: "Get the full details and status for PandaDoc document BhVzRcxH9Z2LgfPPGXFUqa"


3. Manage Contacts

Create new contacts or update existing ones in PandaDoc. Contacts are matched by email -- if a contact with the given email exists, it gets updated; otherwise, a new one is created.

Tool: PANDADOC_CREATE_OR_UPDATE_CONTACT

Key parameters:

  • email (required) -- contact email address
  • first_name, last_name -- contact name
  • company -- company name
  • job_title -- role/title
  • phone -- phone number
  • street_address, city, state, postal_code, country -- address fields

Example prompt: "Create a PandaDoc contact for john.doe@example.com at Acme Corp as Software Engineer"


4. Organize with Folders

Create folders and move documents to organize your PandaDoc workspace.

Tools: PANDADOC_CREATE_FOLDER, PANDADOC_LIST_DOCUMENT_FOLDERS, PANDADOC_MOVE_DOCUMENT_TO_FOLDER

For creating folders:

  • name (required) -- folder name
  • parent_uuid -- parent folder UUID for nested structures

Example prompt: "Create a 'Q1 2026 Contracts' folder in PandaDoc and move document BhVzRcxH9Z to it"


5. Set Up Webhooks

Create webhook subscriptions to receive real-time notifications when document events occur.

Tool: PANDADOC_CREATE_WEBHOOK

Key parameters:

  • name (required) -- descriptive name for the webhook
  • url (required) -- endpoint URL for notifications
  • triggers (required) -- event types: document_state_changed, recipient_completed, document_updated, etc.
  • active (default true) -- enable/disable the webhook
  • payload -- additional data to include: fields, products, metadata, tokens, pricing

Example prompt: "Set up a PandaDoc webhook to notify https://api.example.com/hooks when documents change state or recipients complete"


6. Create Templates

Create reusable templates from PDF files or from scratch with structured content blocks.

Tool: PANDADOC_CREATE_TEMPLATE

Key parameters:

  • name (required) -- template name
  • file_path -- path to PDF file for template creation
  • content -- structured content object with title and blocks array for building from scratch
  • description -- template description
  • tags -- categorization tags

Example prompt: "Create a PandaDoc template called 'Standard NDA' from the nda-template.pdf file"


Known Pitfalls

  • Unique recipient roles: PandaDoc API does not allow duplicate roles within a single document. Each recipient must have a unique role value (e.g., signer, signer_2, approver, cc).
  • Signing order consistency: If you specify signing_order for any recipient, you must specify it for ALL recipients in the document. Partial ordering will cause errors.
  • File upload requirements: Either file (with s3key) or url must be provided for document creation, not both. The URL must be publicly accessible HTTPS.
  • Contact upsert behavior: PANDADOC_CREATE_OR_UPDATE_CONTACT matches by email. If you need to update a contact's email itself, you must create a new contact and handle the old one separately.
  • Document ID format: Document IDs are alphanumeric strings (e.g., BhVzRcxH9Z2LgfPPGXFUqa). They are returned when documents are created and can be found via the PandaDoc dashboard.
  • Webhook event naming: Trigger event names must match exactly (e.g., document_state_changed, not stateChanged or state_changed). Check PandaDoc API docs for the complete list.
  • Folder operations require UUIDs: Moving documents requires both the document ID and the destination folder UUID. List folders first to get the correct UUID.
  • Template content blocks: When creating templates from scratch, the blocks array must contain valid content block objects per PandaDoc's schema. Check their API documentation for supported block types.

Quick Reference

Tool Slug Description
PANDADOC_CREATE_DOCUMENT_FROM_FILE Create a document from PDF/DOCX/RTF with recipients
PANDADOC_GET_DOCUMENT_DETAILS Get full document metadata, status, and fields
PANDADOC_CREATE_OR_UPDATE_CONTACT Create or update a contact by email
PANDADOC_CREATE_FOLDER Create a folder for document organization
PANDADOC_LIST_DOCUMENT_FOLDERS List all document folders
PANDADOC_MOVE_DOCUMENT_TO_FOLDER Move a document to a specific folder
PANDADOC_CREATE_WEBHOOK Set up event notification webhooks
PANDADOC_CREATE_TEMPLATE Create a reusable document template

Powered by Composio

04 同仓库更多 Skills

siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

x-article-draft-uploader

把本地 Markdown 转为经核验的 X Articles 新草稿。适用于需要保留首图封面、正文图片相对位置,并在独立 Playwright 会话中复用用户已授权 Chrome 登录态的任务;不负责公开发布。

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wecom-operations

通过用户已配置的官方 wecom-cli 管理企业微信文档、智能文档、待办、会议和日程。适合创建或查询这些云端对象、把本地 Markdown 转为智能文档,以及在明确确认后更新或取消对象;不发送消息、不控制桌面客户端。

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wecom-local-vault

Inspect authorized local WeCom databases on macOS, create private plaintext snapshots, and query or export contacts, conversations, and messages without modifying the source account store. Use when the user asks to parse 企业微信/WeCom local data, recover a private database snapshot, inspect local contacts or sessions, search chat history, or export a bounded conversation.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-reading

Read and analyze WeRead/微信读书 search results, book metadata, bookshelf entries, progress, notes, highlights, public reviews, recommendations, and reading statistics through the official read-only Agent Gateway. Use for WeRead account questions or exports; do not imply that the current Gateway can add, remove, upload, rate, like, or edit content.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-mp-batch-exporter

Build a bounded, private archive from known WeChat Official Account article URLs or an owner-authorized account-history export, with explicit reconciliation of article, publish-group, and platform-marked-original counts. Use for batch body capture, history normalization, or enhanced metrics/comments workflows. Do not use for a one-page summary or to automate the WeChat client.

★ 1
siuserxiaowei
siuserxiaowei/xiaowei-ai-tools

wechat-local-vault

在 macOS 本机建立并查询私有微信数据快照。适用于盘点数据库、离线校验已有密钥候选、创建全量或增量明文快照、查会话与联系人、按时间检索消息、导出指定聊天、查看朋友圈或收藏,以及准备群聊摘要素材。所有查询只读,默认隐藏内部账号标识,不操控微信界面,也不发送任何内容。

★ 1