n8n-nodes-cloudflare-ai
v0.1.0
Published
Cloudflare Workers AI nodes for n8n, starting with a Cloudflare Chat Model.
Maintainers
Readme
n8n-nodes-cloudflare-ai
Cloudflare Workers AI nodes for n8n, starting with a Cloudflare Chat Model that can be connected directly to the AI Agent node.
MVP
Cloudflare Chat Model- Dedicated credential type:
Cloudflare Workers AI API - Dynamic model picker powered by Cloudflare model search
- Streaming support
- Tool calling support
- Structured output support
- Automatic retries
- Automatic fallback across models
Credential fields
- Account ID
- API Token
Chat model fields
- Model
- Model Source
- Custom Model ID
- Temperature
- Top P
- Max Tokens
- Frequency Penalty
- Presence Penalty
- System Prompt
- Max Retries
- Auto Fallback
- Fallback Models
- Automatically show free models only
Endpoint
Requests are sent to:
POST https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/v1/chat/completions
Build
npm install
npm run buildInstallation guide
See the step-by-step guide in docs/INSTALLATION.md.
Notes
- The model node is implemented as a LangChain chat model so it can be used in AI Agent.
- The model picker uses Cloudflare's model search endpoint and can be extended later to support more Workers AI features.
Structured Outputworks through LangChain tool binding, so it stays compatible with AI Agent workflows.
