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 { createAction, Property } from '@activepieces/pieces-framework';
import { fathomAuth } from '../common/auth';
import { fathomInputs } from '../common/props';
import { fathomLegacy } from '../common/legacy';
import { fathomOutputSchemas } from '../output-schemas';
export const findTeamMember = createAction({
name: 'findTeamMember',
classification: 'SEARCH',
displayName: 'Find Team Member',
description: 'List the members of your Fathom account, optionally only those of one team. To look up one person, use Find Team Member by Email.',
audience: 'both',
aiMetadata: {
description:
'Lists members (name, email, join date) of the Fathom account, optionally only those of one team given by exact team name, one page per call with a cursor. Use Find Team Member by Email for a single-person lookup. Read-only and idempotent.',
idempotent: true,
},
auth: fathomAuth,
props: {
team: Property.ShortText({
displayName: 'Team',
description: 'Team name to filter by',
required: false,
}),
cursor: Property.ShortText({
displayName: 'Cursor',
description: 'Cursor for pagination (from previous response)',
required: false,
}),
},
outputSchema: fathomOutputSchemas.legacyTeamMembers,
async run({ auth, propsValue }) {
const team = fathomInputs.optionalText({ value: propsValue.team });
const cursor = fathomInputs.optionalText({ value: propsValue.cursor });
return fathomLegacy.listInSdkShape({ auth, path: 'team_members', query: { team, cursor }, fields: ['name', 'email'] });
},
});