🔥 🚰 Firebase Pipedrive
Automagically post new records from a Firebase Cloud Firestore database as Pipedrive CRM leads in real-time using a Node.js script. The script listens to changes to the database using the
onSnapshot method and uses the Pipedrive API to add new contacts and leads.
⭐ Getting started
- Fork this repository
- Add required repository secrets or keys in the configuration file
- Run the Node.js script
Just adding the environment variables in sufficient to get started, but you additionally configure the name and the avatar of the bot too.
Locally, environment variables are loaded from a
FIREBASE_SERVICE_ACCOUNT_KEYis the Firebase Service Account Key in JSON format
FIREBASE_DATABASE_URLis the Firebase Cloud Firestore database URL, e.g., https://example.firebaseio.com
API_KEYis the API token from Pipedrive
Run the script using
npm run run
Compile TypeScript and run Node.js script:
npm run build && npm run start
- Code: MIT © Koj
- "Firebase" is a trademark of Google LLC
- "Pipedrive" is a trademark of Pipedrive Inc.
An open source project by Koj.
Furnish your home in style, for as low as CHF175/month →