Marketing · n8n

Email Customers Weather-Perfect Products Before the Forecast Hits

Rain gear sells when rain is coming; sunscreen sells before a heat wave. This workflow checks tomorrow's forecast for each customer's city and, when the weather matches a product category you sell, sends a genuinely timely, Claude-written recommendation.

difficulty Advancedsetup 50 minresult Perfectly-timed product emails that feel helpful, not spammy — sent right before the weather that sells them
  1. 1

    Pick a customer segment daily

    A Schedule Trigger runs each afternoon; a Shopify node pulls opted-in customers with a city on file.

  2. 2

    Check tomorrow's weather

    An HTTP Request to OpenWeather returns the forecast for each customer's city.

  3. 3

    Match weather to a category

    A Code node maps conditions to a product category — rain to outerwear, heat to sun care — and drops anyone whose weather doesn't match.

  4. 4

    Write the recommendation

    Claude writes a two-sentence note tying tomorrow's weather to the relevant product, in your store voice.

  5. 5

    Send it

    A Gmail node delivers the note with a link to the matching collection.

Frequently asked questions

Won't this email people too often?

It only fires when the weather genuinely matches a category you sell, so most customers hear from you rarely — which is exactly why it converts. Add a 'max once per 14 days' guard with a Google Sheet log if you want a hard cap.

Do I need customer cities?

Shopify stores the default-address city for most customers. Anyone without one is simply skipped, so the flow degrades gracefully.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.