help.chat-api.com

Individual node JS code in messengers API chains

To customize the chain individually, you can create a link with a custom Node JS code. In fact, this link was created to provide you with more self-sufficiency in working with the API chain. Use this opportunity to work out individual tasks and needs.

All parameters that have entered the system are available in the local scope (this), all changes with the scope will be considered the result of code execution.

Customization

Enter the code in the initial setup, for this purpose there is a graphical code highlighting that is used in development tools. You can also enter the code in static data, but this is less convenient.

Response

Unlike other link templates, this link does not provide an answer. All changes are immediately sent to the system. If you have deleted or added something on Skype, it will affect the general data, for example:

info

{

first:true,

second:false

}

after executing the following code:

The data will be obtained:

info

{

second:true,

third:’test’

}

Was this article helpful?

Your opinion will be used to improve the content of the article

The Most Multifunctional API Provider

Chat API has been operating since 2015 and is one of the first and largest providers in Eastern Europe.

Here are some curious and important figures:

  • We have tremendous expertise in docker container management at scale with an SLA of 99.5+%;
  • Chat API involves in its work more than 200 servers, with the ability to quickly connect another 100;
  • 3200 cores and 25 terabytes of RAM;
  • 200+ methods and features that keep adding;
  • Highload system, Up Time servers 99.9%;
  • Support 24\7;
Get access to the API