Are there any plans for Echo in Novu cloud?

In order to have my workflows defined in code and version control, I should use Echo. If I understand the documentation correctly, I need my own runtime to use Echo and can not rely only on your cloud offering, is this correct? If so, are there any plans on providing this runtime in the Novu cloud? I really don't want to set up another runtime just to be able to define my workflows in code. Maybe I just misunderstood how it works 😬
13 Replies
Tomer Barnea
Tomer Barneaβ€’3w ago
Hey @kingen ✌🏻 πŸ‘‹ You are partially correct:-) To use Echo you do need a simple runtime, to process the steps, allow usage of shared code, and access to local data. But the Novu Cloud is controlling the flow. Does that make sense? What interest you most about using Echo?
kingen ✌🏻
Yeah make sense! I guess the main reason is to give developers easy access to local data during workflow execution. What interest me most? All the reasons we use version control in code πŸ˜„ (testing changes, reviewing changes, reverting changes, type validations, easy onboarding of new engineers, etc.). btw, the github actions page https://github.com/novuhq/actions-echo-sync may need a little update to the readme πŸ™‚
GitHub
GitHub - novuhq/actions-echo-sync
Contribute to novuhq/actions-echo-sync development by creating an account on GitHub.
kingen ✌🏻
Any way of configuring providers using code?
Novu_Bot
Novu_Botβ€’3w ago
@kingen ✌🏻, you just advanced to level 1!
Dima Grossman
Dima Grossmanβ€’3w ago
@kingen ✌🏻 this will be coming soon to Echo πŸ™‚
kingen ✌🏻
from the example here: https://docs.novu.co/echo/sdk/frameworks/express What package do I need to install to be able to import the following``
import { serve } from "@novu/echo/express";
import { serve } from "@novu/echo/express";
It is very unclear to me πŸ€”
kingen ✌🏻
Hoping I'll be able to use that with my NestJS API.
Dima Grossman
Dima Grossmanβ€’3w ago
Thanks for the feedback! You will just need to install @novu/echo We are renaming the package in the next 2 weeks to @novu/framework, but we will put the new name with the updated docs soon
kingen ✌🏻
okey, good to know! I get the following when trying to import on version 0.24.3-alpha.4. I can import the client import { Echo } from '@novu/echo'; πŸ€”
node -v
v20.11.0
node -v
v20.11.0
No description
kingen ✌🏻
another feedback πŸ™‚ It would be very convenient for me if I was able to trigger a workflow directly from the echo instance, like this:
let echo = new Echo();
echo.workflow('test', async (event) => {
await event.step.inApp('send-in-app', async () => {
return { body: `A new post has been created` };
});
});

echo.triggerWorkflow('test');
let echo = new Echo();
echo.workflow('test', async (event) => {
await event.step.inApp('send-in-app', async () => {
return { body: `A new post has been created` };
});
});

echo.triggerWorkflow('test');
That way I only need to pass around the echo instance instead of individual references to all workflows. Is this something that you're considering? πŸ™πŸ» thanks for the responsiveness btw
Dima Grossman
Dima Grossmanβ€’3w ago
Yes! This is on our very soon roadmap, we be able also to provide typesafety with Zod/JSON Schema for the payload variables I believe this will be available during early July
kingen ✌🏻
Cool, yes Zod validation would be gold πŸ‘πŸ» I might wait with this a couple of weeks then.
Dima Grossman
Dima Grossmanβ€’3w ago
We have a bunch of improvements that will ship around the beggining of July, including Zod
Want results from more Discord servers?
Add your server
More Posts
Triggering a workflow using topics does not do anythingHi everyone, We've self-hosted Novu and were able get it in a working state. We're able to send notican i config novu via https?. With traefik for example.I hope inkeep can helpLogin API route causes weirdness in web instance (solved)Has anyone had an issue where self-hosted works fine on http, but switching to https causes the api About three yml files in "docker/local" folder in the github repository.Hi! There are three yml files in the "docker/local" folder in your github. What is responsible for w4200 doesn’t workHello, Help! After following the steps in the "Quick Start Docker" section, the web is not launchingunseenCount not showingHello, I don't manage to get unseenCount value to display on the notification bell in my in-app notDefine origins in access-control-allow-origin header for in-app notificationsHello, We have a react frontend and we are using the Novu notification plugin and initializing usingI have an issue where the translation file is not applied to the template while other ones work fineI hitting rock a translation file, it is just not displaying the translations only the key names, I The website crashes when I do .length while writing a custom email templateHey, I was using Novu's digest feature to send emails. I can do `step.events.length` which gives How do I add avatar URLs or images in an in-app notification?Is there any documentation for this? Here is the one, I could find but it's incomplete: https://docs