#Unable to Create a Workflow
1 messages · Page 1 of 1 (latest)
@final heron hello please can you help me out, will really appreciate it thanks?
Have you added your bridge app and synce'd the two together?
I'm trying to do that but no luck. it seems running the npx novu@latest dev --port 4000 appears to be connecting to my cloud version and not the self hosted one.
@final heron
You need to specify your dashboard-url, so your command should look something like this:
npx novu@latest dev --port 4000 --dashboard-url https://dashboard.mydomain.app
Hello @final heron thanks for your help. after I was able to let it connect with the bridge app. On the screen to trigger the test workflow, I get api key not found. I have correctly checked the key is rightly added.
ah yeah that's a bug, https://github.com/novuhq/novu/issues/6710
📜 Description When you go to http://localhost:2022/studio/onboarding/preview and after signing in, you get 401 errors when trying to authenticate against the hosted Novu api. When trying to trigger...
Oh thanks solved
Have any idea why my events keeps failing?
Have done the sync changes @final heron
Are they failing to trigger or are they failing to be sent by the provider you're selecting?
It was able to be trigged but on the activity feed am getting failed
What error are you getting in the activity feed?
This seems to be an issue with the email provider
I tried it with sms and push notification. Same error @final heron
@barren fable, you just advanced to level 4!
Is there even a chance that the workflow flow that was been created using the ui version that the cloud uses will work on this self hosted version that uses codes to create a workflow if I created it through the api @final heron ?
so the ui based version is no longer available in v2. if you organizations that were created with the ui version enabled, you can still use that but you're not able to create a new org with a new ui type of layout just yet
Okay thanks. Do you think it will be a great idea to revert back to v0.24 @final heron ?
Is there any way to skip using Local Studio to create workflow and if do so how to set it up, since everything are local?
Novu Tunnel just got totally block after our coporation proxy.
I got stuck. And please help... @final heron @dry narwhal
Hey @static pebble! We are currently building a new Workflow editor experience in the Dashboard that will allow you to create workflows using UI. You can read more about it here.
Currently it's not possible to create Workflows without Local Studio. We do however have a flag allowing you to specify a custom tunnel URL to workaround blocked proxies. You can read more about the available flags here. Here is an example using Ngrok tunnel provider, however any tunnel provider will work:
npx novu@latest dev -t https://my-custom-tunnel.ngrok-free.app
The tunnel is necessary to expose your locally-running Bridge application to the internet so that the Novu Cloud Worker engine can trigger your workflows during local development. You can read more about securing your Bridge application here.
@nocturne zodiac Thanks for your quick response!
However any Tunnel service(including ngrok) that might expose our company internal network got block by our security team.
And I think most of the companies do so. I really like the code-first feature but in this case, I might need to rollback to 0.24 too...
Thanks for providing more information about your security limitations. Is self-hosted or corporate Ngrok an option for you? Ngrok provides some documentation here about running Ngrok behind a corporate firewall.
At Novu we are running our own Tunnel service which is what you'll see as the Tunnel URL produced when starting npx novu@latest dev, looking something like: https://<random-uuid>.novu.sh/api/novu. The tunnel service is hosted as a simple Cloudflare worker.
Would your company consider self-hosting a tunneling service to meet the needs of Novu Cloud Worker? I can chat with the team to see if we could create a Terraform recipe to deploy your own service.
I am in an agile team but within a tranditional 😂 company, so only when solution has been proven, then my team can raise ticket to related department to coporate...
And we are only at the very begining spike stage, everything has been limited.
I used to develop MS Teams In App Plugin, which also use ngrok for local development. I end up using Github Codespace as workaround to have a free network enviorment, and it is not that handy.
Thanks for confirming.
I've just identified a workaround to developing in Local Studio without a tunnel connection, using the new --tunnel flag. Try this command out, replacing with your localhost details as necessary:
npx novu@latest dev -t http://localhost:4000
Local Studio will start up with a set of params looking like this:
✔ 🛣️ Tunnel → http://localhost:4000/api/novu
✔ 🖥️ Dashboard → https://dashboard.novu.co
✔ 🎨 Studio → http://localhost:2022/studio
✔ 🌉 Endpoint → http://localhost:4000/api/novu
You'll now be able to preview your content in Local Studio (see screenshot example).
This comes with the aforementioned caveat that you won't be able to Trigger your workflows locally until you sync a deployed Bridge application to Novu Cloud. You can read more about syncing here.
I hope that helps unblock you in the meantime, let me know if you have any other questions!
Much thanks! I dive a little bit, and seems it rely on cloudflare worker. Hope it is not blocked. By the way , Is this part of code in worker open sourced?
It works! @nocturne zodiac Thank you so much!
I am trying to run a test app as per the Get Started page on self hosted novu, I initialize a new project with below commands:
npx novu@latest init --secret-key=xyz --api-url=https://novu-api.qa.mycompanydomain.ae
cd my-novu-app && npm run dev
npx novu@latest dev --port 4000 --dashboard-url https://novu.qa.mycompanydomain.ae
after running this, (http://localhost:2022/studio/onboarding), shows waiting for you to start your application, and there is no progress even if the app is running.
I am also not able to connect the local studio with the self hosted novu instance. Below screenshots for reference. Could you please help me on this @final heron @nocturne zodiac
Check this response to see if it helps you: https://github.com/novuhq/novu/issues/6710#issuecomment-2425066191
📜 Description When you go to http://localhost:2022/studio/onboarding/preview and after signing in, you get 401 errors when trying to authenticate against the hosted Novu api. When trying to trigger...
What about docker