Skip to main content

2 posts tagged with "telegram"

View All Tags

Get your Telegram Chat ID in Apudflow (2 minutes)

· 2 min read

Finding your Telegram Chat ID takes less than 2 minutes. Here's how to do it end-to-end inside Apudflow.

Prerequisites

  • Telegram app installed (mobile or desktop)
  • Our bot available in Telegram: apudflow_bot
  • Apudflow account (to paste the ID into the form)

Step-by-step

  1. Open Telegram, search for “apudflow_bot”.
  2. Open the chat and tap Start (/start).
    • The bot immediately replies with your Chat ID.
  3. Copy the Chat ID the bot returned.
  4. In Apudflow, open the flow step with the “Telegram Notify” worker and paste the number into the “Chat ID” field.
  5. Click run/test — you should receive a message in Telegram.
  • Group chat IDs

    • Add the bot to the group. If you have the webhook enabled, send /id in the group. The bot will reply with the group chat_id (usually a negative number).
  • Channel IDs

    • Make the bot an Administrator of the channel first (required).
    • Public channel: you can use the @channel_username as Chat ID.
    • Private channel: use the numeric id starting with -100… (get it by sending /id after the webhook is active, or with a utility bot like @getidsbot).

That's it! Your Chat ID is now saved in your flow, and you can receive alerts from your automations.

Send Telegram notifications from Apudflow

· 5 min read

You can send messages and images to Telegram directly from your flows. This guide covers setup, formatting, and common pitfalls.

What you can send

  • Text messages
  • Image by URL (photoUrl): text becomes the photo caption
  • Markdown formatting (always on)

Configure the worker

In your flow, add the step “Telegram Notify” and fill these fields:

  • Chat ID: The numeric ID you got from the bot (see the Get Chat ID post) or @channel_username for public channels
  • Text: Message content (or caption when photoUrl is provided)
  • Photo URL (optional): A direct URL to an image
  • Disable link preview: Turn off webpage previews in text messages

Quick example

Result: You’ll receive a photo with the text as its caption.

Financial market use cases and templates

