Gaia
Gaia
NNovu
Created by Gaia on 1/31/2025 in #💬│support
Remove Novu Branding
I know that is possible to remove the Novu branding ("powered by Novu") from Inbox and Preferences component in paid plan, but I can't find the option to remove it on the new dashboard. Thanks a lot!
2 replies
NNovu
Created by Gaia on 1/23/2025 in #💬│support
Novu Cloud i18n
Hi! I'm trying to implement translations in my Novu code. I'm using Novu Cloud in a NestJS project where I write all my workflows and then use the sync command to sync to the cloud dev env. I tried to follow the docs as per using i18n but when I then try to sync I get an error like this:
data: {
error: 'Bad Request',
statusCode: 400,
timestamp: '2025-01-23T08:40:45.670Z',
path: '/v1/bridge/sync?source=cli',
message: 'Unknown bridge request error calling `myUrl`',
ctx: { error: 'Bad Request', statusCode: 400 }
}
data: {
error: 'Bad Request',
statusCode: 400,
timestamp: '2025-01-23T08:40:45.670Z',
path: '/v1/bridge/sync?source=cli',
message: 'Unknown bridge request error calling `myUrl`',
ctx: { error: 'Bad Request', statusCode: 400 }
}
I followed this guide in the docs: https://docs.novu.co/recipes/workflows/translations#translations Can you help me make it work, please? Is there maybe a specific different way to implement translations when using NestJS? Thanks!
9 replies
NNovu
Created by Gaia on 11/12/2024 in #💬│support
Hide workflows for specific users in Preferences component
Hello! Is there any way to hide a workflow for specific users? Let's say I have two workflows "workflow A" and "workflow B" and a user with a specific property (in this case the subscription plan on our project) should be able to see only workflow A or workflow B in the Preferences component based on the subscription plan he has. We also check for the subscription plan in the execution of the flow, so I could hide the workflow just VISUALLY and that would be fine. Thanks a lot! G.
16 replies
NNovu
Created by Gaia on 11/11/2024 in #💬│support
FCM webPush overrides not working
Hi! I'm using novu/node v2.0.1 on my NestJS project and I'm trying to set overrides for webPush, but the typing seems wrong. The docs suggest this:
overrides: {
fcm: {
webPush: {
fcmOptions: {
link: "/foo",
},
},
},
},
overrides: {
fcm: {
webPush: {
fcmOptions: {
link: "/foo",
},
},
},
},
But the novu/node package says that there is no property webPush in the type:
export type ITriggerOverrideFCM = {
type?: 'notification' | 'data';
tag?: string;
body?: string;
icon?: string;
badge?: string;
color?: string;
sound?: string;
title?: string;
bodyLocKey?: string;
bodyLocArgs?: string;
clickAction?: string;
titleLocKey?: string;
titleLocArgs?: string;
data?: Record<string, unknown>;
};
export type ITriggerOverrideFCM = {
type?: 'notification' | 'data';
tag?: string;
body?: string;
icon?: string;
badge?: string;
color?: string;
sound?: string;
title?: string;
bodyLocKey?: string;
bodyLocArgs?: string;
clickAction?: string;
titleLocKey?: string;
titleLocArgs?: string;
data?: Record<string, unknown>;
};
How can I make it work? I need to pass an override for the push notification icon and also for the redirect link. (PS: For the push icon I also tried badge and icon properties as per ITriggerOverrideFCM type but it didn't work) Best Regards, Gaia
3 replies