File size: 1,568 Bytes
7d7e62a
aa56604
 
de3e53c
 
7d7e62a
de3e53c
7d7e62a
de3e53c
aa56604
7d7e62a
 
de3e53c
aa56604
de3e53c
aa56604
de3e53c
aa56604
de3e53c
 
 
 
aa56604
de3e53c
aa56604
de3e53c
 
 
aa56604
de3e53c
aa56604
de3e53c
 
 
 
aa56604
de3e53c
aa56604
 
de3e53c
 
 
aa56604
de3e53c
aa56604
de3e53c
 
aa56604
 
 
 
 
de3e53c
aa56604
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: n8n Workflow Generator
emoji: πŸš€
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: true
license: apache-2.0
---

# πŸš€ n8n Workflow Generator

Generate n8n workflows using natural language! Powered by fine-tuned **Qwen2.5-Coder-1.5B**.

## 🎯 Features

- **Natural Language Input**: Describe your workflow in plain English
- **Instant Generation**: Get TypeScript DSL code in seconds
- **n8n JSON Export**: Ready to import into your n8n instance
- **Visual Preview**: See your workflow structure before using it

## πŸ“Š Performance

- **Overall Accuracy:** 91.8%
- **Test Cases:** 24 comprehensive workflow patterns
- **Grade A:** 83% of test cases

## πŸš€ How to Use

1. Enter your workflow description (e.g., "Create a webhook that sends data to Slack")
2. Click "Generate Workflow"
3. Copy the generated code or n8n JSON
4. Import into your n8n instance

## πŸŽ“ Example Prompts

- "Create a webhook that sends data to Slack"
- "Build a workflow that fetches GitHub issues and sends daily summary email"
- "Webhook receives order, if amount > $1000 send to priority queue"
- "Schedule that runs every Monday, fetches API data, updates Google Sheets"

## πŸ”— Links

- [Model Card](https://huggingface.co/Nishan30/n8n-workflow-generator)
- [GitHub Repository](https://github.com/Nishan30)

## πŸ™ Acknowledgments

Built with:
- [Qwen2.5-Coder](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct)
- [Gradio](https://gradio.app/)
- [Hugging Face Transformers](https://github.com/huggingface/transformers)