This project is a basic prototype for automating administrative tasks such as task creation, email notification, and activity logging using Node.js, Express, and Nodemailer.
- Create tasks via API
- Automatically send notification emails
- Log task creation to console
- Ready for integration with Google APIs, Slack, and DBs
- Clone the repo:
git clone https://github.com/yourusername/workflow-automation.git
cd workflow-automation- Install dependencies:
npm install- Configure environment variables in a
.envfile:
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-app-password
- Run the app:
npm start- Test API:
curl -X POST http://localhost:3000/api/tasks -H "Content-Type: application/json" -d '{"title":"Submit Report","dueDate":"2025-06-01","assignedTo":"Isuru","email":"isuru@example.com"}'- Connect to Google Calendar API
- Store tasks in MongoDB
- Slack notifications
- Admin dashboard UI (React)
MIT