This small tool checks if some stuffs have changed in Teamleader and notifies the changes to a Slack channel.
Important: I made this tool for my personal use. It might not fit your needs but feel free to open a PR for any improvement ;-)
At the time of writing Teamleader doesn't support webhooks to receive events. The only way to know if something has changed is to periodically fetch the desired data and check if it has changed since the last check. That's how this tool works.
At the moment, there is only 1 watcher implemented for Deal Phase Changes (cfr watchers/deal_phase_watcher.js
).
This watcher pushes a notification when a deal is moved from one phase to another.
Make sure you have Node.js v4 or higher and npm.
- Clone the repo
- Install dependencies:
npm i
- Set up a Slack incoming webhook
- Edit the
config.json
file with your API key, group, webhook URL and Slack channel - Run the tool
npm start
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
This code is released under the MIT License.
Made with ️❤️️️ by Javry in Belgium.