GuidePublished 6 min read

How to Import Real-Time Weather & Location Data Into Your CRM with Webhooks

Use Wehoads webhooks to push real-time weather, market, and performance data straight into your CRM, Slack, or any internal system — no polling required.

Your CRM knows your customers. Wehoads knows the weather, air quality, pollen levels, market prices, and dozens of other real-world signals — in real time, for every location you care about.

Webhooks connect the two. Instead of polling an API or checking dashboards, Wehoads pushes data to your endpoint the moment a condition triggers. This guide shows you how to set it up.

What Are Wehoads Webhooks?

A Wehoads webhook automation monitors real-world conditions on a schedule you define. When a trigger fires, Wehoads sends an HTTP POST request to your endpoint with a JSON payload containing the event details, matched locations, or both.

No ad platform account is required. Webhooks work independently — they're a standalone channel in Wehoads alongside Meta, TikTok, Google Ads, YouTube, and Google Ad Manager.

What You Can Trigger On

Webhook automations support the same 115+ conditions available across all Wehoads channels:

  • Weather — temperature, rain, snow, wind, humidity, UV index, air quality
  • Health & Lifestyle — pollen, flu risk, asthma index, outdoor activity suitability
  • Market Data — crypto prices (Bitcoin, Ethereum), commodities (gold, oil), forex rates
  • Performance Metrics — CPC and CPM thresholds from your connected ad accounts
  • Time-Based — holidays, lunch breaks, custom time windows

Step 1: Create a Webhook Automation

Go to Automations → Create Automation. Enter a name, then select Webhook as the channel.

Step 2: Configure Your Endpoint

Enter the URL where Wehoads should send data. This can be:

  • A CRM webhook endpoint (HubSpot, Salesforce, Pipedrive)
  • A Slack incoming webhook
  • A Zapier or Make (Integromat) catch hook
  • Your own backend API
  • A serverless function (AWS Lambda, Cloudflare Workers)

Authentication Options

Wehoads supports three authentication methods to secure your endpoint:

  • None — for endpoints that handle auth differently
  • Bearer Token — sends an Authorization: Bearer <token> header
  • API Key Header — sends a custom header with your API key

Step 3: Choose Your Payload Mode

You control how much data Wehoads sends with each request:

Mode What You Get
Event Only The trigger event and condition details — lightweight, ideal for notifications
Matched Locations Only Full location breakdown with weather data for every matched location
Event + Matched Locations Both combined — the complete picture in one payload

For CRM use cases, Matched Locations Only or the combined mode is usually what you want — it gives you the location-level data you need to enrich customer records.

Step 4: Set Your Conditions

Build trigger rules the same way you would for any Wehoads automation. For example:

  • Rain forecast in any of your store locations → push to CRM so the sales team adjusts messaging
  • Temperature above 35°C → notify your inventory system to prioritize cooling products
  • Bitcoin price crosses $80K → alert your fintech team via Slack
  • Pollen spike in a region → trigger an email campaign for allergy products
  • Holiday detected → update your CRM calendar and adjust campaign timing

Step 5: Assign Locations

For weather and location-based triggers, assign addresses or coordinates to your automation. Wehoads evaluates conditions at each location independently and includes all matching locations in the payload.

You can also map each location to an External Location ID — your own internal identifier — so the webhook payload maps directly to records in your CRM or database.

Step 6: Verify with Signing Secrets

Every webhook automation gets a Signing Secret (whsec_...). Wehoads signs each payload using HMAC-SHA256, so your endpoint can verify that:

  1. The request actually came from Wehoads
  2. The payload hasn't been tampered with in transit

To verify, compute the HMAC of the raw request body using your signing secret and compare it to the signature in the request header. If they match, the payload is authentic.

Secret Rotation

When you rotate a signing secret, Wehoads provides a grace period where both the old and new secrets are valid. This lets you update your endpoint without downtime.

Step 7: Monitor Deliveries

Every webhook event is tracked in the Delivery Logs with full visibility:

  • Status — Succeeded, Failed, or Exhausted (all retries failed)
  • Attempt History — each delivery attempt with HTTP status code, response snippet, and timestamp
  • Request Headers — viewable in logs with sensitive auth values automatically redacted

If a delivery fails, you can see exactly what went wrong and when — no guessing.

Example: Push Weather Data to HubSpot

Here's a real-world setup:

  1. Trigger: Rain forecast in Houston, Dallas, and Austin
  2. Payload Mode: Matched Locations Only
  3. Endpoint: HubSpot workflow webhook URL
  4. External Location IDs: Map each city to your HubSpot region property

When rain is forecast, Wehoads sends a POST to HubSpot with the matched locations and their weather data. Your HubSpot workflow picks it up and:

  • Tags contacts in those regions
  • Triggers a "rainy day deals" email sequence
  • Updates a custom property with the current weather condition

Example: Slack Alert When Air Quality Drops

  1. Trigger: Air quality index exceeds 150 in any monitored city
  2. Payload Mode: Event + Matched Locations
  3. Endpoint: Slack incoming webhook URL

Your team gets an instant Slack message listing which cities have poor air quality, so they can adjust outdoor campaign messaging before impressions are wasted.

Example: Inventory System Update on Temperature Spikes

  1. Trigger: Temperature above 32°C
  2. Payload Mode: Matched Locations Only
  3. Endpoint: Your warehouse API

Your system automatically prioritizes cold beverages, sunscreen, and cooling products for affected store locations — before demand spikes hit.

Why Webhooks Instead of Polling?

Polling Webhooks
You check repeatedly, wasting API calls Data arrives when conditions change
Latency depends on your poll interval Near-instant delivery
You build and maintain the polling logic Wehoads handles scheduling and delivery
No retry logic by default Built-in retries with full attempt logs

Getting Started

Webhook automations are available on all Wehoads plans. Create your first one in under 5 minutes:

  1. Go to Automations → Create Automation
  2. Select Webhook as the channel
  3. Enter your endpoint URL
  4. Set your triggers and locations
  5. Activate — data starts flowing on the next evaluation cycle

Create your first webhook automation →

See Wehoads on your accounts

Connect your Meta, TikTok, Google Ads, YouTube, or Google Ad Manager account — or set up a Webhook — define condition rules once, and let automation handle the rest when the world changes.