Here are practical ways to use Telegram alerts for trading and portfolio workflows, plus ready-to-copy message ideas.

  • Moving average crossovers

    • Template: ALERT: {TICKER} crossed above 200D MA at ${price} (RVOL {rvol}x)
    • Example: "ALERT: NVDA crossed above 200D MA at $142.50 (RVOL 1.8x)"
  • Breakout signals

    • Template: Breakout: {TICKER} closed above {level} on {tf} with {rvol}x RVOL
    • Example: "Breakout: AAPL closed above $225 on 4H with 2.1x RVOL"
  • RSI divergence signals

    • Template: Signal: {TICKER} RSI {rsi} ({side}) on {tf}; MACD {macd_state}
    • Example: "Signal: NVDA RSI 72 (overbought) on 1H; MACD bullish"
  • Bollinger Band squeeze/expansion

    • Template: BB Squeeze: {TICKER} bandwidth {bw}% — watch for expansion
    • Example: "BB Squeeze: ETH bandwidth 4.2% — watch for expansion"
  • Volume spikes / Relative Volume

    • Template: RVOL spike: {TICKER} {rvol}x vs 20D avg; {volume} shares traded
    • Example: "RVOL spike: AMD 2.7x vs 20D avg; 38M shares traded"
  • Earnings and macro calendar

    • Template: Today: {TICKER} earnings {time} — Cons: Rev {rev_c}, EPS {eps_c}
    • Example: "Today: MSFT earnings 21:30 CET — Cons: Rev $64.5B, EPS $2.71"
  • Portfolio and risk alerts

    • Template: PnL: D {pnl_d}% | MTD {pnl_mtd}% | DD {dd}% | VaR {var}%
    • Example: "PnL: D -1.2% | MTD +3.4% | DD 5.4% | VaR 1.1%"
  • Stop-loss / Take-profit hits

    • Template: Exit: {TICKER} {side} at ${price} — {reason} (SL/TP)
    • Example: "Exit: TSLA long at $239.50 — SL hit"
  • Unusual options activity / IV changes

    • Template: UOA: {TICKER} {flow} — IVR {ivr}, IV {iv}%
    • Example: "UOA: SPY call flow — IVR 78, IV 23%"
  • FX levels and macro indicators

    • Template: FX: {PAIR} tap {level} | {indicator} {value}
    • Example: "FX: EURUSD tap 1.1000 | PMI 52.3"
  • Crypto funding/liquidations/on-chain

    • Template: Crypto: {COIN} funding {funding}% | Liq {liq_usd} | NVT {nvt}
    • Example: "Crypto: BTC funding 0.03% | Liq $120M | NVT 48"
  • Spread/arb setups

    • Template: Spread: {A}/{B} z-score {z} | {tf}
    • Example: "Spread: GLD/GDX z-score 2.1 | D1"
  • End-of-day summary

    • Template: EoD: Top± {top_plus}/{top_minus} | PnL {pnl_d}% | Positions {n}
    • Example: "EoD: Top± NVDA +4.1% / T -3.7% | PnL +0.9% | Positions 12"- Breakouts and S/R touches
    • Template: Breakout: {TICKER} closed above {level} on {tf} with {rvol}x RVOL
    • Example: "Breakout: BTC closed above 65,000 on 4H with 3.1x RVOL"
  • RSI/MACD signals and divergences

    • Template: Signal: {TICKER} RSI {rsi} ({side}) on {tf}; MACD {macd_state}
    • Example: "Signal: NVDA RSI 72 (overbought) on 1H; MACD bullish"
  • Bollinger Band squeeze/expansion

    • Template: BB Squeeze: {TICKER} bandwidth {bw}% — watch for expansion
    • Example: "BB Squeeze: ETH bandwidth 4.2% — watch for expansion"
  • Volume spikes / Relative Volume

    • Template: RVOL spike: {TICKER} {rvol}x vs 20D avg; {volume} shares traded
    • Example: "RVOL spike: AMD 2.7x vs 20D avg; 38M shares traded"
  • Earnings and macro calendar

    • Template: Today: {TICKER} earnings {time} — Cons: Rev {rev_c}, EPS {eps_c}
    • Example: "Today: MSFT earnings 21:30 CET — Cons: Rev $64.5B, EPS $2.71"
  • Portfolio and risk alerts

    • Template: PnL: D {pnl_d}% | MTD {pnl_mtd}% | DD {dd}% | VaR {var}%
    • Example: "PnL: D -1.2% | MTD +3.4% | DD 5.4% | VaR 1.1%"
  • Stop-loss / Take-profit hits

    • Template: Exit: {TICKER} {side} at ${price} — {reason} (SL/TP)
    • Example: "Exit: TSLA long at $239.50 — SL hit"
  • Unusual options activity / IV changes

    • Template: UOA: {TICKER} {flow} — IVR {ivr}, IV {iv}%
    • Example: "UOA: SPY call flow — IVR 78, IV 23%"
  • FX levels and macro indicators

    • Template: FX: {PAIR} tap {level} | {indicator} {value}
    • Example: "FX: EURUSD tap 1.1000 | PMI 52.3"
  • Crypto funding/liquidations/on-chain

    • Template: Crypto: {COIN} funding {funding}% | Liq {liq_usd} | NVT {nvt}
    • Example: "Crypto: BTC funding 0.03% | Liq $120M | NVT 48"
  • Spread/arb setups

    • Template: Spread: {A}/{B} z-score {z} | {tf}
    • Example: "Spread: GLD/GDX z-score 2.1 | D1"
  • End-of-day summary

    • Template: EoD: Top± {top_plus}/{top_minus} | PnL {pnl_d}% | Positions {n}
    • Example: "EoD: Top± NVDA +4.1% / T -3.7% | PnL +0.9% | Positions 12"Tip: Attach a chart image with photoUrl for context (e.g., a MultiChart snapshot). Your text becomes the caption.

Pro tips

  • Store your Chat ID once and reuse it across flows.
  • For groups: Chat ID is negative. If you migrate the group or channel, the ID can change — run /id again.
  • You can send a quick heartbeat by wiring a scheduled flow that posts "ping" to your own DM.

Happy notifying!