n8n-nodes-coze
v0.1.0
Published
n8n node for Coze(扣子), supporting AI chat, workflow automation, file processing, and text-to-speech.
Downloads
25
Maintainers
Readme
n8n-nodes-coze
This is an unofficial node for n8n to interact with the Coze platform. It allows you to seamlessly leverage Coze's powerful AI features within your n8n workflows, including intelligent chat, workflow automation, file processing, and text-to-speech.
中文版本: README_CN.md
Key Features
This node aims to cover the full range of Coze API's core functionalities, providing you with powerful automation capabilities:
🤖 Chat
- Engage in interactive conversations with any Coze Bot you've created.
- Supports streaming responses for real-time data handling.
- Supports Tool Calls, enabling n8n workflows to execute actions based on AI instructions and return the results to the AI for complex business logic.
- Manage conversation history and pass custom variables.
Workflow
- Trigger and run workflows you have published on the Coze platform.
- Supports both synchronous and asynchronous execution modes.
- Pass input parameters to workflows and retrieve the execution results.
📁 File Handling
- Upload files to Coze for your Bots to use in conversations (e.g., knowledge base files, documents for analysis).
🗣️ Audio Synthesis
- Implement Text-to-Speech (TTS) functionality to convert specified text into high-quality audio files.
🏢 Workspace Management
- Dynamically fetch your workspaces and bots list within n8n for easy reference in different nodes.
🔐 Dual Authentication Methods
- Personal Access Token: Simple and quick, ideal for personal projects and rapid testing.
- OAuth2: Standard and secure, suitable for team and enterprise-level applications.
Installation
- Go to your n8n instance.
- Navigate to Settings > Community Nodes.
- Click Install.
- Search for
n8n-nodes-coze. - Click the install button to complete the installation.
Development Guide
If you wish to contribute to this project or test it in your local environment:
Clone the repository:
git clone https://github.com/LegendLeo/n8n-nodes-coze.git cd n8n-nodes-cozeInstall dependencies:
npm installBuild the code:
npm run buildLink to your n8n environment: In your n8n installation directory (usually
~/.n8n/), run the link command:npm link /path/to/your/n8n-nodes-cozeThis will create a symbolic link in your n8n to your local development code.
Start n8n: During development, you can use
npm run devto start a watcher that will automatically recompile the code upon changes.
License
This project is licensed under the MIT License.
