novu framework questions
i have a couple questions about novu framework that i still need help with if someone has a moment!
6 Replies
1. i still need help changing my novu cloud instance over from the old workflows to the new ones. i have tried to run the novu sync command (
npx novu@latest sync --bridge-url ...
) and it completes with no errors that i can see, but the workflows aren't appearing in novu cloud. where should i be able to see the workflows that appear in local studio once they are synced to a new environment? if i had old workflows with the same identifiers, is that why the new ones are not appearing? how can i at least see logs to see what is going on with the sync? i've asked about migrating in the discord a couple times and have been told i have to do it manually, which i undesrtand, but i still don't know how to successfully switch over when i had existing workflows. do i need to delete them manually?
2. is there an example of a custom novu framework serve function? i'd love to see more documentation or examples of custom framework serve functions and what all the different handler keys are supposed to return. there doesn't seem to be much documentation in the source code so i'm not sure how to write a proper one. e.g. what should the "frameworkName" be since if it's custom it won't be one of the SupportedFrameworkName enum values like express, next, etc.@sheena could you try maybe making the workflow with another identifier name? Also, please verify that you are viewing the correct environment that was used with the sync API key
i'm viewing the correct environment but all my old workflows are there. if i want to keep using the same identifier, can i delete the old ones manually and try that way?
Yes, you can try it out 🙏
are there logs anywhere that can help me debug?
Are you using our cloud environment? In this case could you please send me in a DM your account email address?