Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
deploy.sh
formdata2json.js
slackslashweather.wf.yaml
slackweather.wf.yaml
tempconv.js
wunderground-conditions.js

README.md

Slackweather Example

This directory contains an example workflow that combines the Wunderground weather API and the Slack API.

Setup

  • Make sure that you have a running Fission Cluster with the workflow engine, see the readme for details.
  • Replace API_KEY with your Wunderground API key and hook_url with the hook to your target Slack channel.
  • Deploy workflows, using the deploy.sh script, or run the commands listed there manually.

Usage

To invoke:

curl -XPOST -d 'Sunnyvale, CA' $FISSION_ROUTER/fission-function/slackweather

Or, setup a slash command and point it to the slackslashweather workflow