Skip to main content
Glama

mcp-google-sheets

get-document-attachments.ts835 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { HttpMethod } from '@activepieces/pieces-common'; import { pandadocClient, pandadocAuth } from '../common'; import { documentDropdown, documentAttachmentDropdown } from '../common/dynamic-dropdowns'; export const getDocumentAttachments = createAction({ name: 'getDocumentAttachments', displayName: 'Get Document Attachment', description: 'Retrieves details of a specific attachment from a document.', auth: pandadocAuth, props: { document_id: documentDropdown, attachment_id: documentAttachmentDropdown, }, async run({ auth, propsValue }) { return await pandadocClient.makeRequest( auth as string, HttpMethod.GET, `/documents/${propsValue.document_id}/attachments/${propsValue.attachment_id}` ); }, });

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