Markdown Node
This node allows for markdown messages to be sent by your flow:
The node takes either:
- A provided string
- A value from the
msg
object
Provided string
A markdown editor with a live preview is available when creating your own markdown message. See the example below.
Msg. markdown value
When using a variable from the msg
object, the value can be:
- A string, sending the string as a markdown message
- An array of strings, sending each string as a markdown message in order
Because the variable value is not defined outside of a running flow, there is no preview available when using msg
.
Supported Elements
- Headings
- Paragraphs
- Line Breaks
- Blockquotes
- Emphasis
- Lists
- Attachments
- Code
- Code Blocks
- Horizontal Rules
Unsupported Elements
Msg. example
The following example shows how to use the msg
object to send a markdown message.
In this example, msg.payload.context.enMarkdownWelcome
is used.
Provided string example
The following example shows a markdown message created using a provided string.
Last updated on