What is a Template in Subscriber preference and where can I get the template ID
I am using Self hosted version of Novu with .net
I am trying to set Notification preferences for a subscriber but I am not sure what is a template and where can I find the templateId?
I see a MessageTemplate table and id in MongoDb but not sure how is it related to the preference?
1 Reply
Hi Saruchi 👋🏻
TemplateId is workflowId
We changed the terminology from template to workflow recently.
Simple way to get templateId (workflowId) is using this API
https://docs.novu.co/api-reference/workflows/get-workflows
Rest depends on your implementation and usecases