Skip to content

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

485 B
Raw Blame
import { Project } from '@activepieces/shared'
import { hooksFactory } from '../helper/hooks-factory'

export const projectHooks = hooksFactory.create<ProjectHooks>(_log => ({
    postCreate: async (_project: Project, _context?: ProjectPostCreateContext) => {
        return
    },
}))

export type ProjectPostCreateContext = {
    alertReceiverEmail?: string | null
}

export type ProjectHooks = {
    postCreate(project: Project, context?: ProjectPostCreateContext): Promise<void>
}