see https://console.bluemix.net/docs/services/conversation/dialog-actions.html#action-client-example for cases