Merge pull request #72 from Hestia-Homes/feature/month_end_automation

Feature/month end automation
This commit is contained in:
Jun-te Kim 2025-08-08 08:41:24 +01:00 committed by GitHub
commit 40a2ab7c20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
name: Surveyed Needs Sign Off Script
on:
schedule:
- cron: '0 17 * * 1-5'
# - cron: '0 17 * * 1-5'
workflow_dispatch:
jobs:

View file

@ -26,6 +26,7 @@ deals = hubspotClient.get_deals_from_deal_stage(DealStage.FILES_MISSING_FROM_ASS
for deal in deals:
hubspotClient.move_deals_to_different_stage([deal.deal_id], DealStage.SURVEYED_COMPLETED_SIGNED_OFF.value)
# Survyed_complete
deals = hubspotClient.get_deals_from_deal_stage(DealStage.SURVEYED_COMPLETE_NEEDS_SIGN_OFF)