Create a scheduled report
dosai_create_reportA new report by schedule: leads, dialogs, money for the period, to email (the project's notification email, dosai_set_notify_email) or Telegram (the reports bot, connected in the cabinet). Up to 10 per project. Change it later with dosai_update_report. Owner only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| enabled | No | Default true. | |
| channels | Yes | ||
| frequency | Yes | ||
| project_id | Yes | Project id, as returned by dosai_list_projects. | |
| send_times | Yes | Clock times in the project's time zone. | |
| send_weekdays | No | For weekly: 1 = Monday ... 7 = Sunday. | |
| send_day_of_month | No | For monthly. |