node-red-contrib-google-chat-bot

0.0.4 • Public • Published

Features

Hangouts-chat-bot

Usage

Input Parameters:

  • Content - The content message that users want to send in hangouts-chat Content property or the msg.payload property

Return values:

  • payload Will show link to room chat or provide an error state

Set content "This is a data sensor"

hangout-node1

Press node injects to run the node. After success, copy link result to open room chat.

hangout-node2

In hangout chat

hangout-bot

[{"id":"885a65c2.ee0ff8","type":"inject","z":"947fa281.a6e48","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":220,"wires":[["224bab51.cedcd4"]]},{"id":"f7259a32.043568","type":"debug","z":"947fa281.a6e48","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":730,"y":220,"wires":[]},{"id":"224bab51.cedcd4","type":"hangoutChatBot","z":"947fa281.a6e48","hangoutsCertificate":"54da3398.354dfc","roomproperty":"AAAALmeclyU","roomtype":"str","contentproperty":"This is my test","contenttype":"str","x":460,"y":220,"wires":[["f7259a32.043568"]]},{"id":"54da3398.354dfc","type":"hangoutsCertificate","z":"","clientEmail":"","privateKey":""}]

Guideline

Guideline to use node and get keys

Reference

node-red-contrib-hangouts-bot

Package Sidebar

Install

npm i node-red-contrib-google-chat-bot

Weekly Downloads

7

Version

0.0.4

License

MIT

Unpacked Size

2.78 MB

Total Files

11

Last publish

Collaborators

  • taminhhien.mor.vn