In-app notification
In some workflow send and some workflow only display step created like the mentioned screenshot, so what is the issue how to debug that issue ?
Solution:Jump to solution
I used this notification in rontend react https://web.novu.co/integrations/66438cbc197e97811b78d554
It doesn’t always show the learner that there is a new notification. Only on refresh....
Novu Cloud Dashboard
Novu Cloud Dashboard
41 Replies
@Support Any update on this ?
@Chirag parmar
Is this workflow a V2 workflow or you created this workflow using UI (drag and drop)
Not sure our owner created the workflow
So we have to update the workflow or need to do any settings for that ?
all your in-app notifications are stuck like this or this is happening with this particular workflow?
No, in some workflow sending and some workflow not sending
See example here even send from novu it's not works https://www.loom.com/share/cf1f61836ea743edbb4ab5839160e11b?sid=4a10b0e4-8c90-4137-95ef-c2492258320f
Can you please share the transactionId for these triggers from activity feed where in-app is stuck at step created?
Sure this is trasaction id :
9945c702-1169-4c04-a5f2-a4191b605c20
always not sending in app notification for this workflow@Chirag parmar
Are you using webhook condition on this in-app step?
I see that webhook url is not sending response or unreachable
@Pawan Jain Not sure, in which place we have to set the webhook URL
We have to set URL here ?
@Pawan Jain Thank you I will review it and let you know if any question
@Chirag parmar
Checking on this if you get chance to look into this? Can I help?
@Pawan Jain I'm used to using webhooks follow this document but in https://v0.x-docs.novu.co/workflows/step-filters#securing-your-webhooks not provided which type of response do we have to send ??
can you please explain to me which type of response I need to send in the webhook response?
@Chirag parmar
Response can be in JSON format and key value pairs can be used in conditions
Also can we send nested level object in webhook responce and how to set condition for that ?
Can you share the example response
you can access nested keys using dot .
Also response will send as paylaod ?
key1.key2.key3.
POST request to webhook will have these details in body
Or just pass like this
Like I added condition
if test equal "dev" then send email so for that I will pass the response as below it is okay ?
{
"test" : "dev"
}
Yes it should work
Thank you so much
make sure response is exact in this format
Yes, Got it
@Chirag parmar
Did you get chance to test it?
Yes, works fine one last question
Once we send the email can we check the webhook API response in any place or activity log?
Currently No
Would you like to share the usecase?
Not any use case but my client want this
Ohh Okay
I will share the feedback with the team. Let me know if I can help with anything else 🙂
Hello @Pawan Jain
@Chirag parmar, you just advanced to level 5!
Solution
I used this notification in rontend react https://web.novu.co/integrations/66438cbc197e97811b78d554
It doesn’t always show the learner that there is a new notification. Only on refresh.
Novu Cloud Dashboard
Novu Cloud Dashboard
So it's default behaviour or we have to do any settings for that ?
@Chirag parmar
I see, it is an in-app integration
Each new notification will trigger this event. Do you see any error in console or network tab?
NO, but we need to refresh the page sometimes
@Chirag parmar
It will be helpful if you can share some screen recording of the issue. We will be able to debug the issue
@Pawan Jain I want to implement this https://docs.novu.co/recipes/workflows/multi-workflow-digest
It will work with node js or react js ?
I implement in react js but not sure how to call function
Also we need to send any API key for that ?
I have implemented as given in the document and the code as given in github but in github there is only function created but there is no mention in the document how to use that function so can you help me how to call the function will happen
@Pawan Jain Any update on above
@Chirag parmar
It will work with node js or react js ?It will need server side environment. it will work with nodejs + express. You can use nextjs / remixjs in place of react
I implement in react js but not sure how to call functionAs I mentioned, you will not be able to use this in react I will recommend you to follow this quick start guide to learn how to work with novu v2 workflows https://docs.novu.co/quickstart/nextjs
@Pawan Jain thank you, I will follow new doc and let you know if need any help