- A TradingView account
- A pipedream account
- A Discord account (optional)
-
Login to pipedream and create a new workflow.
-
Copy the email address given by pipedream and paste it into the
Email-to-SMS
field in your TradingView account. (You can follow this instruction to change theEmail-to-SMS
email address.) -
In order to find out the
Email-to-SMS
update verification code, you need to click the event dropdown menu below the given email address and select the verification email. -
Find your verification code under
steps.trigger -> event -> body -> text
and paste it back into theEmail-to-SMS
field. -
Copy the code [Click ME] and paste it into pipedream's code editor.
[!WARNING]
You may have to copy and paste the code by splitting it into small parts if you can't paste the whole code at once. Please make sure all indent are correct. -
Input your configuration. [Click ME]
-
Click the "Test" button. You will receive the welcome message in your Discord if you have configured the Discord webhook URL and set the
log_level
to4
. -
Click the "Deploy" button after you see the "Success" message.
-
You are good to go!
webhook_urls
- Webhook URLs you want to send the alert to. You can add multiple URLs by separating them with a comma.
# Single URL:
webhook_urls = [
r"https://mywebhook.com/1",
]
# Multi URLs:
webhook_urls = [
r"https://mywebhook.com/1",
r"https://mywebhook.com/2",
r"https://mywebhook.com/3",
# ...
]
Note
It is a good idea to test your signal or the program using a webhook test service such as webhook.site instead of using your production webhook.
discord_webhook_url
- (Optional) Discord webhook URL. Mainly for logging purposes. Leave it blank if you don't want to use it.
Priyanshu-raj95 |