Automated Statement of Work (SOW) generation workflow for PRO suite.
This repository contains the workflow automation for generating PRO SOW documents, including:
- Google Apps Script integration
- YAML-based workflow configuration
- Automated data extraction from Excel calculators
- API integration for SOW payload submission
PRO_SOW_GPT/
├── google_apps_script.gs # Google Apps Script main file
├── pro_sow_gpt_manifest.yaml # Workflow manifest configuration
├── pro_sow_gpt_action.yaml # API action definitions
├── pro_sow_gpt_global_intructions.txt # Global instructions
├── setup_github.py # GitHub setup script
├── github_integration.py # GitHub API helper
└── README.md # This file
-
Install Git
- Download from: https://git-scm.com/download/win
- Or use:
winget install Git.Git
-
Create a GitHub Personal Access Token
- Go to: https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Select scopes:
repo(full control of private repositories) - Copy the token (you'll need it for setup)
-
Run the setup script:
python setup_github.py
-
Or manually set up:
# Initialize Git repository git init # Configure Git user git config user.name "surajdeval" git config user.email "your-email@example.com" # Add remote repository git remote add origin https://github.com/surajdeval/PRO_SOW_GPT.git # Create initial commit git add . git commit -m "Initial commit: PRO SOW GPT workflow" # Push to GitHub (you'll be prompted for credentials) git push -u origin main
Option 1: Environment Variable
# Windows PowerShell
$env:GITHUB_TOKEN = "your_token_here"
# Windows CMD
set GITHUB_TOKEN=your_token_hereOption 2: Token File
Create a file named .github_token in the project root:
your_token_here
Option 3: Pass to Script
python github_integration.py
# Enter token when promptedRun the GitHub integration helper:
python github_integration.pyThis will:
- Verify your GitHub token
- Display your GitHub profile information
- Check if the repository exists
- Optionally create the repository if it doesn't exist
Defines the workflow steps for SOW generation, including:
- Data extraction from Excel files
- JSON payload construction
- Use case generation
- API submission
OpenAPI specification for the SOW payload submission endpoint.
Google Apps Script for Google Sheets integration and automation.
- Ensure all dependencies are installed
- Configure your Google Apps Script credentials
- Set up API endpoints as specified in
pro_sow_gpt_action.yaml - Run the workflow through your automation platform
- Create a feature branch
- Make your changes
- Commit with descriptive messages
- Push to GitHub
- Create a pull request
[Add your license information here]
- GitHub: @surajdeval
- Repository: https://github.com/surajdeval/PRO_SOW_GPT
- Keep your GitHub token secure and never commit it to the repository
- The
.gitignorefile excludes sensitive files and backup directories - Backup directories (
bkup_*/) are excluded from version control