Template NodeJS service template for integrating with Ultimate Chat API
Template for creating a NodeJS service that integrates with Ultimate Chat API. It is written in Typescript and uses Express as the web framework.
It implements two simple webhooks:
POST /converse-webhook
- Receives a conversation webhook event from Ultimate Chat APIPOST /action-webhook
- Receives an action webhook event from Ultimate Chat API
These webhooks will be used in your Ultimate Custom CRM setup in our Ultimate's dashboard to receive events from your Bot (text messages, escalation information)
Please remember that this is an example and not a production-ready service.
For more information on how Ultimate Chat API works, please refer to our official documentation
- Install the dependencies with
npm install
- Copy
.env.example
as.env
- Run
npm run build && npm run test
to make sure everything is ok - Run the application
npm run dev
- After the application is running, you can use the postman collection
CustomCrmWebhook.postman_collection.json
to test the webhooks