N
Novu•2w ago
FeroDev

Custom HTML support in new Editor

What is the estimated timeline for supporting the ability to send custom HTML string as part of the payload for rending custom Emails?
7 Replies
Pawan Jain
Pawan Jain•2w ago
Hey 👋

Unfortunately, I don't have a clear timeline to share. I can add you to the waitlist. Could you please share your email?
FeroDev
FeroDevOP•2w ago
Sure, here is my email: [email protected] . Just wanted to confirm it is a feature you planning to support in near future. Also, I wanted to ask Is there is any workaround to send a custom html? We wanted to integrate with Nova for user preferences management but wanted to also keep our email template rendering in house as migrating all of our emails will be too time consuming for us.
Pawan Jain
Pawan Jain•2w ago
@FeroDev
Pawan Jain
Pawan Jain•2w ago
If you want to send premade templates and don't want to inject payload variables sent during workflow trigger then, you can use email overrides for that https://docs.novu.co/integrations/providers/email/overview#sending-email-overrides
import { Novu } from '@novu/node';

const novu = new Novu('<NOVU_SECRET_KEY>');

novu.trigger('<WORKFLOW_TRIGGER_IDENTIFIER>', {
to: {
subscriberId: '<SUBSCRIBER_ID>',
},
overrides: {
email: {
"html": "<h1>custom email template</h1>"
},
},
});
import { Novu } from '@novu/node';

const novu = new Novu('<NOVU_SECRET_KEY>');

novu.trigger('<WORKFLOW_TRIGGER_IDENTIFIER>', {
to: {
subscriberId: '<SUBSCRIBER_ID>',
},
overrides: {
email: {
"html": "<h1>custom email template</h1>"
},
},
});
Novu
Email Providers Integration - Novu
Learn how to configure the Email channel
Pawan Jain
Pawan Jain•2w ago
Let me know if this works for your usecase
FeroDev
FeroDevOP•2w ago
Thank you Pawan, will have a try tomorrow.
Tomer Barnea
Tomer Barnea•2w ago
Just to follow up here, the team will add a new custom HTML block to the new editor on the upcoming weeks, if I remember correctly work is starting next week as part of of multiple new email blocks

Did you find this page helpful?