Skip to content

Instantly share code, notes, and snippets.

@chilicat
Created August 25, 2015 20:08
Show Gist options
  • Save chilicat/388fbac4ae75a07d3352 to your computer and use it in GitHub Desktop.
Save chilicat/388fbac4ae75a07d3352 to your computer and use it in GitHub Desktop.
Simple Slack/Stackstorm Workflow
---
name: "workflow_test"
description: "Simple Action Chain workflow"
runner_type: "action-chain"
entry_point: "workflows/workflow_test.yaml"
enabled: true
parameters:
vm_name:
description: "VM Name"
type: string
required: true
state:
description: "State (present/absent)"
type: string
required: false
default: present
# action_context must be decalred explictly in order to make use in workflow.
api_user:
description: "Chat user."
type: string
required: true
default: "{{ action_context.api_user }}"
api_user:
description: "Chat user."
type: string
required: true
default: "{{ action_context.api_user }}"
source_channel:
description: "Chat source channel"
type: string
required: true
default: "{{ action_context.source_channel }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment