Rishabh-PriceLabs
Rishabh-PriceLabs
NNovu
Created by Rishabh-PriceLabs on 9/11/2024 in #💬│support
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,
to: { subscriberId: user_id},
payload: payload
}
body_params = {
name: workflow_name,
to: { subscriberId: user_id},
payload: payload
}
We want to add a new type of event where we add multiple subscribers to a topic and then trigger the event.
body_params = {
name: workflow_name,
to: [{ type: 'Topic', topicKey: topic_key}],
payload: payload
}
body_params = {
name: workflow_name,
to: [{ type: 'Topic', topicKey: topic_key}],
payload: payload
}
However, we are losing the ability to send the data related to every unique user. I am not able to find anything related to this in the docs.
8 replies
NNovu
Created by Rishabh-PriceLabs on 8/7/2024 in #💬│support
How much time to wait to trigger notification after promoting workflow
Notifications were working fine on dev env. I promoted the workflow to test on production env. but I am getting: workflow_not_found response. Response: {"message":"workflow_not_found","error":"Unprocessable Entity","statusCode":422}
18 replies
NNovu
Created by Rishabh-PriceLabs on 6/24/2024 in #💬│support
Accessing events for actionMenu
Team: I want to add event listeners to the actionMenu buttons. When I click on the Remove message / Mark as read buttons, it closes the notification overlay. I am using some other event handlers like onNotificationClick. Using the stopPropogation method would be helpful here. Is there any event handler for these actionMenu dropdown buttons? Ref: https://vimeo.com/manage/videos/966276945/b2e1dfc183?extension_recording=true
37 replies