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 { callFlow } from './lib/actions/call-flow';
import { streamCsvToSubflows } from './lib/actions/stream-csv-to-flow';
import { callableFlow } from './lib/triggers/callable-flow';
import { response } from './lib/actions/respond';
import { PieceCategory } from '@activepieces/pieces-framework';
export const flows = createPiece({
displayName: 'Sub Flows',
description: 'Trigger and call another sub flow.',
auth: PieceAuth.None(),
minimumSupportedRelease: '0.82.0',
categories: [PieceCategory.CORE, PieceCategory.FLOW_CONTROL],
logoUrl: 'https://cdn.activepieces.com/pieces/new-core/subflows.svg',
authors: ['hazemadelkhalel'],
actions: [callFlow, streamCsvToSubflows, response],
triggers: [callableFlow],
});