{"product_id":"weather-proxy-webhook-workflow-weatherapi-open-meteo","title":"Weather Proxy Webhook Workflow: WeatherAPI \u0026 Open-Meteo","description":"\u003ch3\u003eGet Simplified Weather Data via a Single Webhook (WeatherAPI or Open-Meteo)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow exposes a webhook-based \u003cstrong\u003eweather proxy API\u003c\/strong\u003e that accepts latitude\/longitude and a start date, fetches forecast or historical daily weather from \u003cstrong\u003eWeatherAPI\u003c\/strong\u003e or \u003cstrong\u003eOpen-Meteo Archive\u003c\/strong\u003e, and returns a compact JSON response with key temperature and condition fields.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives webhook requests\u003c\/strong\u003e on the \u003ccode\u003e\/weather-proxy\u003c\/code\u003e endpoint with query parameters such as \u003ccode\u003elat\u003c\/code\u003e, \u003ccode\u003elon\u003c\/code\u003e, and \u003ccode\u003estart_date\u003c\/code\u003e (or falls back to default Tokyo coordinates).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSelects the provider automatically\u003c\/strong\u003e: it compares \u003ccode\u003estart_date\u003c\/code\u003e to today—using \u003cstrong\u003eWeatherAPI\u003c\/strong\u003e for dates within the next \u003cstrong\u003e14 days\u003c\/strong\u003e, and \u003cstrong\u003eOpen-Meteo Archive\u003c\/strong\u003e for older dates.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches daily weather data\u003c\/strong\u003e over HTTP from the chosen provider.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes the response\u003c\/strong\u003e into a compact JSON payload, including:\n    \u003cul\u003e\n      \u003cli\u003emax\/min temperature\u003c\/li\u003e\n      \u003cli\u003ea derived condition (e.g., hot\/cold\/rain\/snow)\u003c\/li\u003e\n      \u003cli\u003erain chance \/ rain percentage\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the formatted JSON response\u003c\/strong\u003e to the webhook caller with appropriate \u003cstrong\u003eCORS\u003c\/strong\u003e and \u003cstrong\u003eJSON content-type\u003c\/strong\u003e headers.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBuild a lightweight weather endpoint for your app or SaaS dashboard without managing multiple weather APIs.\u003c\/li\u003e\n  \u003cli\u003eBackfill historical weather views (older \u003ccode\u003estart_date\u003c\/code\u003e values) using Open-Meteo Archive with the same webhook interface.\u003c\/li\u003e\n  \u003cli\u003ePower automation scenarios like daily summaries, scheduling logic, or user-facing weather insights based on simplified temperature\/condition outputs.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes:\u003c\/strong\u003e \u003ccode\u003eWebhook\u003c\/code\u003e, \u003ccode\u003eCode\u003c\/code\u003e, \u003ccode\u003eHTTP Request\u003c\/code\u003e, \u003ccode\u003eRespond to Webhook\u003c\/code\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration:\u003c\/strong\u003e replace the hardcoded \u003cstrong\u003eWeatherAPI API key\u003c\/strong\u003e in the parameter-building code with your own key.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegration:\u003c\/strong\u003e your client calls the production webhook URL for \u003ccode\u003e\/weather-proxy\u003c\/code\u003e and passes \u003ccode\u003elat\u003c\/code\u003e, \u003ccode\u003elon\u003c\/code\u003e, and \u003ccode\u003estart_date\u003c\/code\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46063668002995,"sku":"N8N-19714","price":11.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/zE1EfMaFQXWv4Arhd12Hl_MlJHkKVW.png?v=1789808894","url":"https:\/\/buyflowscripts.com\/products\/weather-proxy-webhook-workflow-weatherapi-open-meteo","provider":"N8N Commerce","version":"1.0","type":"link"}