To send TradingView alerts to Telegram using PipeDream, you point a TradingView alert’s webhook URL at a PipeDream workflow, and the workflow calls the Telegram Bot API to post the alert message to your bot, group or channel. The whole setup takes about 15 minutes, needs no server, and works with any indicator or strategy alert. You need a paid TradingView plan with two-factor authentication enabled, a Telegram bot token and a free PipeDream account.
Key Takeaways
- Flow: TradingView alert, then webhook to PipeDream, then HTTP request to Telegram sendMessage.
- TradingView webhooks need a paid plan and 2FA enabled on your account.
- Create the bot with BotFather and add it as an admin of your channel.
- Use a POST request with a JSON body (code below) if your alert text contains special characters.
- Keep the webhook URL and bot token private; anyone with them can post to your channel.
PipeDream is an integration and automation platform that allows users to connect various online services and automate workflows. It’s particularly useful for sending TradingView alerts to Telegram because it can act as a middleman:

- Receives Alerts: PipeDream can receive webhook alerts from TradingView.
- Processes Data: It can process and format the data from these alerts according to user-defined rules.
- Forwards to Telegram: Finally, it sends the formatted data as a message to a Telegram bot or channel.
This setup automates the process of receiving trading alerts from TradingView and instantly notifying you on Telegram, making it highly useful for traders who need real-time updates.
What You Need Before You Start
| Requirement | Details |
|---|---|
| TradingView plan | Any paid plan. The free Basic plan has no webhook notifications (CrossTrade). |
| Two-factor authentication | TradingView sends webhook alerts only when 2FA is enabled on your account (TradingView). |
| Webhook endpoint | An HTTPS URL on port 80 or 443 that responds within 3 seconds. PipeDream’s URL meets both. |
| Telegram | A bot token from BotFather and a channel or group where the bot is an admin. |
| PipeDream | A free account at pipedream.com. |
How to Send TradingView Alerts to Telegram Using PipeDream
Creating a system to send TradingView alerts to Telegram using PipeDream involves several steps, including setting up alerts on TradingView, creating a webhook in PipeDream, and configuring the Telegram bot. Here’s a step-by-step tutorial:
1. Set Up TradingView Alerts
- Create an Alert in TradingView:
- Log into your TradingView account.
- Open the chart for the asset you want to monitor.
- Click on the ‘Alert’ icon on the top toolbar.
- Configure the alert settings (condition, options, message, etc.).
- Alert Message Format:
- Include key information in the message that you’ll want to send to Telegram.
- Use a specific format or keywords if needed for easy parsing in PipeDream.

2. Create a Telegram Bot
- Register a New Bot:
- Search for ‘BotFather’ in Telegram.
- Send the command
/newbotand follow the instructions. - Note the bot token provided by BotFather.

- Get Your Telegram Chat ID:
- Start a Public Channel and add your bot as Admin to the Channel.
- Use a service like
@channelusernameto find your chat ID.
For a private chat or group instead of a public channel, send any message to your bot and open https://api.telegram.org/bot<your bot token>/getUpdates in a browser. The numeric chat.id in the response is the ID to use.
3. Set Up PipeDream
- Create a PipeDream Account:
- Sign up for an account at PipeDream.
- Create a New Workflow:
- In your PipeDream dashboard, create a New Project

- Then Create a New Workflow

- Enter the Workflow Name

- Now click on New HTTP/ Webhook Requests

- Once the trigger is Created click Save and Continue

- Select the trigger as ‘Webhook’ and copy the provided URL.

- Once the Tradingview Alert is captured by the pipedream Select event and add the received alert from tradingview
- Insert Webhook URL in TradingView Alert:
- In the TradingView alert configuration, select ‘Webhook URL’ paste the PipeDream webhook URL as shown below click Save

4. Configure the Telegram Step in PipeDream
- Save the alert settings.
- Configure Workflow to Send to Telegram:
- Add a new step in the workflow, choosing the Send any HTTP Request as shown below

