n8n is a powerful workflow automation platform that connects systems and automates tasks through a visual, node-based interface. It enables users to create complex automation workflows that integrate hundreds of different services and tools, including AI capabilities.
Visual Workflow Editor: Create automation workflows using a drag-and-drop interface with visual connections between nodes, making complex integrations accessible without coding
500+ Integrations: Connect to hundreds of popular services including databases, APIs, cloud platforms, and productivity tools through pre-built nodes
Conditional Logic: Build sophisticated workflows with IF/ELSE conditions, switches, and loops to handle complex business logic and decision-making
Webhook Support: Trigger workflows instantly through webhooks and HTTP requests, enabling real-time automation and seamless integration with external systems
The TrueFoundry Chat Node is a dedicated community node that provides enhanced features for enterprise-grade monitoring and tracking:Automatic Metadata Tracking:
userId: Automatically tracks the user executing the workflow
workflowId: Unique identifier for each workflow
workflowName: Name of the workflow for easy identification
executionId: Unique identifier for each workflow execution
execution mode: Tracks whether the workflow is in production or test mode
projectId: Associates workflows with specific projects
environment: Tracks the deployment environment (dev, staging, prod)
instanceId: Identifies the n8n instance
application name: Tags requests with application/feature names
Enhanced Features:
Detailed Monitoring: Comprehensive observability with automatic metadata enrichment
Cost Attribution: Track costs by workflow, team, department, or application
Custom Attributes: Configure additional metadata like cost centers, departments, and fallback emails
Better Analytics: Enhanced reporting and analytics with rich metadata context
Audit Trail: Complete tracking of all workflow executions with full context
Installation Required: Follow Step 1 below to install the n8n-nodes-truefoundry community node.
The OpenAI Chat Node provides integration with TrueFoundry AI Gateway but with limited features:Limitations:
No automatic metadata tracking
No workflow-level attribution
Limited monitoring capabilities
Use Case: Suitable for simple workflows that don’t require detailed monitoring or cost attribution.No Installation Required: You can skip Step 1 and use the built-in OpenAI node with TrueFoundry credentials.
In the workflow editor, add nodes to create your automation. Start with a trigger and add an LLM chain node:
Configure your chat model node:
Select your TrueFoundry credentials from the dropdown
Choose your model from the dropdown list - all available models from your TrueFoundry account will be automatically listed here
If you are using the TrueFoundry Chat Node, you can configure custom attribution settings from the provided dropdown:
Application/Feature Name: Tag requests with your application or feature name
Environment: Set the deployment environment (dev, staging, prod)
Cost Center: Associate costs with specific cost centers
Department/Team: Track usage by department or team
Fallback User Email: Set a fallback email for notifications
Automatic Metadata: The node automatically captures workflowId, executionId, workflowName, and other metadata for enhanced tracking
Note: With the /models endpoint support, you no longer need to manually enter model IDs. All models configured in your TrueFoundry account will be automatically available in the dropdown.