'Down Time Alert' is our own website monitoring service that watches your website 24/7/365 and notifies you whenever your website goes down.
Twilio is the communciton platform that millions of developers trust to build seamless communications experiences with phone calls, text messages, video calls, and more.
Twilio IntegrationsDowntime Alert + Twilio
Call Phone in Twilio when Website Down is added to Downtime Alert Read More...Downtime Alert + Gmail
Create Draft from Gmail from Website Down to Downtime Alert Read More...Downtime Alert + Gmail
Send Email in Gmail when Website Down is added to Downtime Alert Read More...Downtime Alert + Gmail
Create Label from Gmail from Website Down to Downtime Alert Read More...It's easy to connect Downtime Alert + Twilio without coding knowledge. Start creating your own business flow.
Trigger whenever your website is down.
Triggers once a call is completed on your Twilio number.
Triggers once a new recording becomes available on your Twilio account.
Triggers the moment an SMS is sent to your Twilio Number.
Call a number or numbers and say your predefined message.
Send a SMS to a number or numbers.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
Downtime Alert is a service that monitors websites for downtime and alerts you of downtime via SMS or email. It integrates with more than 800 SaaS applications such as SurveyMonkey, Google Analytics, Slack, Salesforce, and many more. Downtime Alert sends an alert when the site is down and allows you to set up automatic notifications when the site is back up. You can set up your own custom message and get notified as soon as the site comes back up. When Downtime Alert detects a website outage, you will receive a phone call, an SMS message, or an email notification instantly. You can see all of your outage alerts in one place on the Downtime Alert dashboard.
Twilio is a cloud communications platform that enables developers to create and send messages and voice calls using web-based APIs. Twilio is flexible and works with any existing website or app to enhance existing features or build new ones. It includes a REST API that enables you to make and receive calls and messages. You can also build applications that integrate with other popular services including Slack, Facebook Messenger, WhatsApp, Viber, and Microsoft Skype. The API supports several programming languages including Python, PHP, Ruby, .NET, Java, Node.js, and more. Twilio offers great documentation for their REST API and other resources to help you get started.
In this section we will learn how to integrate Downtime Alert with Twilio so that we can receive SMS notifications when our sites are down. We'll be using Python, Flask, and Twilio's REST API. First we will start by creating a flask app that will allow us to use the Twilio API in our application. We will then register our app with Twilio to get an account number which will be used in our application to send out text messages. Then we will integrate Downtime Alert with Twilio so that whenever a site goes down Downtime Alert will send a text notification to the user alerting them of the downtime. Finally we will add our code to GitHub so that anyone can download it and use it in their projects.
cd DowntimeAlertTwilio virtualenv venv
source venv/bin/activate
pip install flask
nano app.py
from flask import Flask , request , render_template , redirect , url_for from twilio import twiml from twilio . rest import Client ACCOUNT_SID = 'YOUR TWILIO ID' AUTH_TOKEN = 'YOUR TWILIO AUTH TOKEN' DEFAULT_CALLER_ID = 'YOUR TWILIO DEFAULT CALLER ID' @ app . route ( '/' . def homepage ( . . return render_template ( 'index.html' . @ app . route ( '/message/<PhoneNum>' . def send_sms ( phone_num . . try . client = Client ( account_sid = ACCOUNT_SID , auth_token = AUTH_TOKEN . message = twiml . Response ( . message . dial ( phone_number = phone_num , caller_id = DEFAULT_CALLER_ID . response = client . messages . create ( body = message . print response except TwilioRestException as e . return str ( e . if __name__ == '__main__' . port = int ( os . environ . get ( 'PORT' , 5000 . . app . debug = True app . run ( host = '0.0.0.0' , port = port )
python app.py * Running on http://127.0.0.1:5000/ ( Press CTRL+C to quit . * Restarting with stat * Debugger is active! * Debugger PIN. 123456 * Connected to debugger localhost:8000> CTRL+C to stop 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 * Running on http . //127.0.0.1:5000/ (Press CTRL+C to quit. * Restarting with stat * Debugger is active! * Debugger PIN. 123456 * Connected to debugger localhost . 8000 > CTRL + C to stop
The process to integrate Downtime Alert and Twilio may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.