Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Отчёты, аналитика и дашборды

Отчёты, аналитика и дашборды

Создание отчетов pdfmill по метрикам из форм и отправка через Gmail и Drive

Запускается при отправке формы запроса отчета, создает PDF из строк метрик в Google Sheets с помощью pdfmill, затем сохраняет его в Google Drive и отправляет по почте через Gmail.

Что делает

## Metrics sheet schema Create one row per metric with these exact headers: | Report key | Period | Metric | Current | Previous | Change | Direction | Section | Commentary | |---|---|---|---|---|---|---|---|---| | sales | Q3 2026 | Revenue | $128,400 | $114,200 | +12.4% | up | Performance | Revenue grew on enterprise expansion. | | sales | Q3 2026 | Churn rate | 2.9% | 2.5% | +0.4 pt | down | Next steps | Investigate churn by plan and cohort. | - Report key and Period must exactly match the form values. - Metric and Current are required for a row to count. - Previous, Change, and Direction populate the comparison table. - Repeating the same Section + Commentary is deduplicated. - Direction = down marks the KPI delta as adverse; other values render as up. The Google Sheets node deliberately has no document selected. Choose your sheet during setup; never publish a real spreadsheet ID in a template.

Шаги

  1. Report request form
  2. Parse and validate the request
  3. Is the request valid?
  4. Email request corrections
  5. Load matching metrics from Google Sheets
  6. Build the report from metric rows
  7. Were matching metrics found?
  8. Email that no metrics matched
  9. Generate the report PDF
  10. Archive the report in Google Drive
  11. Email the finished report

Похожие автоматизации