Initial commit from monorepo
This commit is contained in:
11
app/novu/workflows.ts
Normal file
11
app/novu/workflows.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { workflow } from '@novu/framework'
|
||||
|
||||
// Minimal sample workflow; replace with real flows
|
||||
export const testWorkflow = workflow('test-workflow', async ({ step }) => {
|
||||
await step.email('welcome-email', async () => {
|
||||
return {
|
||||
subject: 'Welcome to Novu',
|
||||
body: 'This is a test email from Novu Framework in Nuxt.'
|
||||
}
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user