Skip to main content
Glama

mcp-google-sheets

get-envelope.ts884 B
import { EnvelopesApi } from 'docusign-esign'; import { createAction, Property } from '@activepieces/pieces-framework'; import { docusignAuth, DocusignAuthType } from '../../'; import { createApiClient } from '../common'; export const getEnvelope = createAction({ name: 'getEnvelope', displayName: 'Get envelope', description: 'Get Docusign envelope', auth: docusignAuth, props: { accountId: Property.ShortText({ displayName: 'Account ID', required: true, }), envelopeId: Property.ShortText({ displayName: 'Envelope ID', required: true, }), }, async run({ auth, propsValue }) { const apiClient = await createApiClient(auth as DocusignAuthType); const envelopeApiClient = new EnvelopesApi(apiClient); return await envelopeApiClient.getEnvelope( propsValue.accountId, propsValue.envelopeId ); }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server