sandsower
sandsower
NNovu
Created by sandsower on 5/2/2024 in #💬│support
Consuming digest in headless lib
I don't know if anything changed but way we're doing it is by passing it as part of the message along with other information and then leave it to the frontend to create a custom message based on this info. It's cumbersome and not ideal but it's working for us
16 replies
NNovu
Created by sandsower on 3/7/2025 in #💬│support
Subscriber channels not getting updated
Yes, it's all working fine now, thanks 🙂 the only suggestion I have is to allow for channels to be updated in bulk for subscribers in v2, right now we have to stick to v1 as we need that functionality
11 replies
NNovu
Created by sandsower on 3/7/2025 in #💬│support
Subscriber channels not getting updated
Ah, it appears we were using v1 all along so I guess my question would be, is that endpoint doing an upsert of the whole entity that is sent over?
11 replies
NNovu
Created by sandsower on 3/7/2025 in #💬│support
Subscriber channels not getting updated
@Pawan Jain i was using this one essentially but sending channels as one of the fields in the body json https://docs.novu.co/api-reference/subscribers/subscribers-controller_create-subscriber
11 replies
NNovu
Created by sandsower on 3/7/2025 in #💬│support
Subscriber channels not getting updated
Actually looking through the documentation I found what I was looking for which is to update credentials as stated here https://docs.novu.co/api-reference/subscribers/subscribers-v1-controller_update-subscriber-channel, just the information wasn't clear as we always referred to them as channels, not credentials. I have a different related question though, I can see that the function then only accepts a single channel but I wanted to send in multiple channels, is there a way to do that?
11 replies
NNovu
Created by sandsower on 3/7/2025 in #💬│support
Subscriber channels not getting updated
I see that in the API refence there is a PATCH request to update the user which we are not currently using so that could be the issue, was the POST request an upsert operation in the past? However I cannot see Channels in the accepted body requests in either operation whereas it used to be there in a previous version, is that no longer a valid way to update Channels?
11 replies
NNovu
Created by sandsower on 2/19/2025 in #💬│support
Bridge URL on framework deployment
Are there plans to provide this in the future? We'd like to move to code if possible but our backend is not written in typescript (it's in go) so a bridge application within our backend monorepo would be a no-go
8 replies
NNovu
Created by sandsower on 2/19/2025 in #💬│support
Bridge URL on framework deployment
Is there a way to have those be in code or is no-code the only way to do it without a bridge application? I seem to recall an option to export/import as json a while back
8 replies
NNovu
Created by sandsower on 2/11/2025 in #💬│support
Workflow-as-code creation on non-js projects
ah, I guess what I was looking for more specifically was support for workflow-as-code creation on the go sdk https://github.com/novuhq/novu-go or some specs on how to implement that if they are available, couldn't find anything of the sort or if there are plans to implement it in the future
5 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
my understanding is that it should return both, right? since you can only assign each workflow to a specific feed, so no way to send a single workflow to both feeds
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
and the feed office has more than 10 elements, none are returned either
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
no messages there though, just the feed
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
yes
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
I get a 204: No Content
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
if I assign just the feedId or "all" instead of an array I do get the messages
13 replies
NNovu
Created by sandsower on 12/2/2024 in #💬│support
Multiple feed identifiers subscription
unsubscribe = headlessService.fetchNotifications({
listener: (l) => {
// Handle the listener here if needed
setLoading(l.isLoading);
},
onSuccess: (response) => {
// Handle the fetched notifications here.
setLoading(false);
setNotifications((prev) => ({
...prev,
[response.page]: response.data,
}));
setHasMore(response.hasMore); // Set hasMore state to indicate if there are more notifications to fetch
setPageNum(response.page); // Set the page number to the current page
setUnseen(response.data.filter((x) => !x.seen).length); // Set the unseen count
},
onError: (error) => {
console.error("Error fetching notifications:", error);
// Implement error handling if needed
unsubscribe && unsubscribe();
},
page: pageNum, // page number to be fetched
query: {
feedIdentifier: [feedId, "all"], // <------------ This is where the issue is
},
});
unsubscribe = headlessService.fetchNotifications({
listener: (l) => {
// Handle the listener here if needed
setLoading(l.isLoading);
},
onSuccess: (response) => {
// Handle the fetched notifications here.
setLoading(false);
setNotifications((prev) => ({
...prev,
[response.page]: response.data,
}));
setHasMore(response.hasMore); // Set hasMore state to indicate if there are more notifications to fetch
setPageNum(response.page); // Set the page number to the current page
setUnseen(response.data.filter((x) => !x.seen).length); // Set the unseen count
},
onError: (error) => {
console.error("Error fetching notifications:", error);
// Implement error handling if needed
unsubscribe && unsubscribe();
},
page: pageNum, // page number to be fetched
query: {
feedIdentifier: [feedId, "all"], // <------------ This is where the issue is
},
});
13 replies
NNovu
Created by sandsower on 5/2/2024 in #💬│support
Consuming digest in headless lib
I'm looking for a way to get the size of the digest in the payload, if there is any. Getting all digested event payloads could also work as I could just get the length
16 replies
NNovu
Created by sandsower on 5/2/2024 in #💬│support
Consuming digest in headless lib
Yeah I saw that reference but I couldn't find a way to consume the digest size, I need it in our app
16 replies
NNovu
Created by sandsower on 5/2/2024 in #💬│support
Handlebars not working on redirecturl field
The cta url depends on if there is a digest or not
8 replies