Module: 4/5
Lesson: 6/7
Exercises:
Module 4 | Lesson 5

Lesson 5: Parsing Responses — Getting the Data You Need from What You Get

Real Example: Extracting Data from a Weather API

Open-Meteo returns:

{
  "latitude": 51.5074,
  "longitude": -0.1278,
  "current": {
    "time": "2024-03-08T14:30",
    "temperature_2m": 12.5,
    "relative_humidity_2m": 72,
    "weather_code": 1,
    "wind_speed_10m": 18.5
  }
}

Your workflow steps might reference: - current.temperature_2m → 12.5 - current.relative_humidity_2m → 72 - current.wind_speed_10m → 18.5

Then you send a Slack message: London weather: {{current.temperature_2m}}°C, {{current.relative_humidity_2m}}% humidity, {{current.wind_speed_10m}} km/h wind

🔒

This lesson is premium

Get full access to AI Workflows — all modules, all lessons, lifetime access.

Already purchased? Sign in to restore access.