n8n-nodes-markdown-slack-blocks
v0.1.0
Published
A custom N8N node to converts Markdown to Slack BlockKit Blocks.
Maintainers
Readme
Markdown to Slack Block Kit Node
This repository contains a custom N8N node that converts Markdown text into Slack Block Kit format using the @tryfabric/mack library.
Features
- Markdown to Slack Block Kit Conversion: Transform Markdown text into Slack Block Kit blocks for seamless integration with Slack messages.
- Error Handling: Option to continue execution even if the conversion fails.
Installation
To install this node, add it to your N8N instance:
pnpm install n8n-nodes-markdown-slack-blocksUsage
- Add the Markdown to Slack Block Kit node to your N8N workflow.
- Provide the Markdown text you want to convert.
- Configure the
Continue on Failoption if needed.
Example
Input Markdown:
# Hello World
This is a sample message.Output Slack Block Kit:
[
{
"type": "header",
"text": {
"type": "plain_text",
"text": "Hello World"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "This is a sample message."
}
}
]Acknowledgments
This node use the @tryfabric/mack library for Markdown parsing and Slack Block Kit generation.
License
This project is licensed under the MIT License.
