This is an n8n community node that integrates Truefoundry's LLM chat capabilities with n8n workflows. It provides a LangChain-compatible chat node with built-in metadata tracking for attribution, cost tracking, and monitoring.
n8n is a fair-code licensed workflow automation platform.
Install the package from npm:
npm install n8n-nodes-truefoundryOr follow the installation guide in the n8n community nodes documentation.
NPM Package: n8n-nodes-truefoundry
- Chat with LLM: Interact with OpenAI-compatible language models through Truefoundry
- Metadata Tracking: Automatically tracks workflow execution metadata for attribution and cost monitoring
- LangChain Integration: Compatible with LangChain's ChatOpenAI interface
This node requires Truefoundry API credentials. For detailed setup instructions, see the Truefoundry n8n Integration Guide.
Quick setup:
- Sign up for a Truefoundry account
- Obtain your API key and base URL from the Truefoundry dashboard
- Configure the credentials in n8n:
- Go to Credentials → Add Credential
- Select "Truefoundry API"
- Enter your API key and base URL
- Automatic Metadata Injection: Tracks user ID, workflow ID, execution ID, and more
- Cost Attribution: Supports cost center and department tracking
- Environment Management: Configure different environments (production, staging, etc.)
- Fallback User Email: Set fallback user identification when n8n context is unavailable
- Minimum n8n version: 1.0.0
- Node.js version: 18.x or higher
- Tested with: n8n 1.0+
- Add the "Truefoundry Chat" node to your workflow
- Configure your Truefoundry API credentials
- Select your model from the available options
- Set up your chat prompt and parameters
- Configure attribution settings (optional):
- Application name
- Cost center
- Department
- Environment
- Fallback user email
The node automatically injects metadata headers for tracking and monitoring purposes.
- n8n community nodes documentation
- Truefoundry n8n Integration Guide - Complete setup and configuration guide
- Truefoundry Documentation
- NPM Package
- GitHub Repository
- Initial release
- LangChain ChatOpenAI integration
- Automatic metadata tracking
- Cost attribution support
- Environment configuration