getting-started

Your first TradingView webhook (10 minutes)

Concrete walkthrough: BTC RSI alert → haythix notification

10 min · beginner

What you'll have when finished

  • Have one live webhook in NOTIFY mode receiving real TradingView alerts
  • Know exactly what the JSON payload should look like
  • Be ready to flip to execute mode later

Before you start

  • Do NOT pick execute mode for your first webhook — start in notify mode and verify the alert chain works first
  • Keep the webhook URL and shared secret private. Anyone with both can trigger your alerts

Walkthrough

  1. Open TradingView Webhooks in haythix

    Click Trade → TradingView Webhooks in the side nav. You should see an empty state if this is your first webhook. Click the amber "Create Webhook" button top-right.

    Success criteria: Create webhook modal is open showing Step 1/2

  2. Name it and pick "Just notify me"

    Name: "BTC RSI Test". Description (optional): "First webhook — proving the wire works". Action mode: leave the default "Just notify me" selected (the bell icon). Click Next.

    Success criteria: You are now on Step 2/2 with only the amber "shared secret will be generated" notice visible — no exchange/amount fields

  3. Create and copy the URL + JSON template

    Click Create Webhook. A success modal appears showing the webhook URL and a JSON message template pre-filled with your shared secret. Click the copy icons next to BOTH the URL and the JSON. Paste them into a notepad temporarily.

    Success criteria: You have the URL (api.haythix.com/api/webhook/tradingview/tv_…) and the JSON (which starts with "secret":"…") copied somewhere safe

  4. In TradingView, create an RSI alert on BTC/USDT

    Open TradingView, load a BTC/USDT chart on the 1H timeframe. Add the built-in RSI indicator. Right-click the RSI line → Add Alert. Condition: RSI crossing down 35 (this should fire frequently enough to test).

    Success criteria: TradingView alert dialog is open with RSI condition set

  5. Paste the URL and JSON into the alert dialog

    Scroll the TradingView alert dialog to Notifications. Check "Webhook URL" and paste the haythix URL. Then scroll to the Message field. DELETE whatever is there, paste the JSON from step 3. Verify the JSON still contains your shared secret. Click Create.

    Success criteria: TradingView alert is saved and listed in your alerts panel

  6. Run a test fire from haythix

    Back in haythix, find your webhook card. Click "Send Test Alert". An alert popup says "Test alert delivered". Click "Recent Alerts" — you should see a green row with "received" and the test JSON expanded below it.

    Success criteria: A green "received" row appears in Recent Alerts with the test JSON visible

  7. Wait for the real fire

    When RSI on BTC actually crosses below 35, TradingView fires the real alert. Within 1-2 seconds it appears in haythix Recent Alerts AND in your Notifications inbox (top-right bell). The "Received" counter on the webhook card increments.

    Success criteria: Received counter shows ≥1 and you see a notification for the RSI cross

What's next

You have proven the wire works. Next: read the [[tradingview-to-haythix-pipeline]] guide to flip a webhook into execute mode and have TradingView alerts actually place market orders on Coinbase or Binance US.