The ultimate n8n integration for Latitude.so โ the AI prompt management platform. Execute prompts, continue conversations, and log everything with zero JSON wrestling.
โก Get Started โข โจ Key Features โข ๐ฎ Operations โข โ๏ธ Configuration โข ๐ Why This Slaps
n8n-nodes-latitude is the prompt manager your n8n workflows wish they had. Stop embedding AI prompts directly in your automation and praying they still work next week. This node connects directly to Latitude.so, letting you manage prompts centrally, hot-reload changes, and execute with auto-detected parameters โ all without touching your workflow.
|
Dynamic Parameters Auto-detects {{ variables }} |
Conversation Memory Continue multi-turn chats |
AI Agent Ready Use as tool in AI workflows |
Full Observability Logs, costs, token tracking |
How it slaps:
- You: Drag Latitude node into n8n workflow
- Node: Fetches prompts, shows parameters, handles auth
- You: Map your data โ Execute
- Latitude: Returns response with usage stats, costs, and conversation UUID
- Result: Ship production AI features. Zero prompt maintenance headaches.
Embedding prompts in workflows is a vibe-killer. n8n-nodes-latitude makes hardcoding look ancient.
| โ The Old Way (Pain) | โ The Latitude Way (Glory) |
|
|
We're not just calling an API. We're giving you centralized prompt management with dynamic parameter extraction, conversation continuity, and automatic SDK integration that handles all the complexity.
The fastest way to get started. No terminal required.
- Go to Settings โ Community Nodes
- Click Install
- Enter
n8n-nodes-latitude - Confirm installation
That's it. The node appears in your node palette.
For self-hosted n8n or custom setups:
# Navigate to your n8n installation
cd ~/.n8n/nodes
# Install the package
npm install n8n-nodes-latitude
# Restart n8nโจ Zero Config: After installation, add your Latitude credentials and start building. The node handles SDK initialization, auth, and API versioning automatically.
| Feature | What It Does | Why You Care |
|---|---|---|
| ๐ฏ Auto Parameter Detection No JSON wrestling |
Extracts {{ variables }} from prompt content automatically |
Select prompt โ Parameters appear. Done. |
| ๐ฌ Conversation Continuity Multi-turn chats |
Continue conversations using UUID from previous runs | Build chatbots and agents with memory |
๐ค AI Agent SupportusableAsTool: true |
Works as a tool in n8n AI workflows | Plug into AI Agent node directly |
| ๐ Token & Cost Tracking Full observability |
Returns usage, cost, and toolCalls from each run |
Know exactly what you're spending |
| ๐ Self-Hosted Support Custom gateway URL |
Point to your own Latitude instance | Enterprise-ready, air-gapped deployments |
| ๐ External Logging Create log entries |
Log conversations from external AI calls to Latitude | Unified analytics across all AI touchpoints |
| โก Hot Reload No redeploy needed |
Change prompts in Latitude, live instantly in n8n | Iterate on prompts without workflow changes |
| ๐ Secure by Default Credentials encrypted |
API keys never exposed, errors sanitized | Production-ready security |
Run PromptExecute AI prompts |
ChatContinue conversations |
Create LogLog external AI calls |
Execute an AI prompt from your Latitude project with automatic parameter detection.
| Parameter | Type | Required | Description |
|---|---|---|---|
Prompt Path |
Dropdown | Yes | Select from your Latitude prompts โ shows required parameters |
Parameters |
Key-Value | No | Map values to {{ variables }}. Supports n8n expressions |
Simplify Output |
Boolean | No | Return clean data or full conversation history |
Custom Identifier |
String | No | Tag runs for filtering in Latitude dashboard |
Version UUID |
String | No | Use specific version instead of live |
Example Configuration:
Prompt Path: "marketing/personalized-email"
Parameters:
- customer_name: {{ $json.name }}
- product: {{ $json.product }}
- tone: "professional"Simplified Output:
{
"uuid": "conv_abc123-def456",
"text": "Dear John, thank you for your interest in...",
"usage": {
"promptTokens": 150,
"completionTokens": 200,
"totalTokens": 350
},
"cost": 0.0035
}Continue a conversation using the UUID from a previous prompt run.
| Parameter | Type | Required | Description |
|---|---|---|---|
Conversation UUID |
String | Yes | UUID from a previous Run Prompt response |
Messages |
Collection | Yes | New messages to add to the conversation |
Simplify Output |
Boolean | No | Return clean data or full conversation history |
Example โ Building a Chatbot:
// First node: Run Prompt (initial)
// Returns: { uuid: "conv_abc123", text: "How can I help?" }
// Second node: Chat (continue)
Conversation UUID: {{ $('Latitude').item.json.uuid }}
Messages:
- Role: user
Content: "What's the weather like?"Log conversations from external AI calls (OpenAI, Anthropic, etc.) to your Latitude project for unified analytics.
| Parameter | Type | Required | Description |
|---|---|---|---|
Prompt Path |
Dropdown | Yes | The prompt to associate this log with |
Messages |
Collection | Yes | The conversation messages to log |
Response |
String | No | The AI-generated response text |
Use Case: You're calling OpenAI directly but want all your AI usage visible in Latitude's dashboard:
Prompt Path: "support/ticket-classifier"
Messages:
- Role: user
Content: {{ $json.ticket_body }}
Response: {{ $json.openai_response }}You need a Latitude.so account with API access.
| Field | Description | Where to Find |
|---|---|---|
| API Key | Your Latitude API key | Dashboard โ Settings โ API Keys (format: lat_...) |
| Project ID | Numeric project identifier | Dashboard โ Project Settings or URL |
| Gateway URL | Optional โ Custom gateway for self-hosted | Your instance URL (e.g., https://latitude.yourcompany.com) |
- Go to Credentials in n8n
- Click New Credential
- Search for Latitude API
- Fill in your API Key and Project ID
- (Optional) Add Gateway URL for self-hosted instances
- Click Save โ Credentials are automatically validated
๐ Security Note: Your API key is encrypted at rest and never exposed in logs or error messages.
Webhook โ Latitude (Run Prompt) โ Respond to Webhook
Perfect for: Slack bots, API endpoints, form processing.
Webhook โ Latitude (Run) โ Set UUID โ Loop โ Latitude (Chat) โ Respond
Perfect for: Customer support bots, interactive assistants.
Webhook โ OpenAI โ Latitude (Create Log) โ Respond
Perfect for: Using other providers but want Latitude's analytics.
AI Agent โ Latitude Tool โ Agent Output
Perfect for: ReAct agents, function calling, tool use.
| Requirement | Version |
|---|---|
| n8n | 1.0.0+ |
| Node.js | 18.0.0+ |
| Latitude SDK | 5.2.2+ |
Expand for troubleshooting tips
| Problem | Solution |
|---|---|
| Authentication failed | Verify API key format (lat_...) and Project ID in Latitude dashboard. Keys are project-specific. |
| Prompt not found | Refresh the dropdown. Verify the prompt exists and is published (not draft). |
| Parameters not loading | Check credentials are valid. Run credential test. Ensure prompt has {{ variables }}. |
| Empty response | Prompt might be in draft mode. Check Latitude dashboard for prompt status. |
| Chat fails | Verify conversationUuid is from a recent run. UUIDs may expire based on project settings. |
| Self-hosted connection issues | Ensure Gateway URL includes protocol (https://). Check firewall rules. |
| Rate limiting | Latitude has usage limits. Check your plan in the dashboard. |
Want to contribute or customize?
# Clone the repo
git clone https://github.com/yigitkonur/n8n-nodes-latitude.git
cd n8n-nodes-latitude
# Install dependencies
npm install
# Development mode (watch for changes)
npm run dev
# Build for production
npm run build
# Lint and format
npm run lint:fix
npm run formatโโโ credentials/ # Latitude API credential definition
โโโ nodes/Latitude/
โ โโโ actions/ # Operation implementations
โ โ โโโ runPrompt.operation.ts
โ โ โโโ chat.operation.ts
โ โ โโโ createLog.operation.ts
โ โโโ methods/ # Dynamic dropdown loaders
โ โโโ shared/ # Types, utils, transport
โ โโโ Latitude.node.ts # Main node definition
โโโ icons/ # Light/dark mode icons
- Latitude Documentation โ Full platform docs
- Latitude API Reference โ API details
- n8n Community Nodes โ How community nodes work
- Changelog โ Version history and updates
Contributions are welcome! This is how we make it better together.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Built with ๐ฅ because hardcoding AI prompts in workflows is a soul-crushing waste of time.
MIT ยฉ Yiฤit Konur
GitHub โข npm โข Latitude.so โข n8n.io