Syncano-Intercom integration socket responsible for managing Intercom users.
- Socket was written using version
7.0.0
of Node and I recommend to use the same version. It comes with npm that is required to install the project. It should be in3.10.8
version or higher. If you want to use multiple versions of node I recommend n. - Account on Intercom
- Account on Syncano.
Supported users API endpoints:
- create
- update
- delete
- list
- listBy
- find
For more info check Intercom node lib docs.
This socket will react to events that are specified in socket.yml file. Check it out for more info.
Events emitted by this socket:
- intercom-user-created
- intercom-user-updated
- intercom-user-deleted
This socket will react to these events:
- intercom-create-new-user
It will also react to its own events:
- intercom-user-created
- intercom-user-updated
- intercom-user-deleted
Event history is saved in the event_history
data class.
Before you start using this socket, you will need to create a new Intercom account or use an existing one.
Then, you will need to create an Access Token by visiting developers console.
When syncing a socket with your project, you will be asked for the Access Token, like so:
$ syncano-cli socket sync intercom-users
? Intercom Access Token (ACCESS_TOKEN)
Type in value:
Once you provide the token, you are all set up!
First, sync your socket:
$ syncano-cli socket sync intercom-users
To test the integration you can call any of the specified endpoints by using the Syncano CLI like this:
$ syncano-cli socket call intercom-users/<endpoint_name>