Skip to content

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.

A workflow with the UptimeRobot node

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).

  1. First of all, you'll have to enter credentials for the OpenWeatherMap node. You can find out how to do that here.
  2. Select 'Monitor' from the Resource dropdown list.
  3. Select 'Create' from the Operation dropdown list.
  4. Enter n8n in the Friendly Name field.
  5. Select 'HTTP(S)' from the Type dropdown list.
  6. Enter https://n8n.io in the URL field.
  7. 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.

Using the OpenWeatherMap node to get weather updates for Berlin

3. UptimeRobot node (update: monitor)#

This node will update the monitor that we created in the previous node.

  1. Select the credentials that you entered in the previous node.
  2. Select 'Monitor' from the Resource dropdown list.
  3. Select 'Update' from the Operation dropdown list.
  4. Click on the gears icon next to the ID field and click on Add Expression.
  5. Select the following in the Variable Selector section: Current Node > Input Data > JSON > id. You can also add the following expression: {{$json["id"]}}.
  6. Click on Add Field and select 'Friendly Name' from the dropdown list.
  7. Enter n8n website in the Friendly Name field.
  8. 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.

Using the UptimeRobot node to update a monitor

4. UptimeRobot node (get: monitor)#

This node will get the information of the monitor that we created in the previous node.

  1. Select the credentials that you entered in the previous node.
  2. Select 'Monitor' from the Resource dropdown list.
  3. Select 'Update' from the Operation dropdown list.
  4. Click on the gears icon next to the ID field and click on Add Expression.
  5. Select the following in the Variable Selector section: Current Node > Input Data > JSON > id. You can also add the following expression: {{$json["id"]}}.
  6. 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.

Using the UptimeRobot node to retrieve information of a monitor