12 lines
347 B
TypeScript
12 lines
347 B
TypeScript
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.'
|
|
}
|
|
})
|
|
})
|