Action that retrieves current weather information for a specified location using the Open-Meteo API which provides free weather data without requiring an API key.

Example

// Get weather by city name
await runAction({
ActionName: 'Get Weather',
Params: [{
Name: 'Location',
Value: 'New York'
}]
});

// Get weather by US city with state abbreviation
await runAction({
ActionName: 'Get Weather',
Params: [{
Name: 'Location',
Value: 'New Orleans, LA'
}]
});

// Get weather by coordinates
await runAction({
ActionName: 'Get Weather',
Params: [{
Name: 'Latitude',
Value: 40.7128
}, {
Name: 'Longitude',
Value: -74.0060
}]
});

Hierarchy (view full)

Constructors

Methods

Constructors

Methods

  • Executes the action with the provided parameters.

    Parameters

    • params: RunActionParams<any>

      The action execution parameters including context

    Returns Promise<ActionResultSimple>

    Promise resolving to the action result