Giter Site home page Giter Site logo

marcossonotec / n8n-codechat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code-chat-br/n8n-nodes-codechat

0.0 0.0 0.0 1.16 MB

n8n-nodes-codechat

Home Page: https://www.npmjs.com/package/n8n-nodes-codechat

License: MIT License

JavaScript 3.86% TypeScript 96.14%

n8n-codechat's Introduction

Telegram Whatsapp n8n-node-codechat License n8n npm npm

n8n-nodes-codechat

This is a N8n community node. It allows you to use CodeChat Api to communicate with WhatsApp in your workflow.

You can use most features provided by CodeChat. Like sending messages, creating and manipulating groups and managing chats.

Instalation

  1. Go to Settings > Community Nodes, and Click Install a community node. Community nodes

  2. Enter n8n-nodes-codechat in the npm Package Name field. And click Install. Package Name

Once installed, you can use the search bar to add the CodeChat node to your workflow. codechat_search_bar

Resource Send Message

Usage

Node configuration is quite simple, just specify the credentials and use the available resources and operations.

Credentials

All operations require a credential which is composed of the Api Key, Instance Name and the call Base Url. Which will be made available at the time of contracting the service. Credentials Codechat

Resources

This section describes which CodeChat API operations are available on this node.

Resource Send Message

Operation Method Credentials required
Send Text POST True
Send Buttons POST True
Send Template POST True
Send Media POST True
Send Media Base64 POST True
send Link Preview POST True
Send Contact POST True
Send List POST True
Send WhatsApp Audio POST True

All operations return a queue for tracking the shipment that can be monitored through the webhook.

{
  "header": {
    "queueId": "20aa6e5f-4545-4f90-b712-9a176c9509da",
    "status": "PROCESSING",
    "progress": 0
  },
  "data": {
    "jids": [
      "[email protected]"
    ]
  }
}

Resource Group

Operation Method Credentials required Description
Accept Invite PUT True Accept incoming group invite
Change Expiration PUT True Sets the expiration of group messages
Create Group POST True
Fetch Participants GET True
Group Metadata GET True Retrieve all information about the group and its participants
Invite Code GET True Generates the created group invitation
Revoke Invite PUT True
Update Info PUT True Update the group's subject or description
Update Participants PUT True
Update Profile Picture PUT True
Update Settings PUT True Update group chat and group handling rules

Resource Chat

Operation Method Credentials required Description
Block Contact PUT True
Business Profile GET True Retrieve business contact information
Mark Message As Read PUT True
Delete Message DELETE True Delete for me or everyone
On WhatsApp POST True Check if the contact is on WhatsApp
Profile Picture Url GET True Retrieve a contact's profile picture
Update Presence PUT True compising - recording - available - pause
Update Status PUT True

Compatibility

Tested on n8n version 0.198.2 and CodeChat version 2.0.0

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.