Fetch HTTP Data

Difficulty
1/10
Tags
EssentialsManual TriggerHTTP RequestAPIJSON

You're the control room operator at Isla Dino, a dinosaur theme park with 7 enclosures. Your job is to monitor the park's surveillance system for any signs of trouble.

The control room has a central screen that displays the current park status, including a map showing all enclosures. Your first task is to connect to this screen's data feed.

What you'll practice:

  • Starting a workflow with a manual trigger
  • Making HTTP GET requests to fetch external data
  • Understanding JSON response structures

Your Task

  1. 1Copy the exercise below
  2. 2Paste into your n8n editor (Ctrl+V)
  3. 3Solve it — use hints if you get stuck
  4. 4Check the solution when done

Connect to the park's control room map screen to get the current status.

  1. Add a Manual Trigger node to start the workflow
  2. Add an HTTP Request node to fetch data from: https://www.node-bench.com/api/challenges/dinosaur-park/incident
  3. Execute the workflow and examine the response

Tip: You can copy the imageUrl from the response and open it in your browser to see the park map.

Expected output: A JSON object containing:

  • imageUrl: URL to the current map image
  • severity: Number of escaped dinosaurs (1-10)
  • timeOfDay: When the reading was taken (HH:MM format)

Get the exercise workflow

Create a free account to copy exercises into your n8n editor.

Hints

  1. Search for "Manual Trigger" in the nodes panel and add it to your canvas
  2. Add an HTTP Request node and connect it to the trigger
  3. Set the HTTP Request URL to: https://www.node-bench.com/api/challenges/dinosaur-park/incident
  4. Leave the method as GET (default)
  5. Click "Execute Workflow" to see the response

Explanation

The Control Room Data Feed:

The park's surveillance system exposes an API endpoint that returns the current status. Each time you call it, you get:

{
  "incidentReport": {
    "imageUrl": "https://...",
    "severity": 7,
    "timeOfDay": "14:32",
    "timestamp": "2025-12-23T..."
  }
}

Why Manual Trigger?

For now, we're manually checking the park status. In a real scenario, you might use a Schedule Trigger to check every few minutes automatically.

What's Next:

The imageUrl points to a map of the island. In the next challenge, you'll use AI vision to analyze this image and detect if any areas are showing danger signs.

Copy the Solution

Paste into n8n with Ctrl+V to compare with your approach.

How was this lesson?

Get the solution workflow

Create a free account to copy solutions into your n8n editor.

Related Content

Continue your learning journey with these related lessons and guides: