Skip to main content
Glama
index.ts1.21 kB
import { createPiece } from '@activepieces/pieces-framework'; import { documentproAuth } from './lib/common/auth'; import { uploaddocument } from './lib/actions/upload-document'; import { runExtract } from './lib/actions/run-extract'; import { newDocument } from './lib/triggers/new-document'; import { PieceCategory } from '@activepieces/shared'; import { createCustomApiCallAction } from '@activepieces/pieces-common'; export const documentpro = createPiece({ displayName: 'DocumentPro', auth: documentproAuth, minimumSupportedRelease: '0.36.1', logoUrl: 'https://cdn.activepieces.com/pieces/documentpro.png', description: 'DocumentPro is an AI-powered document processing platform that automates data extraction from various document types using advanced machine learning algorithms.', categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE], authors: ['sanket-a11y'], actions: [ uploaddocument, runExtract, createCustomApiCallAction({ auth: documentproAuth, baseUrl: () => 'https://api.documentpro.ai/v1', authMapping: async (auth) => { return { 'x-api-key': `${auth.secret_text}`, }; }, }), ], triggers: [newDocument], });

Latest Blog Posts

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