Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Nx Plugin
Generate a @Flow class extending FlowBase
@Flow
pre
execute
post
finalize
error
nx g @frontmcp/nx:flow audit-log --project crm
name
string
project
directory
src/flows/
import { Flow, FlowBase } from '@frontmcp/sdk'; @Flow({ name: 'audit-log', description: 'TODO: describe what this flow does', plan: { steps: ['pre', 'execute', 'post', 'finalize'], }, }) export default class AuditLogFlow extends FlowBase { async pre(): Promise<void> { // TODO: pre-processing logic } async execute(): Promise<void> { // TODO: main execution logic } async post(): Promise<void> { // TODO: post-processing logic } async finalize(): Promise<void> { // TODO: finalization logic } async error(err: Error): Promise<void> { // TODO: error handling logic throw err; } }
Was this page helpful?