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 } from '@activepieces/pieces-framework';
import { onfleetAuth } from '../..';
import { common } from '../common';
export const getAdmins = createAction({
auth: onfleetAuth,
name: 'get_admins',
displayName: 'Get Administrators',
description: 'Get many administrators',
audience: 'both',
aiMetadata: { description: 'Lists all administrators in the Onfleet organization. Read-only and idempotent, taking no input. Use it to discover admin IDs before calling update-admin or delete-admin.', idempotent: true },
props: {},
async run(context) {
return await common.getAdmins(context.auth.secret_text);
},
});