N
Novu11mo ago
dmgarland

Magic links on topic-based e-mail notifications

Self-hosted user here. I've hit on a problem that I don't know how to solve. We have setup topics and have workflows attached to them with an e-mail step. We'd like to have links from the e-mail to contain magic links so that users receiving the email notifications can click through to the site. With individual notifications, we achieved this by passing a magic link the payload at the point of triggering the workflow, so the links could be embedded in the e-mail. But with topics, it's creating new messages for each subscriber. So we can't use the same approach. Has anyone else encountered this problem? Is there an approach with Novu? Or will I need to implement it outside? I imagine it's a similar situation with push although I've not tested this yet.
5 Replies
dmgarland
dmgarlandOP11mo ago
Bump @Support @engineering
Pawan Jain
Pawan Jain11mo ago
@dmgarland could you please explain this a bit more ? >> But with topics, it's creating new messages for each subscriber. So we can't use the same approach. is that magic link different for all subscribers?
dmgarland
dmgarlandOP11mo ago
Yes so I'm triggering the topic with a payload, but I don't know how to pass each subscriber to that topic a different link so they can one click login. It works with sending one email direct to a recipient, because I know who they are and can create a magic link. But for topics Novu is generating the messages presumably with the same payload to each?
Novu_Bot
Novu_Bot11mo ago
@dmgarland, you just advanced to level 5!
Pawan Jain
Pawan Jain11mo ago
@dmgarland Yeah you are correct. Novu sends same payload value to each subscriber in topic
Want results from more Discord servers?
Add your server