This CLI tool streamlines the conversion of n8n workflow JSON into skills compatible with OpenClaw. It leverages language model (LLM) technology for efficient transpilation, providing a command-line interface alongside an optional web UI. Perfect for developers looking to enhance their workflow integration.
n8n-to-claw is a robust Command Line Interface (CLI) tool designed to streamline the process of converting n8n workflow JSON into OpenClaw-compatible skills. Transform n8n workflows into functional OpenClaw skills effortlessly through the command line or via an optional web UI.
To convert a local workflow JSON file, use:
n8n-to-claw convert workflow.json
For workflows from the n8n REST API, the command is:
n8n-to-claw convert \
--n8n-url https://my-n8n.example.com \
--api-key <n8n-api-key> \
--workflow-id <workflow-id>
--dry-run) or inspecting the generated code without executing LLM calls (--inspect).The tool boasts mapping for 479 different node types, ensuring wide compatibility with various integrations and workflows. Users can easily check node coverage and example outputs, showcasing how different workflows translate into skills.
The repository provides detailed instructions for installation and utilization, alongside thorough documentation to assist in understanding its architecture and operational nuances.
For further exploration, examples and the complete documentation are available in the examples/ directory and the dedicated docs folder, respectively.
This tool effectively bridges the functionality of n8n workflows with OpenClaw capabilities, providing developers with an efficient pathway to enhance automation processes.
No comments yet.
Sign in to be the first to comment.