Weather via Slack

Weather via Slack delivers real-time weather updates directly to your Slack channel. Triggered by webhooks, this automated workflow fetches location-based forecasts and shares them in a user-friendly format, ensuring you stay informed about temperature, wind conditions, and forecasts without leaving your communication platform.

7/8/2025
5 nodes
Simple
2klkhxhulpp42bs6aw8supytkfxdtmzlwebhooksimpleslackintegrationapicommunicationnotification
Categories:
Communication & MessagingSimple WorkflowWebhook Triggered
Integrations:
Slack

Target Audience

  • Slack Users: Teams that rely on Slack for communication and want to receive weather updates directly in their channels.
    - Developers: Individuals looking to integrate weather data into their applications without extensive coding.
    - Businesses: Companies that need timely weather information for decision-making, especially in sectors like logistics and outdoor events.
    - Weather Enthusiasts: People who want to stay updated on weather conditions in specific locations.
  • Problem Solved

    This workflow addresses the need for real-time weather updates in Slack channels, allowing users to receive critical weather information without leaving their communication platform. It automates the process of fetching weather forecasts based on location, thus saving time and ensuring that teams are informed about weather conditions that may impact their activities.

    Workflow Steps

  • Webhook Trigger: The workflow starts when a POST request is received at the slack1 webhook.
    2. OpenStreetMap API Call: It queries the OpenStreetMap API to convert the location name provided in the webhook request into geographical coordinates (latitude and longitude).
    3. NWS API Call: Using the coordinates, it makes a request to the National Weather Service (NWS) API to get the grid point data relevant to the location.
    4. Forecast Data Retrieval: It then retrieves the weather forecast data from the NWS based on the grid point information.
    5. Slack Notification: Finally, the workflow constructs a formatted message with the weather details and sends it to the specified Slack channel, allowing users to stay updated on weather conditions.
  • Customization Guide

    To customize this workflow:
    - Change Webhook Path: Modify the path parameter in the Webhook node to change the endpoint.
    - Adjust Slack Channel: Update the channelId in the Slack node to send notifications to a different Slack channel.
    - Modify Weather Data Source: If desired, replace the OpenStreetMap or NWS APIs with other weather data sources by adjusting the respective HTTP Request nodes.
    - Personalize Message Format: Edit the message format in the Slack node to include additional weather details or change the presentation style to fit your team's needs.