Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Payload In Workflow #753

Open
Aidin98 opened this issue Dec 29, 2024 · 0 comments
Open

Empty Payload In Workflow #753

Aidin98 opened this issue Dec 29, 2024 · 0 comments

Comments

@Aidin98
Copy link

Aidin98 commented Dec 29, 2024

I. have this simple workflow import { workflow } from '@novu/framework'
import { z } from 'zod'

export const shopOrderStatusChange = workflow('ORDER_SHIPPED_V2', async event => {
console.log('OMG', event)

// Step 1: In-App Message
await event.step.inApp('order-status-in-app', async () => ({
body: Narudžba ${event.payload.orderNumber}} je ${event.payload.orderStatus}.,
}))

})

And. event.payload is empty

@Aidin98 Aidin98 changed the title Issue on docs Empty Payload In Workflow Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant