n8n Integration
Lucid provides n8n community nodes for visual workflow automation. Connect AI inference, passport management, and receipt verification into your n8n workflows.Available Nodes
| Node | Description |
|---|---|
| Lucid Inference | Run chat completions via TrustGate |
| Lucid Passport | Create, read, update, delete passports |
| Lucid Receipt | Get and verify inference receipts |
| Lucid Epoch | Query epoch status and on-chain anchoring |
| Lucid Agent | Trigger agent orchestration pipelines |
Setup
1. Install the Community Node
In your n8n instance, go to Settings → Community Nodes and install:2. Configure Credentials
- Go to Credentials → Add Credential → Lucid API
- Enter your API key from the Dashboard
- Set the base URL (default:
https://api.lucid.foundation)
3. Use in Workflows
Drag any Lucid node from the sidebar into your workflow canvas.Example: Verified AI Chatbot
- Receives a webhook with a user question
- Runs inference through Lucid (with receipt)
- Verifies the receipt signature
- If valid, posts the verified answer to Slack
Example: Model Monitoring
- Runs hourly via cron trigger
- Lists all active passports
- Sends a test inference to each model
- Alerts if any model’s latency exceeds the threshold
Node Configuration
Each Lucid node exposes these common fields:| Field | Description |
|---|---|
| Operation | The specific action (e.g., create, list, verify) |
| Passport ID | Target passport for the operation |
| Parameters | Operation-specific parameters (JSON or individual fields) |
{{ $json.receipt.id }}..png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)