Files
portal/runs/contractor-planned-2026-09-24/r2/site/aggregates.yaml
T

128 lines
3.2 KiB
YAML
Raw Normal View History

aggregates:
- bucket: enquiries
initial: open
states:
lost:
event: lost
mail:
body: Thanks for the chance to look at this - not one we're able to take on. If plans change or you want a second opinion down the line, get in touch.
subject: Not one we can take on this time
to: submitter
open:
event: received
mail:
body: We've had your enquiry land. A project manager will come back to you shortly about a visit.
subject: Got your enquiry
to: submitter
quoted:
event: quoted
surveyed:
event: surveyed
won:
event: won
mail:
body: Good news - we're going ahead with your job. Your project manager will be in touch about next steps.
subject: You're booked in
to: submitter
transitions:
open:
- surveyed
- quoted
- won
- lost
quoted:
- won
- lost
surveyed:
- quoted
- won
- lost
- bucket: job_applications
initial: open
states:
declined:
event: declined
mail:
body: Thanks for applying - we've filled the position for now. We'll keep your details on file if that changes.
subject: No opening right now
to: submitter
hired:
event: hired
mail:
body: Welcome aboard - we'd like to bring you on. We'll be in touch about start dates and paperwork.
subject: Welcome to the team
to: submitter
interviewing:
event: interviewing
open:
event: received
mail:
body: Thanks for reaching out about work with us. We'll look over what you've sent and get back to you.
subject: Got your application
to: submitter
transitions:
interviewing:
- hired
- declined
open:
- interviewing
- hired
- declined
- bucket: site_issues
initial: open
states:
action_decided:
event: action_decided
closed:
event: closed
open:
event: received
transitions:
action_decided:
- closed
open:
- action_decided
- bucket: subcontractors
initial: open
states:
approved:
event: approved
mail:
body: You're on our list of subcontractors now. We'll be in touch when a job comes up that fits.
subject: You're on our list
to: submitter
checking:
event: checking
declined:
event: declined
mail:
body: Thanks for applying - we won't be adding you to our list at this time.
subject: Not adding you to our list
to: submitter
open:
event: received
mail:
body: |-
We've had your application to become a subcontractor. We'll look it over and be in touch.
What you can do next: {site}/decide/subcontractor-application?chain={chain}&email={email}
subject: Got your application
to: submitter
papers_requested:
event: papers_requested
mail:
body: We need a few papers from you before we can approve you - see the link below for what's missing.
subject: We need some paperwork from you
to: submitter
transitions:
checking:
- papers_requested
- approved
- declined
open:
- checking
- declined
papers_requested:
- approved
- declined