n8n-nodes-praisonai
v0.2.4
Published
n8n community node for PraisonAI - Run AI agents with PraisonAI
Maintainers
Readme
n8n-nodes-praisonai
This is an n8n community node for PraisonAI. It lets you run AI agents with PraisonAI directly from your n8n workflows.
n8n is a fair-code licensed workflow automation platform.
PraisonAI is an AI agents framework that simplifies building and running multi-agent systems.
Installation
Follow the installation guide in the n8n community nodes documentation.
Quick Install
- Go to Settings > Community Nodes
- Click Install a community node
- Enter
n8n-nodes-praisonai - Click Install
Prerequisites
Before using this node, you need to:
Install PraisonAI:
pip install praisonai praisonaiagentsCreate an agents.yaml file:
name: My Workflow agents: researcher: name: Researcher role: Research Specialist goal: Research topics thoroughly instructions: You are a research expert. llm: gpt-4o-miniStart the PraisonAI server:
praisonai serve agents.yaml --port 8005
Operations
Run Agent
Execute a specific agent with a query.
Run Workflow
Execute the entire workflow with all agents sequentially.
List Agents
Get a list of all available agents from the PraisonAI server.
Credentials
This node requires PraisonAI API credentials:
| Field | Description |
|-------|-------------|
| API URL | URL of your PraisonAI server (default: http://localhost:8005) |
| OpenAI API Key | Your OpenAI API key (optional if set on server) |
Usage
Basic Example
- Add a PraisonAI node to your workflow
- Configure credentials with your API URL
- Select operation: Run Agent or Run Workflow
- Enter your query
- Execute the workflow
Chaining Agents
Connect multiple PraisonAI nodes to create complex workflows:
[Trigger] → [PraisonAI: Researcher] → [PraisonAI: Writer] → [PraisonAI: Editor]Example Workflows
Ready-to-use workflow templates are available in the examples/ folder:
1. AI Research Workflow
Simple webhook-triggered research agent.
- File:
examples/ai-research-workflow.json - Use case: API endpoint for AI-powered research
2. Multi-Agent Content Pipeline
Chain multiple agents: Researcher → Writer → Editor
- File:
examples/multi-agent-content-pipeline.json - Use case: Automated content creation pipeline
3. Slack AI Assistant
Slack bot powered by PraisonAI agents.
- File:
examples/slack-ai-assistant.json - Use case: AI assistant in Slack channels
Import: Copy the JSON and paste into n8n (Ctrl+V on canvas)
Resources
Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Lint
npm run lint