# RemontOS Automation Map

## Назначение

Automation Map переводит повторяемые действия RemontOS в регулярные и событийные запуски.

Цель:

- снять ручную рутину с владельца;
- не терять лиды;
- держать маржу и документы под контролем;
- превращать каждый объект в контент;
- давать владельцу короткие решения дня.

## Daily Automations

| Automation | Время | Input | Output | Owner |
|---|---:|---|---|---|
| Owner Daily Digest | 09:00 | CRM, объекты, оплаты, риски | 3 решения дня | RemontOS Operator |
| Lead Inbox Check | каждые 2 часа | WhatsApp/Instagram/2GIS/Krisha notes | lead card + next action | Lead Agent |
| Object Status Check | 18:00 | фото, voice notes, stage status | daily object report | Project Agent |
| Payment Watch | 18:30 | payment_status, due_date | payment alert | Margin Agent |
| Legal Gate Watch | 19:00 | contract_status, estimate, payment schedule | red/yellow legal issues | Legal Ops KZ Agent |

## Weekly Automations

| Automation | День | Input | Output | Owner |
|---|---|---|---|---|
| Weekly Owner Review | Понедельник | dashboard data | pipeline, money, risks, decisions | RemontOS Operator |
| Content Batch | Вторник | photos/videos/project notes | posts, reels scripts, captions | Content Agent |
| Margin Review | Среда | estimates, actual costs, change requests | margin leakage list | Margin Agent |
| 2GIS / Instagram Refresh | Четверг | new photos, reviews, cases | upload checklist | Content Agent |
| Legal Packet Review | Пятница | active deals and objects | missing documents list | Legal Ops KZ Agent |

## Event-Based Automations

| Trigger | Condition | Automation | Output |
|---|---|---|---|
| New lead | new WhatsApp/Instagram/2GIS inquiry | Lead Qualification | 5 questions + CRM card |
| Measurement booked | date added | Measurement Checklist | what to measure and photograph |
| Estimate sent | estimate_status = sent | 24h Follow-Up | WhatsApp follow-up |
| Contract ready | contract_status = draft | Legal Gate Check | missing documents and red flags |
| Advance received | payment_status = advance paid | Start Approval | stage plan and crew checklist |
| Stage completed | object_stage changed | Stage Report | client message + photo proof |
| Client asks for change | change_request detected | Change Request Draft | cost, days, approval text |
| Payment overdue | due_date passed | Payment Alert | owner action and client message |
| Handover planned | object_stage = handover | Handover Packet | act, defects, final photos, warranty |
| New photos uploaded | folder has new media | Content Extraction | case angles, reels scripts, captions |

## Automation Details

### 1. Lead Qualification

Input:

- client message;
- source;
- channel;
- object notes.

Output:

- CRM card;
- missing questions;
- WhatsApp response;
- next action.

Owner:

- Lead Agent.

### 2. Measurement Checklist

Input:

- object address;
- area;
- package;
- client goal;
- known risks.

Output:

- photos to take;
- measurements to confirm;
- electrical/plumbing questions;
- material responsibility;
- expected budget range.

Owner:

- Estimate Agent + Project Agent.

### 3. Legal Gate Check

Input:

- contract status;
- estimate;
- payment schedule;
- materials responsibility;
- change request rule.

Output:

- green/yellow/red decision;
- missing documents;
- questions for lawyer;
- owner warning.

Owner:

- Legal Ops KZ Agent.

### 4. Daily Object Digest

Input:

- daily photos;
- stage status;
- blockers;
- materials;
- payment status.

Output:

- client update;
- internal risk list;
- next actions;
- missing photo proof.

Owner:

- Project Agent.

### 5. Content Batch

Input:

- raw photos;
- raw videos;
- project notes;
- client-approved facts.

Output:

- case study;
- 5 Reels/Shorts scripts;
- Instagram captions;
- 2GIS photo upload list;
- WhatsApp broadcast text.

Owner:

- Content Agent.

## Automation Priority

| Priority | Automation | Why |
|---|---|---|
| P0 | Lead Qualification | лиды дают деньги |
| P0 | Legal Gate Check | снижает риск конфликта |
| P0 | Payment Watch | защищает cash flow |
| P0 | Daily Object Digest | снижает хаос на объектах |
| P1 | Weekly Owner Review | дает управленческий ритм |
| P1 | Content Batch | превращает объекты в маркетинг |
| P2 | CRM Cleanup | поддерживает данные чистыми |
| P2 | Client Portal Digest | нужен после MVP |

## Implementation Roadmap

### Week 1

- Lead Qualification;
- Legal Gate Check;
- Owner Daily Digest.

### Week 2

- Estimate Follow-Up;
- Payment Watch;
- Weekly Owner Review.

### Week 3

- Daily Object Digest;
- Change Request Draft;
- Content Batch.

### Week 4

- Margin Review;
- Handover Packet;
- Dashboard cleanup.

## Output Channels

| Recipient | Channel | Output |
|---|---|---|
| Owner | Telegram / WhatsApp | daily digest, urgent risks |
| Vladimir | Telegram / dashboard | weekly strategy, backlog |
| Foreman | Telegram | photo checklist, stage tasks |
| Client | WhatsApp | approved updates only |
| Lawyer | Google Drive / PDF | lawyer-ready packet |
| Content | Google Drive / Instagram draft | captions, scripts, cases |

## Automation Rule

Каждая автоматизация должна создавать один из трех результатов:

1. деньги двигаются вперед;
2. риск становится видимым;
3. объект превращается в доказательство качества.
