Is it possible to setup a schedule with echo?
I have a digest setup to send weekly emails
Is it possible to configure the same way I can on the webapp?
4 Replies
Hi @BrunoLM, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Digest Action Step
* Digest Engine
* How to Add Digest to Email Notifications
* Workflows
-----------------------------
Answer
In Novu's Echo system, you can indeed set up schedules directly in the code, similar to how you configure them via the webapp. The code snippet you provided for a weekly digest setup is a good example of how to configure this programmatically:
(1)
This setup in Echo effectively creates a digest that aggregates events over a week before sending them out. This mirrors the capability you have in the web-based workflow editor where digests can be set to accumulate notifications over specified intervals before dispatch.
If you need to adjust the timing or specifics of the digest beyond weekly intervals, you can modify the
amount
and unit
in the code to fit your needs, such as days, hours, or minutes.
For more detailed examples and configurations, you might find the official Novu documentation on Echo Workflows helpful, which outlines various strategies and settings for digests.Got it. Tagging @Support for additional help.
Hi @BrunoLM unfortuently at the moment it's not possible. I believe that we will deliver this capability in the next 3-4 weeks