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 { vercelAuth } from '../common/auth';
import { listAllProjects } from '../common/client';
export const listProjects = createAction({
auth: vercelAuth,
name: 'list_projects',
classification: 'SEARCH',
displayName: 'List Projects',
description: 'Retrieve all Vercel projects for the authenticated user or team.',
audience: 'both',
aiMetadata: {
description: 'List Vercel projects for the authenticated account or team, paging through all results. Leave the search value empty to fetch every project, or set it to filter projects by name. Use this to discover project IDs/names before deploying or managing env vars. Read-only and idempotent.',
idempotent: true,
},
props: {
search: Property.ShortText({
displayName: 'Search',
description: 'Filter projects by name.',
required: false,
}),
},
async run(context) {
const { search } = context.propsValue;
return await listAllProjects(context.auth, search);
},
});