Add/hydrate subscriber email in a custom step
This section of the docs mentions
I'd like to do this, specifically to pass only my subscriber id in the payload and get the email from my db in the workflow itself.
I'm not sure how to do so, anyone knows?
You can also pass only the subscriberId during a request, and hydrate the data directly from your database or other sources during the trigger execution. This is useful when you don’t want to store all the subscriber data in Novu.
I'd like to do this, specifically to pass only my subscriber id in the payload and get the email from my db in the workflow itself.
I'm not sure how to do so, anyone knows?