A dockerized Node.js project that integrates Pipedrive with Bling. If a deal has status "won" in Pipedrive, it will create an "order" on Bling platform.
-
Open
docker-compose.yml
and edit lines 31, 32 and 33 with your Pipedrive and Blig API keys and domain. -
then build the docker:
$ docker-compose build
- and then run the project:
$ docker-compose up
- The base URL shall be: https://127.0.0.1:8099
GET /v1/deals
: will bring the deals won in Pipedrive that reflect an order in Bling.
GET /v1/consolidate
: will run the integration, looking for won deals in Pipedrive and creating orders in Bling.
As this is a simple demonstration of an integration, all data stored is deleted when the docker is stopped.
- API authentication
- Persist data after docker is stopped
- Convert Pipedrive response to Bling's XML