Using Subscriber in Topic trigger
Hi,
When triggering a topic, is it possible to access the subscriberId and firstname?
Trying to send an e-mail every week to all subscribers using a topic but want to include the firstName in the e-mail.
6 Replies
@christian
Yes subscriberId and firstname can be used when triggering to a topic. Internally novu fanout the trigger request to subscribers of topic.
Are you using
@novu/framework
based workfllows?yes this is my workflow
Are you facing any issue with above code? it should work
yes userid and firstname is empty, I will try to debug it to see if there's anything in the subscriber object
I think it's working and the problem was on my side 🙂
btw:
get subscriber api
should be boolean
Let me check this one
NV-4951 - includeTopics query param should be of type boolean in get subscriber api
Status
Triage
Workflows