Skip to main content
Glama

mcp-google-sheets

reprocess-document.ts788 B
import { createAction } from '@activepieces/pieces-framework'; import { parseurAuth, parseurCommon } from '../common'; import { documentDropdown, parserDropdown } from '../common/properties'; export const reprocessDocument = createAction({ auth: parseurAuth, name: 'reprocessDocument', displayName: 'Reprocess Document', description: 'Send an existing document back through parsing (e.g. after updating template).', props: { parserId: parserDropdown({ required: true }), documentId: documentDropdown({ required: true }), }, async run({ auth: apiKey, propsValue: { documentId } }) { if (!documentId) { throw new Error('Document ID is required'); } return await parseurCommon.reprocessDocument({ apiKey, documentId, }); }, });

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