Description
GHN GTalk n8n Node
This is a community node for n8n to interact with the GHN GTalk API. It allows you to automate tasks related to GTalk, such as sending messages.
Features
This node supports the following resources and operations:
Message
- Send: Send a message to a specified channel.
Installation
To install this n8n community node, you can use the following command in your n8n root directory:
npm install @ghntech/n8n-nodes-gtalk
Alternatively, you can install it directly from within n8n:
- Go to Settings > Community Nodes.
- Click Install a custom node.
- Enter
@ghntech/n8n-nodes-gtalkin the npm package name field. - Click Install.
Credentials
This node requires GhntechGtalkApi credentials. To set them up:
- In n8n, click on Credentials in the left sidebar.
- Click New Credential.
- Search for
GHN GTalk APIand select it. - Provide the Username and Password for basic authentication. The
OA Tokenwill be automatically generated from these credentials.
Usage Example: Send a Message
To send a message using this node:
- Add the GHN GTalk node to your workflow.
- Select Message as the Resource.
- Select Send as the Operation.
- Provide the Channel ID and Content Text. The
Client Message IDwill be automatically generated using a timestamp. - Execute the node to send the message.
Development
If you are developing this node, here are some useful commands:
n8n-node build: Compiles the TypeScript code to JavaScript.n8n-node build:watch: Compiles the TypeScript code and watches for changes.n8n-node dev: Starts n8n in development mode with the node loaded.n8n-node lint: Lints the code.n8n-node lint:fix: Lints the code and fixes fixable issues.n8n-node release: Prepares a new release of the node.n8n-node prepublishOnly: Runs before publishing the package.