- Input your bot token and chat ID using the Telegram API url as shown below.
Telegram API URL
https://api.telegram.org/bot<enter your bot tokenid>/sendMessage?chat_id=@channelusername&text={{steps.trigger.event.body}}
In the above URL replace
<enter your bot tokenid> - with your telegram bot id which you recieved from bot father
@channelusername - with your channel id for example @stockalert

- Format the message to be sent based on the incoming webhook data.
Updated version (2026): send the alert with a Node.js code step
The GET URL above puts the alert text in the query string. That works for short plain messages, but characters such as &, # or line breaks can cut the message off, and JSON alerts arrive as an object rather than text. A more reliable option is a Node.js code step that sends a POST request with a JSON body. In PipeDream, add a step, choose Run custom code (Node.js), save your bot token as an environment variable called TELEGRAM_BOT_TOKEN, and paste:
export default defineComponent({
async run({ steps, $ }) {
// Store the bot token as a PipeDream environment variable named TELEGRAM_BOT_TOKEN
const token = process.env.TELEGRAM_BOT_TOKEN;
const chatId = "@channelusername"; // or a numeric chat ID
// TradingView sends JSON when the alert message is valid JSON, otherwise plain text
const body = steps.trigger.event.body;
const text = typeof body === "string" ? body : JSON.stringify(body, null, 2);
const res = await fetch(`https://api.telegram.org/bot${token}/sendMessage`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ chat_id: chatId, text }),
});
const data = await res.json();
if (!data.ok) throw new Error(data.description);
return data;
},
});
A readable alert message makes the Telegram post useful at a glance. TradingView replaces placeholders in double curly braces when the alert fires, so a message like this works well:
{{ticker}} alert on {{interval}} chart
Exchange: {{exchange}}
Close: {{close}}
Time: {{time}}
5. Test and Deploy the Configuration
- Test Alert and Deploy:
- Manually trigger the alert in TradingView to test.
- Ensure that the message is received correctly in your Telegram.
- Now Press Deploy button to go live

6. Monitoring and Adjustments
- Monitor Alerts:
- Keep an eye on the alerts to ensure they are working as expected.
- Adjust as Needed:
- Make any necessary adjustments in TradingView, PipeDream, or Telegram bot settings based on your requirements.
Tips and Best Practices
- Security: Keep your webhook URL and Telegram bot token secure.
- Error Handling: Implement error handling in your PipeDream workflow to manage potential issues.
- Alert Conditions: Fine-tune your TradingView alert conditions for effective monitoring.
Troubleshooting
- Alerts Not Received: Check if the webhook URL is correctly set in TradingView and if the PipeDream workflow is active.
- Incorrect Message Format: Ensure that the alert message format in TradingView matches what the PipeDream workflow expects.
- Nothing arrives in PipeDream: confirm 2FA is on in TradingView and that the alert has the Webhook URL box ticked.
- Telegram returns “chat not found”: the bot is not an admin of the channel, or the channel username is wrong.
- Telegram returns “Unauthorized”: the bot token is wrong or was revoked in BotFather.
- Message is cut short: switch from the GET URL to the POST code step above.
Alternatives to PipeDream
PipeDream is convenient, but it is not the only way. If you would rather avoid a third-party service, see how to send TradingView alerts to Telegram without coding or third-party tools. If you want alerts to place orders rather than just notify you, OpenAlgo can turn TradingView alerts into broker orders, and Amibroker users can send alerts from Amibroker to a Telegram channel.
By following these steps, you’ll be able to reliably send TradingView alerts to your Telegram, enabling quick and efficient monitoring of trading signals or market conditions.
Frequently Asked Questions
Can I send TradingView alerts to Telegram for free?
PipeDream and Telegram are free for this use, but TradingView webhooks need a paid plan. On the free plan you can only get alerts by app notification or email.
Why is my TradingView webhook not working?
The most common causes are 2FA not enabled, a webhook URL on a port other than 80 or 443, and an endpoint that takes longer than 3 seconds to respond.
Can I send TradingView alerts to a private Telegram group?
Yes. Add the bot to the group, get the numeric chat ID from the getUpdates call, and use it as chat_id instead of the channel username.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.


Could you please share one example how to send alert using screener for a simple strategy
You can use the same method for sending Tradingview Alerts.