# n8n AI Agent Workflow for Crypto Trading via Eterna MCP

> Add an n8n `AI Agent` node with an `MCP Client Tool` sub-node configured for Streamable HTTP at `https://mcp.eterna.exchange/mcp`. Trigger the workflow on a schedule, TradingView webhook, or Telegram message to run technical analysis and execute risk-bounded orders on Eterna.

- Canonical URL: https://ai.eterna.exchange/integrations/n8n-make-automation
- Last updated: November 23, 2026
- Author: Eterna Engineering (MCP & Agent Infrastructure Team)
- MCP endpoint: https://mcp.eterna.exchange/mcp

Not every trader wants to host a custom Python or Node.js daemon. n8n gives you visual triggers (cron, TradingView webhooks, Discord/Telegram messages), retries, and logging while Eterna MCP handles market data, indicators, and execution.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| n8n Node | MCP Client Tool | Streamable HTTP transport |
| Triggers | Cron / Webhook / TG | TradingView alerts, schedule, chat |
| Indicators | 6 built-in on Eterna | RSI, MACD, EMA, SMA, BB, VWAP |
| Hosting Cost | $0 Eterna MCP fee | Pay only 0.014%/0.035% trade fees |

## 1. Build a Scheduled Scanner & Alert Workflow in n8n

Start in read-only alert mode before enabling live order placement.

1. **Add a Schedule or Webhook trigger**: Use a 15-minute or 1-hour Schedule Trigger for indicator scans, or a Webhook Trigger for incoming TradingView alerts.
2. **Attach AI Agent + MCP Client Tool**: Connect Claude or GPT as the Chat Model, then add the `MCP Client Tool` pointing at `https://mcp.eterna.exchange/mcp` with your OAuth Bearer header.
3. **Prompt for structured JSON output**: Instruct the agent to run one `execute_code` call checking tickers, RSI, EMA, and current positions, then output `{ action, symbol, reason, riskNote }`.
4. **Route to Telegram / Slack or Approval Gate**: Send the proposed setup to Telegram with an Approve/Reject button before calling a second execution workflow.

## 2. Webhook Safety Rules for Automated Workflows

Webhooks can fire duplicates or get spoofed. Protect capital with simple n8n checks.

- Validate a shared secret token on every incoming TradingView webhook payload before invoking the AI Agent node.
- Deduplicate alerts per `(symbol, timeframe, candleTimestamp)` so duplicate webhook retries never double-enter a position.
- Inside `execute_code`, always check `eterna.getPositions()` first and skip if an open position already exists on that symbol.
- Keep only your active trading budget inside the Eterna agent sub-account.

## Frequently Asked Questions

### Can n8n turn TradingView alerts into AI-vetted trades?

Yes. TradingView sends a webhook to n8n, n8n passes the alert to the AI Agent connected to Eterna MCP, and the agent verifies live orderbook liquidity, RSI/EMA confluence, and open exposure before deciding whether to execute.

### Does n8n work with Eterna's free MCP server?

Yes. Eterna charges $0/month for MCP and Deno sandbox compute. You pay only standard trading fees (0.014% maker / 0.035% taker on perpetuals).

## References & Primary Sources

- [Automated Technical Analysis Guide](https://ai.eterna.exchange/guides/automated-technical-analysis-mcp): Using built-in RSI, MACD, EMA, SMA, BB, and VWAP inside execute_code.
- [Pricing & Fee Schedule](https://ai.eterna.exchange/pricing): $0 MCP subscription and regular-tier fee breakdown.

## Related Guides

- [Automated Crypto Technical Analysis with MCP: RSI, MACD, EMA, Bollinger Bands & VWAP](https://ai.eterna.exchange/guides/automated-technical-analysis-mcp)
- [Multi-Coin MACD + RSI Momentum Scanner Agent (MCP Script)](https://ai.eterna.exchange/strategies/macd-momentum-scanner)
- [AI Crypto Trading Risk Management: Position Sizing, TP/SL & Kill Switches](https://ai.eterna.exchange/guides/ai-trading-risk-management-guardrails)
- [Eterna AI Pricing & Trading Fees for AI Agents](https://ai.eterna.exchange/pricing)
