You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when you try to override the email channel while triggering topics. The email text , sender name is not getting overridden. Instead it is still sending email using the template provided in the workflow
👟 Reproduction steps
Create a workflow with one more steps. Then create one step for email. (configure the email provider before this step).
Configure the email with default template and provide the necessary details.
Now create a topic and some users
Now trigger the workflow with the created topic and add override for email. You can add 'from' and 'text' parameter (we don't need 'to' parameter since we are triggering a topic).
👍 Expected behavior
The email must be delivered to the users who are in that topic with the overridden text data.
👎 Actual Behavior with Screenshots
The email is delivered to the users in that topic but the content is from the workflow template and is not overridden.
Here is the workflow template:
Here is the API trigger:
Here is the email I got:
Novu version
0.19.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
Hi @jainpawan21. It seems like this bug is not exactly a bug. To put it simply, the context of the issue i had was "not able to override the email content". My usecase is like this:
I have a workflow with one email channel step. I have a set of processes say 100 processes for which I need to send email to my clients. But ofcourse I cannot create 100s of workflow email templates. I would like to use one workflow and I will override the content based on the process. Am I missing something here ?.
I have gone through the code. The bug mentioned above is not a bug. Simple because the text override does not override the content for all email clients. There is supposed to be an override option for HTML. Because text content is only used for email clients that does not support html content.
I also would like to work on this html override feature or discuss about how to proceed and approach this. Please let me know I'm wrong or missing something here
📜 Description
There is an issue when you try to override the email channel while triggering topics. The email text , sender name is not getting overridden. Instead it is still sending email using the template provided in the workflow
👟 Reproduction steps
👍 Expected behavior
The email must be delivered to the users who are in that topic with the overridden text data.
👎 Actual Behavior with Screenshots
The email is delivered to the users in that topic but the content is from the workflow template and is not overridden.
Here is the workflow template:
Here is the API trigger:
Here is the email I got:
Novu version
0.19.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: