index.ts•691 B
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { callFlow } from './lib/actions/call-flow';
import { callableFlow } from './lib/triggers/callable-flow';
import { response } from './lib/actions/respond';
import { PieceCategory } from '@activepieces/shared';
export const flows = createPiece({
displayName: 'Sub Flows',
description: 'Trigger and call another sub flow.',
auth: PieceAuth.None(),
minimumSupportedRelease: '0.67.1',
categories: [PieceCategory.CORE, PieceCategory.FLOW_CONTROL],
logoUrl: 'https://cdn.activepieces.com/pieces/flows.svg',
authors: ['hazemadelkhalel'],
actions: [callFlow, response],
triggers: [callableFlow],
});