Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

1.1 KB
Raw Blame
import { createEnvelopeEventTrigger } from '../envelope-event-trigger';

export const recipientCompleted = createEnvelopeEventTrigger({
  name: 'recipientCompleted',
  displayName: 'Person Signed Document',
  description:
    'Triggers when a specific person completes their signature on the document.',
  aiMetadata: {
    description:
      'Fires when a specific recipient completes their signature on a DocuSign envelope. Represents one signer finishing (the payload identifies the recipient); the envelope may still be awaiting other recipients, unlike the envelope-completed event.',
  },
  docusignEvent: 'recipient-completed',
  sampleData: {
    event: 'recipient-completed',
    apiVersion: 'v2.1',
    uri: '/restapi/v2.1/accounts/6544471c-xxx-xxxx-xxxx-xxxb8a61f598/envelopes/f83f22a4-xxx-xxx-xxx-a039b5451096',
    retryCount: 0,
    configurationId: 22127526,
    generatedDateTime: '2026-04-17T06:58:23.7089453Z',
    data: {
      accountId: '6544471c-xxx-xxxx-xxxx-xxxb8a61f598',
      userId: '7063cf65-xxxx-xxx-xx-xxxxxx',
      envelopeId: 'f83f22a4-xxx-xxx-xxx-a039b5451096',
      recipientId: '1',
    },
  },
});