Automation, Testing & CI/CD
Automated reporting, daily site checks, and CI/CD workflows that cut down repetitive tasks and keep the team informed.
- Status
- In daily use
- Stack
Overview
I built several automation tools to take care of tasks that used to require manual work, from generating lead reports and checking live websites to handling deployments and keeping the team updated on pull requests.
The goal was simple: spend less time on repetitive tasks and make sure important updates don’t get missed.
The problem
A few tasks were taking up time that could be spent on actual development:
- Gathering lead-generation data and putting together reports manually.
- Regularly checking client websites to make sure pages, links, and booking flows were working.
- Building and uploading releases manually.
- Keeping reviewers informed whenever a pull request was ready for review.
These tasks weren’t particularly difficult, but they were repetitive and easy to overlook.
What I built
Lead-generation report bot.
I built a Playwright bot that logs into a lead-generation platform, collects visitor activity, and turns the data into a formatted Word report using a predefined template.
It gathers details such as company name, location, industry, last activity, intent score, page views, and visitor count. Company names are matched against a local companies.json file to find their corresponding websites. Any unmatched companies are listed separately in an HTML report.
The reporting period adjusts automatically: three days on Mondays and one day on other days, with a --days=N option when a different period is needed.
Reports can also be uploaded directly to Google Drive, organized into the current month’s folder, with a shareable link generated afterward. Both OAuth2 and service account authentication are supported.
The bot uses playwright-extra with the stealth plugin, along with human-like delays and interactions to handle the platform’s automated access restrictions.
It saves up to 30 minutes of work every time a report is generated.
Daily website monitoring.
I set up scheduled Playwright tests that run daily against three live client websites. They check page availability, broken links, and important WooCommerce functionality, including booking flows.
Each run sends a notification to Google Chat when testing starts and finishes. If something fails, the team gets an alert instead of having to discover the issue during a manual check.
CI/CD pipelines and pull request notifications.
I also worked on CI/CD pipelines to automate testing and deployment, removing the need to manually build and upload releases.
Google Chat notifications are integrated into the workflow to keep the team informed throughout the process. This includes deployment updates and pull request notifications whenever a PR is ready for review.
Reviewers no longer need to be notified manually or rely on someone remembering to send them a message. The notification takes care of that as part of the workflow.
Tech stack
Playwright, TypeScript, CI/CD, Google Chat, Google Drive, WooCommerce.
Outcome
- Saved up to 30 minutes per lead-generation report.
- Automated daily checks across three live client websites.
- Made test results and failures visible through Google Chat notifications.
- Removed manual build and release uploads.
- Automated pull request notifications, eliminating the need to manually notify reviewers.
- Made recurring development and maintenance tasks more consistent.
What I learned
Automation isn’t just about making something run on its own. It’s also about making sure the right people know what’s happening.
A test that fails without anyone noticing doesn’t help much. The same goes for a pull request that sits waiting for review because nobody was notified.
Building notifications into these workflows made a real difference. Less time spent chasing updates, fewer things to remember, and more time available for development.