A chatbot built with Facebook Page Messenger and Google Sheets for data storage. Developed using Express.js.
- 🤖 Messenger Bot – Automates responses to user inquiries.
- 📂 Google Sheets Integration – Stores and manages inquiry data.
- 💬 Live Chat – Enables real-time customer interactions.
- 🔗 Facebook Graph API Webhook – Handles Messenger events and interactions.
- Backend: Node.js, Express
- API: Facebook Graph API, Axios
- Storage: Google Sheets
- Yarn or npm
-
Clone the repository.
-
Install dependencies:
npm install
-
Use the
.env.example
file as a reference to create your own.env
for environment setup.
To start the development server:
yarn start
After running, access the application at:
http://localhost:3000/
You can deploy the backend using AWS EC2 or any other cloud service of your choice.
Install Render CLI:
curl -fsSL https://github.com/render/render-cli/releases/latest/download/install.sh | sh
Login to Render:
render login --token YOUR_RENDER_API_KEY
Deploy the backend:
render deploy --service-id YOUR_RENDER_SERVICE_ID
-
Add RENDER_API_KEY and RENDER_SERVICE_ID to:
GitHub → Repo Settings → Secrets → Actions
-
Push changes to staging or main, and GitHub Actions will handle deployment.