Dragan
Dragan
NNovu
Created by Dragan on 7/31/2024 in #💬│support
Set workflow name
@Tomer Barnea @Pawan Jain I wanted a human readable name e.g. "Sample Workflow". The reason I needed this is because in the notification center in the settings where we can enable/disable certain notifications right now the identifier is displayed e.g. "sample-workflow". It would look better for the users if I was able to display a human readable name.
6 replies
NNovu
Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
any updates on this?
19 replies
NNovu
Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
<html> <head> <link rel="stylesheet" href="https://unpkg.com/primeflex@latest/primeflex.css"> <style> .logo { height: 100px; width: 200px; } </style> </head> <body> <div class="grid"> <div class="col-6 flex align-content-center flex-wrap"> <div class="text-left p-3 font-bold text-3xl"> Your updates </div> </div> <div class="col-6 flex justify-content-end flex-wrap"> <img class="p-3 logo" src="https://upload.wikimedia.org/wikipedia/commons/f/f3/Seal_of_Los_Angeles.svg"/> </div> </div>
<div class="pl-3 pb-3">Hello </div> <div class="pl-3">Information...</div>

<div class="grid"> <div class="col-12"> <div class="text-left pl-3 border-round-sm bg-primary font-bold"> City of LA </div> </div> </div> </body> </html>
19 replies
NNovu
Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
Here's what I have so far when loading a stylesheet in the head tag: For code first workflows (I send the entire html as the body): - In the preview in the dashboard I can see the styles applied - When I get the email the styles are missing For UI created workflows: - The styles are applied both in the preview and in the actual mail
19 replies
NNovu
Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
yes, I'm using @novu/framework. Ok, i'll try that out
19 replies
NNovu
Created by Dragan on 7/15/2024 in #💬│support
layoutIdentifier override not working
@Dima Grossman I am using NodeJs. So I can only send the body from the workflow. Am I able to have a <head> tag in any way? (I want to load something there)
19 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
No description
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
Hi @Dima Grossman , thanks for the clarification.
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
the dynamicTemplateData from the email step never seem to make it to sendgrid
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
when I get the mail only the variables from the overrides are populated
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
this is what is sent based on the activity feed: { "name": "some-workflow", "to": { "subscriberId": "2" }, "payload": { "name": "Name1", "updatedBy": "Dragan" }, "overrides": { "email": { "customData": { "templateId": "sendgrid-template-id", "dynamicTemplateData": { "name": "Name from trigger" } } } } }
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
but I don't seem to get the values in sendgrid
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
I this is my step definition
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
await step.email('send-email', async () => { return { subject: 'New email', body: '', customData: { templateId: 'sendgrid-template-id', dynamicTemplateData: { name: 'some data', updatedBy: 'John Wick', }, }, }; });
27 replies
NNovu
Created by Dragan on 7/12/2024 in #💬│support
Hello,
@Pawan Jain I am trying to use SendGrid dynamic template. I just can't get the data from the email step. The above solution did not work.
27 replies