This directory contains an example workflow that combines the Wunderground weather API and the Slack API.
- 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 andhook_url
with the hook to your target Slack channel. - Deploy workflows, using the deploy.sh script, or run the commands listed there manually.
To invoke:
curl -XPOST -d 'Sunnyvale, CA' $FISSION_ROUTER/fission-function/slackweather
Or, setup a slash command and point it to the slackslashweather
workflow