clinq-crm-bridge
v4.2.1
Published
CLINQ CRM-Bridge Server
Downloads
37
Readme
CLINQ CRM-Bridge Server
This is the CLINQ CRM-Bridge Server. It provides a unified way to connect the CLINQ browser extension to any CRM software.
Bootstrapping a new bridge
If you want to bootstrap a new CRM-Bridge you can use one of these repositories:
- JavaScript: clinq-crm-bridge-boilerplate
- TypeScript: clinq-crm-bridge-boilerplate-typescript
Installation
npm install --save clinq-crm-bridge
# or
yarn add clinq-crm-bridge
Quick Start
const bridge = require("clinq-crm-bridge");
const adapter = {
getContacts: async ({ apiKey, apiUrl }) => {
// TODO: Fetch contacts from CRM using apiKey and apiUrl or throw on error
return [
{
name: "Benjamin Kluck",
phoneNumbers: [
{
label: "Mobile",
phoneNumber: "+4915799912345"
}
]
}
];
}
};
bridge.start(adapter);