Discord Templates

Is it possible to pass in elements like lists and line breaks in the discord template editor for a discord message? I read the docs but it does not seem to be possible.
6 Replies
Ask Inkeep
Ask Inkeep8mo ago
Hi @Lev Lazinskiy, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * How to use Novu to send notifications to a channel in a Discord server * Discord * Mailersend * SendGrid ----------------------------- Answer Sorry, I wasn't able to find any information about your question. Got it. Tagging @Support for additional help.
Pawan Jain
Pawan Jain8mo ago
@Lev Lazinskiy use triple curly braces variable in chat step editor as shown below
No description
Pawan Jain
Pawan Jain8mo ago
then send value of this variable in markdown format
{
"discordMessageContent": "> # The quarterly results look great! \n > \n > - Revenue was off the chart. \n > - Profits were higher than ever. \n > \n > *Everything* is going according to **plan**."
}
{
"discordMessageContent": "> # The quarterly results look great! \n > \n > - Revenue was off the chart. \n > - Profits were higher than ever. \n > \n > *Everything* is going according to **plan**."
}
I am using \n as a new line separator
Pawan Jain
Pawan Jain8mo ago
this will looks like this
No description
Pawan Jain
Pawan Jain8mo ago
Let me know if you face any issue
Lev Lazinskiy
Lev LazinskiyOP8mo ago
Thanks so much @Pawan Jain this is amazing
Want results from more Discord servers?
Add your server