node-red-contrib-wws-example1 0.0.1

This node of Node-RED nodes is for Watson Workspace Action Fulfillment. This node use with node-red-contrib-wwsNodes.

npm install node-red-contrib-wws-example1

Version: 0.0.1

Overview

This node of Node-RED nodes is for Watson Workspace Action Fulfillment.

This node use with node-red-contrib-wwsNodes.

Node

wws action fulfillment

  • This node post query of createTargetedMessage.
  • This node adds '"x-graphql-view": "PUBLIC, BETA"' in headers.

Usage: annotations setting

There are two ways to specify annotations.

When setting to the property of the node

annotations property:

[{genericAnnotation: {title: "Sample Title", text: "Sample Body", buttons: [{postbackButton: {title: "Sample Button", id: "Sample_Button", style: PRIMARY}}]}}]

When setting with the previous function node

msg.annotations = [{
    genericAnnotation: {
        title: "Sample Title", 
        text: "Sample Body", 
        buttons: [{
            postbackButton: {
                title: "Sample Button", 
                id: "Sample_Button",
                style: "PRIMARY"
            }
        }]
    }
}];

Licence

Apache License Version 2.0.

This software includes the work that is distributed in the Apache License 2.0.

Author

Takeshi Yoshida

Releace

2017/09/02 v0.0.1 Initial

Node Info

Version: 0.0.1
Updated 2 weeks, 4 days ago
License: Apache-2.0

Downloads

2 in the last day
5 in the last week
46 in the last month

Nodes

  • actionfulfillment

Keywords

  • node-red

Maintainers

  • tyoshida