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
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createPiece, PieceCategory } from '@activepieces/pieces-framework';
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { magicalApiAuth } from './lib/common/auth';
import { BASE_URL } from './lib/common/client';
import { reviewResume } from './lib/actions/review-resume';
import { parseResume } from './lib/actions/parse-resume';
import { getProfileData } from './lib/actions/get-profile-data';
import { getCompanyData } from './lib/actions/get-company-data';
import { scoreResume } from './lib/actions/score-resume';
import { getJobResult } from './lib/actions/get-job-result';
export const magicalApi = createPiece({
displayName: 'Magical API',
description: 'Automate resume parsing, review, scoring, and LinkedIn profile/company data retrieval with Magical API.',
auth: magicalApiAuth,
minimumSupportedRelease: '0.88.2',
logoUrl: 'https://cdn.activepieces.com/pieces/magical-api.png',
authors: ['Pranith124', 'sanket-a11y'],
categories: [
PieceCategory.HUMAN_RESOURCES,
PieceCategory.SALES_AND_CRM,
PieceCategory.BUSINESS_INTELLIGENCE,
],
actions: [
parseResume,
reviewResume,
getProfileData,
getCompanyData,
scoreResume,
getJobResult,
createCustomApiCallAction({
auth: magicalApiAuth,
baseUrl: () => BASE_URL,
authMapping: async (auth) => {
return {
'api-key': auth.secret_text,
};
},
}),
],
triggers: [],
});