node-red-contrib-botmaster
Version:
botmaster for node-red
35 lines (32 loc) • 994 B
HTML
<script type="text/javascript">
RED.nodes.registerType('action-end',{
category: 'botmaster',
color: '#a6bbcf',
defaults: {
name: {value:""}
},
inputs: 1,
outputs: 1,
align: 'right',
icon: "parser-xml.png",
label: function() {
return this.name||"action-end";
}
});
</script>
<script type="text/x-red" data-template-name="action-end">
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="action-end">
<p>
Resolves a fulfill tag.
</p> <p>
Uses <code>msg.payload</code> as the return value for the tag,
replacing the tag with the response.
</p> <p>
Once all tags have been resolved it will output the same <code>msg</code> that was input.
</p>
</script>