> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# n8n • AI Agents Framework

> n8n Integration for PraisonAI Workflows

# n8n

<Badge color="purple">AI Agents Framework</Badge>

n8n Integration for PraisonAI Workflows

This module provides bidirectional conversion between PraisonAI YAML workflows
and n8n JSON format for visual workflow editing.

Features:

* Convert PraisonAI YAML workflows to n8n JSON format
* Reverse conversion from n8n JSON back to YAML
* CLI commands for export, import, and preview
* n8n API integration for workflow management

Example:

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonai.n8n import YAMLToN8nConverter, preview_workflow

converter = YAMLToN8nConverter()
n8n_json = converter.convert(yaml_workflow)

# Preview in n8n UI
preview_workflow("my-workflow.yaml")
```

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonai import n8n
```
