mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-30 13:10:56 +00:00
Merge pull request #72 from Hestia-Homes/feature/month_end_automation
Feature/month end automation
This commit is contained in:
commit
40a2ab7c20
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue