Docusign automation

From benjaminasterA/antigravity-awesome-skills · View interactive version

Docusign automation is an AI agent skill from the GitHub repository benjaminasterA/antigravity-awesome-skills. Automate DocuSign tasks via Rube MCP (Composio): templates, envelopes, signatures, document management. Always search tools first for current schemas.

How to use this skill

Skill file

DocuSign Automation via Rube MCP

Automate DocuSign e-signature workflows through Composio's DocuSign toolkit via Rube MCP.

Prerequisites

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit docusign
  3. If connection is not ACTIVE, follow the returned auth link to complete DocuSign OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Browse and Select Templates

When to use: User wants to find available document templates for sending

Tool sequence:

  1. DOCUSIGN_LIST_ALL_TEMPLATES - List all available templates [Required]
  2. DOCUSIGN_GET_TEMPLATE - Get detailed template information [Optional]

Key parameters:

Pitfalls:

2. Create and Send Envelopes from Templates

When to use: User wants to send documents for signature using a pre-built template

Tool sequence:

  1. DOCUSIGN_LIST_ALL_TEMPLATES - Find the template to use [Prerequisite]
  2. DOCUSIGN_GET_TEMPLATE - Review template roles and fields [Optional]
  3. DOCUSIGN_CREATE_ENVELOPE_FROM_TEMPLATE - Create the envelope [Required]
  4. DOCUSIGN_SEND_ENVELOPE - Send the envelope for signing [Required]

Key parameters:

Pitfalls:

3. Monitor Envelope Status

When to use: User wants to check the status of sent envelopes or track signing progress

Tool sequence:

  1. DOCUSIGN_GET_ENVELOPE - Get envelope details and status [Required]

Key parameters:

Pitfalls:

4. Add Templates to Existing Envelopes

When to use: User wants to add additional documents or templates to an existing envelope

Tool sequence:

  1. DOCUSIGN_GET_ENVELOPE - Verify envelope exists and is in draft state [Prerequisite]
  2. DOCUSIGN_ADD_TEMPLATES_TO_DOCUMENT_IN_ENVELOPE - Add template to envelope [Required]

Key parameters:

Pitfalls:

5. Manage Envelope Lifecycle

When to use: User wants to send, void, or manage draft envelopes

Tool sequence:

  1. DOCUSIGN_GET_ENVELOPE - Check current envelope status [Prerequisite]
  2. DOCUSIGN_SEND_ENVELOPE - Send a draft envelope [Optional]

Key parameters:

Pitfalls:

Common Patterns

ID Resolution

Template name -> Template ID:

1. Call DOCUSIGN_LIST_ALL_TEMPLATES
2. Find template by name in results
3. Extract templateId (GUID format)

Envelope tracking:

1. Store envelopeId from CREATE_ENVELOPE_FROM_TEMPLATE response
2. Call DOCUSIGN_GET_ENVELOPE periodically to check status
3. Check recipient-level status for individual signing progress

Template Role Mapping

When creating an envelope from a template:

1. Call DOCUSIGN_GET_TEMPLATE to see defined roles
2. Map each role to actual recipients:
   {
     "roleName": "Signer 1",     // Must match template role name exactly
     "name": "John Smith",
     "email": "john@example.com"
   }
3. Include ALL required roles in templateRoles array

Envelope Status Flow

created (draft) -> sent -> delivered -> signed -> completed
                       \-> declined
                       \-> voided (by sender)

Known Pitfalls

Template Roles:

Envelope Status:

GUIDs:

Rate Limits:

Response Parsing:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| List templates | DOCUSIGN_LIST_ALL_TEMPLATES | (optional filters) |

| Get template | DOCUSIGN_GET_TEMPLATE | templateId |

| Create envelope | DOCUSIGN_CREATE_ENVELOPE_FROM_TEMPLATE | templateId, templateRoles, status |

| Send envelope | DOCUSIGN_SEND_ENVELOPE | envelopeId |

| Get envelope status | DOCUSIGN_GET_ENVELOPE | envelopeId |

| Add template to envelope | DOCUSIGN_ADD_TEMPLATES_TO_DOCUMENT_IN_ENVELOPE | envelopeId, documentId, templateId |

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.