A comprehensive automation system for Design Gaga's business operations, including real estate lead generation, customer outreach, and task management.
- Real estate listing monitoring
- Agent lead generation
- Automated cold calling
- Email outreach campaigns
- Social media management
- Task tracking via Asana
- Google My Business optimization
- Python 3.10 or higher
- Chrome/Chromium (for web automation)
- Google Cloud Platform account (for Google My Business)
- Asana account
- OpenAI API key
- Twilio account (optional, for voice calls)
-
Clone the repository:
git clone https://github.com/designgaga/automation.git cd automation -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up configuration:
cp config/default_config.json.example config/default_config.json # Edit config/default_config.json with your settings -
Set up environment variables:
cp .env.example .env # Edit .env with your API keys and credentials
The system uses a hierarchical configuration system with the following precedence:
- Environment variables
- Configuration file (
config/default_config.json) - Default values
-
Company details in
config/default_config.json:{ "company": { "name": "Your Company", "website": "https://example.com", "phone": "+1234567890", "business_type": "design", "location": "City" } } -
API credentials in
.env:OPENAI_API_KEY=your_openai_key ASANA_ACCESS_TOKEN=your_asana_token ASANA_WORKSPACE_GID=your_workspace_id TWILIO_ACCOUNT_SID=your_twilio_sid TWILIO_AUTH_TOKEN=your_twilio_token
-
Start the main automation system:
python main.py
-
Run specific tasks:
python run_agents.py # Run agent discovery python social_media_manager.py # Run social media tasks python task_executor.py # Run scheduled tasks
-
Monitor the system:
tail -f logs/business_generator.log # View business generator logs tail -f logs/task_executor.log # View task executor logs
.
├── config/ # Configuration files
├── templates/ # Email and message templates
├── logs/ # Log files
├── data/ # Data storage
├── models/ # AI model files
├── tests/ # Test files
├── utils/ # Utility functions
├── main.py # Main entry point
├── business_generator.py # Business generation logic
├── task_executor.py # Task execution and scheduling
├── config_manager.py # Configuration management
└── requirements.txt # Python dependencies
Run the test suite:
python -m pytest tests/ -vRun specific test files:
python -m pytest test_business_system.py -v
python -m pytest test_content_creation.py -vThe system uses JSON-formatted logging with the following log files:
logs/business_generator.log: Business generation activitieslogs/task_executor.log: Task execution and schedulinglogs/asana_manager.log: Asana integrationlogs/social_media.log: Social media activities
The system supports several optional features that can be enabled in the configuration:
-
Voice Commands:
"features": { "voice_commands": { "enabled": true, "language": "en-US" } }
-
Web Automation:
"features": { "web_automation": { "enabled": true, "headless": true } }
-
Google Integration:
"features": { "google_integration": { "enabled": true, "auto_post": true } }
The system implements comprehensive error handling:
- Automatic retries for API calls
- Rate limiting for external services
- Fallback behaviors for missing dependencies
- Detailed error logging
- Fork the repository
- Create a feature branch
- Make your changes
- Run the test suite
- Submit a pull request
MIT License - see LICENSE file for details
For support, contact:
- Email: support@designgaga.com
- Website: https://designgaga.com/support