{
  "name": "ATLAS Academy lab: when a step fails",
  "nodes": [
    { "name": "Start", "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1, "position": [0, 0], "parameters": {} },
    { "name": "HTTP Request", "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2, "position": [240, 0],
      "parameters": { "method": "GET",
        "url": "https://geocoding-api.open-meteo.com/v1/serch",
        "sendQuery": true, "queryParameters": { "parameters": [
          { "name": "name", "value": "Lisbon" } ] } } },
    { "name": "Edit Fields", "type": "n8n-nodes-base.set",
      "typeVersion": 3.4, "position": [480, 0],
      "parameters": { "assignments": { "assignments": [
          { "id": "lab4-text", "name": "text",
            "value": "={{ $json.results[0].name }} is in {{ $json.results[0].country }}",
            "type": "string" } ] },
        "options": {} } }
  ],
  "connections": {
    "Start": { "main": [[{ "node": "HTTP Request", "type": "main", "index": 0 }]] },
    "HTTP Request": { "main": [[{ "node": "Edit Fields", "type": "main", "index": 0 }]] }
  }
}
