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, PieceAuth } from '@activepieces/pieces-framework';
import { PieceCategory } from '@activepieces/pieces-framework';
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { fathomAuth, FATHOM_API_BASE } from './lib/auth';
import { listSites } from './lib/actions/list-sites';
import { getSite } from './lib/actions/get-site';
import { createEvent } from './lib/actions/create-event';
import { listEvents } from './lib/actions/list-events';
import { getAggregation } from './lib/actions/get-aggregation';
export const fathomAnalytics = createPiece({
displayName: 'Fathom Analytics',
description:
'Privacy-focused website analytics. Query your site traffic, manage sites and events, and generate custom reports.',
minimumSupportedRelease: '0.30.0',
logoUrl: 'https://cdn.activepieces.com/pieces/fathom-analytics.png',
categories: [PieceCategory.MARKETING, PieceCategory.BUSINESS_INTELLIGENCE],
auth: fathomAuth,
actions: [
listSites,
getSite,
createEvent,
listEvents,
getAggregation,
createCustomApiCallAction({
auth: fathomAuth,
baseUrl: () => FATHOM_API_BASE,
authMapping: async (auth) => ({
Authorization: `Bearer ${auth.secret_text}`,
}),
}),
],
authors: ['Harmatta','sanket-a11y'],
triggers: [],
});