Novu

N

Novu

Open Source Community by Novu

Join

💬│support

🚀│general

Is there a Workflow Codegen to create workflows .ts types?

Is anyone using code generation for TypeScript types to share payload types and workflow names across repositories? For example, I define my workflows in one repository and would like to trigger a workflow in another repository. I want the second repository to be strictly typed so I can properly reference the workflow data types....

An endpoint /v1/environments returns 500 error

I deployed Novu service on AWS with Docker and when I go to the web application I see the 500 error on the endpoint /v1/environments How to fix it? The following curl command return the same:...
No description

Localhost apikey failed

I cloned the project from github and ran it on my localhost. I couldn't create workflows, it said 'You are currently viewing demo workflows. Add your own by completing the setup.' When I write npx novu@latest init --secret-key=API_KEY, I get the error below. What is the reason? How can I create a workflow http://localhost:4200/workflows Failed to verify your secret key against https://api.novu.co. For EU instances use --api-url https://eu.novu.co or provide the correct secret key...
No description

how to send custom text link in slack message content?

slack mardown custom text link is not working have tried this syntax. can anyone help? [Link text Here](https://link-url-here.org)...

Novu inbuilt SMS provider does not seem to work

When using novu's inbuilt SMS provider, I get the error attached in the screenshot. Am I missing something?
No description

@novu/framework support for self hosted?

Does @novu/framework work for self hosted novu or it just support novu cloud?

Unexpected provider error: Cannot read properties of undefined (reading 'reason')

Hi. We have this issue when we try to send a push notification to subscriber with APNS Provider for IOS devices. Here is a channel`s example of the subscriber in Novu MongoDB: [{"credentials": {"deviceTokens": ["<device_token>"]}, "_integrationId": "<integrationId>", "providerId": "apns"}] _integrationId has connection with correct APNS Provider....

select which user should receive email or push

const novu = new Novu(process.env.NOVU_API_KEY); await novu.trigger('demo', { to: [{ subscriberId: "[email protected]",...

Nest.js Integration.

I want to create Workflows in Nest.js and serve them for local studio. I am not able to find any working example and could not serve workflows in Nest.js myself. Is there any example that you can provide? just like this https://docs.novu.co/quickstart/express

iOS badge (counter of unread notifications on app icon)

Hello! We need to implement badges functionality for iOS (for android works automatically). In OneSignal documentation we found that we should send additional data in notifications for this feature - https://documentation.onesignal.com/docs/badges . It's ios_badgeType and ios_badgeCount fields. But now instead using directly OneSignal we use Workflows. How we can implement it via Novu functionality ? Thank you for the answer in advance.

Workflow: Skip Email for Subscribers Without Email and Try SMS Flow

I am trying to create a workflow where if the subscriber does not have an email we skip the email and try sms flow. But i dont think I am doing it correctly. Additionally I cannot find any resource on this topic. sample code: ...

CORS hitting locally novu api from react app

Hey, Im running local novu project with docker-compose -f docker-compose.yml up In my react app I'm using Novu Inbox component ``` <NovuProvider...
No description

Missing helper: "i18n"

Hi! I'm trying to introduce translations into some of our emails but am encountering some issues. I have a subscriber that I have verified has a different locale than our default language. The translations in my email are set up. When I trigger this email to the subscriber, either through our code or by triggering the workflow in the dashboard, I receive the email in the default language. When I try to test just the email through the dashboard instead of the entire workflow, I get the error mess...

Promote to Production.

Hi all, I'm using a fork of https://github.com/origranot/reduced.to that is built w/ NX, NestJS, QWIK, TailWinds, Prisma, Postgres, Paddle, Kafka, Redis, & Novu. It is also a monrepo w/ a frontend, backend, tracker and then deployed w/ docker-compose on Portainer behind NGINX-Proxy-Manager. I saw a notification trigger located in apps/backend/src/novu/novu.service.ts so I created a 'new-user' workflow in my Novu Development Environment (If you haven't figured out yet, I'm not a developer so I used curl and tweaked it from the dashboard). I then was able to setup the mail integration and successfully tested the workflow in the dashboard. Now, the question is how do I promote the workflow to Novu Production? I saw that it can be done during CI but I'm at a loss as to how. I've gathered that it requires a bridge endpoint--is that just to create the production workflow or is that still necessary w/ the way the trigger is setup?...
No description

How to know if a FCM Push Notification is aggregated or not?

Hi, I need to redirect the Users to the specific content of my push notification message. I'm already sending the payload data with some information, but logging all the Push notification message data there's no attribute informing if the notification was aggregated (digest) or not. I need this information to redirect the Users correctly. How do I know this in the message object of a Push notification?

Local setup : Error while installing dependencies

I was setting up novu locally, on executing npm run setup:project, I am getting below error.
nx run-many --target=prebuild --all
nx run-many --target=prebuild --all --verbose...

Send customized notifications when triggering events via topic.

We have a use case where we want to send customized notifications to subscribers of a topic. We have been sending some notifications to individual subscribers and adding some information related to the user in the payload.
``` body_params = { name: workflow_name,...

How to open the notification center popup programmatical with javascript?

The notification center has been included as a web component: ```js import { NotificationCenterWebComponent } from "@novu/notification-center"; customElements.define(...

Looking for a role to work as a Frontend Developer

❤️Dear YOU.❤️ My name is Vladislav Gostiuc and I'm a senior frontend engineer with 7 years of experience from UK. I have strong proved experience in building user-friendly and responsive websites and dynamic web applications. I'm looking for new opportunity. If you have one, please contact me....

Self hosted Novu with Firebase provider error

Hi Team, We are using Firebase provider for push notifications on self hosted novu, and in our production environment we see this error when we trigger notifications on novu activity: "Sending message failed due to "Operation is not implemented, or supported, or enabled. Raw server response: "{"error":{"code":501,"message":"Operation is not implemented, or supported, or enabled.","status":"UNIMPLEMENTED"}}""" ...