Documents

OpenClaw Agreement Sender

Try it

Send client agreements for signature by detecting signature blocks with NanoPDF and placing DocuSign tabs automatically. Use when a user needs an OpenClaw wo...

What it does

Use this skill to automate agreement sending in OpenClaw with NanoPDF block detection and DocuSign envelope creation.

The skill document

OpenClaw DocuSign Agreements

Use this skill to automate agreement sending in OpenClaw with NanoPDF block detection and DocuSign envelope creation.

Workflow

1. Confirm Inputs

Collect:

  • Agreement PDF path
  • Client signer list (name, email, optional key and routing_order)
  • Email subject and optional message

Use references/nano-pdf-signature-schema.md for expected NanoPDF output and references/docusign-envelope-mapping.md for signer/tab rules.

2. Configure Environment

Set required variables:

  • NANOPDF_BASE_URL
  • NANOPDF_API_KEY
  • DOCUSIGN_BASE_URL (for example https://demo.docusign.net)
  • DOCUSIGN_ACCOUNT_ID
  • DOCUSIGN_ACCESS_TOKEN

Optional:

  • NANOPDF_DETECT_PATH (default: /v1/signature-blocks)
  • DOCUSIGN_ENVELOPE_SUBJECT
  • DOCUSIGN_ENVELOPE_BODY

3. Detect Blocks + Send Envelope

Run:

python3 scripts/send_agreement.py \
  --pdf contracts/nda.pdf \
  --signers-json contracts/signers.json \
  --output-dir output/openclaw-agreements

Optional flags:

  • --subject overrides DOCUSIGN_ENVELOPE_SUBJECT
  • --message sets the email blurb
  • --status created saves as draft (sent is default)
  • --scale 1.333333 converts NanoPDF point coordinates to DocuSign pixel-style positions

The script will:

  • Call NanoPDF to find signature blocks
  • Map each block to a signer (by signer_key first, then in signer order)
  • Create signer tabs in DocuSign at detected coordinates
  • Create and optionally send the envelope
  • Write audit files in --output-dir

4. Validate Before Delivery

Check generated files:

  • nanopdf_blocks.json
  • docusign_payload.json
  • envelope_result.json

If signer mapping is ambiguous or a signer has no blocks, stop and ask for explicit mapping before sending.

Safety Rules

  • Never guess recipient emails.
  • Stop on missing signature blocks unless the user explicitly approves manual fallback.
  • Use --status created first for new templates or high-stakes contracts.
  • Keep API tokens in environment variables only.

References

  • references/nano-pdf-signature-schema.md
  • references/docusign-envelope-mapping.md

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from danielfoch

Browse all skills

Send physical mail from CRM contacts using PostGrid. Use when pulling contacts from GoHighLevel (GHL) or Follow Up Boss (FUB), mapping contact/address fields...

by danielfoch25 installs

Manage realtor tasks in GoHighLevel CRM including contact search and updates, pipeline tracking, messaging, calendar slots, and workflow enrollment via API v2.

by danielfoch49 installs2 stars

Book real estate showing tours from emailed or pasted listing details, including extracting listing data, preparing outbound call jobs, coordinating a callin...

by danielfoch48 installs

Command-line tool to manage contacts, tasks, notes, deals, events, and communications via the Follow Up Boss API.

by danielfoch53 installs

Generate comparative market analysis (CMA) and home valuation reports from IDX listing data and selected comparable properties. Use when a user wants to pick...

by danielfoch47 installs

Send Slybroadcast ringless voicemail campaigns from OpenClaw/LLMs using CLI or MCP, including AI voice generation (ElevenLabs or generic HTTP voice API) and...

by danielfoch51 installs