UptimeRobot#
UptimeRobot is an uptime monitoring service. It monitors your website every 5 mins. You can set an HTTP/S, ping, port, keyword, or heartbeat monitor and get notifications to your email, phone, Telegram, Slack, Twitter, etc.
Credentials
You can find authentication information for this node here.
Basic Operations#
- Account
- Get account details
- Alert Contact
- Create an alert contact
- Delete an alert contact
- Get an alert contact
- Get all alert contacts
- Update an alert contact
- Maintenance Window
- Create a maintenance window
- Delete a maintenance window
- Get a maintenance window
- Get all a maintenance windows
- Update a maintenance window
- Monitor
- Create a monitor
- Delete a monitor
- Get a monitor
- Get all monitors
- Reset a monitor
- Update a monitor
- Public Status Page
- Create a public status page
- Delete a public status page
- Get a public status page
- Get all a public status pages
Example Usage#
This workflow allows you to create, update, and get a monitor using the UptimeRobot node. You can also find the workflow on n8n.io. This example usage workflow uses the following nodes. - Start - UptimeRobot
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. UptimeRobot node (create: monitor)#
This node will create a new monitor of the type HTTP(S)
.
- First of all, you'll have to enter credentials for the OpenWeatherMap node. You can find out how to do that here.
- Select 'Monitor' from the Resource dropdown list.
- Select 'Create' from the Operation dropdown list.
- Enter
n8n
in the Friendly Name field. - Select 'HTTP(S)' from the Type dropdown list.
- Enter
https://n8n.io
in the URL field. - Click on Execute Node to run the node.
In the screenshot below, you will notice that the node returns data about the current weather in Berlin.
3. UptimeRobot node (update: monitor)#
This node will update the monitor that we created in the previous node.
- Select the credentials that you entered in the previous node.
- Select 'Monitor' from the Resource dropdown list.
- Select 'Update' from the Operation dropdown list.
- Click on the gears icon next to the ID field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > id. You can also add the following expression:
{{$json["id"]}}
. - Click on Add Field and select 'Friendly Name' from the dropdown list.
- Enter
n8n website
in the Friendly Name field. - Click on Execute Node to run the node.
In the screenshot below, you will notice that the node updates the friendly name of the monitor that we created in the previous node.
4. UptimeRobot node (get: monitor)#
This node will get the information of the monitor that we created in the previous node.
- Select the credentials that you entered in the previous node.
- Select 'Monitor' from the Resource dropdown list.
- Select 'Update' from the Operation dropdown list.
- Click on the gears icon next to the ID field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > id. You can also add the following expression:
{{$json["id"]}}
. - Click on Execute Node to run the node.
In the screenshot below, you will notice that the node returns the information of the monitor that we created earlier.