# Scheduling

Schedule Deep Analysis reports to be delivered automatically via Email, Slack, or Teams.

Unlike dashboard snapshots that show numbers, scheduled reports explain what changed and why—with trends, anomalies, and recommendations included.

### Use Cases

**Meeting prep**: Schedule 30 minutes before recurring meetings. Your team gets context without manually checking dashboards.

**Weekly reviews**: "What changed this week?" delivered Monday morning to Slack—ready for discussion.

**Replace dashboard check-ins**: Instead of pulling data, insights come to you.

### Creating a Schedule

1. Run a Deep Analysis query
2. Click the **Schedule** button on the response

<figure><img src="https://3709841693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCeRlmJf2y704TpjpubE1%2Fuploads%2Fgit-blob-43877b523eef58e3e65443fe0aad74da057c7588%2Fscheduling-button.png?alt=media" alt=""><figcaption><p>Click Schedule to set up recurring delivery</p></figcaption></figure>

3. Choose delivery channel (Email/Slack/Teams)
4. Add recipients
5. Set frequency: Daily, Weekly (pick day), or Monthly (pick date)
6. Click **Schedule**

<figure><img src="https://3709841693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCeRlmJf2y704TpjpubE1%2Fuploads%2Fgit-blob-dbb9a2a219e2c538490ebae962bd4def2c34140d%2Fscheduling-dialog.png?alt=media" alt=""><figcaption><p>Configure channel, recipients, and frequency</p></figcaption></figure>

Click **Test** to send a preview before committing.

### Managing Schedules

Open the schedule modal on any scheduled message to:

* Edit frequency or recipients
* View run history (past deliveries and costs)
* Delete the schedule

### Work Gate — Skip Runs When There's Nothing New

Avoid wasting credits on scheduled runs when conditions aren't met. A work gate checks your database before the agent runs — if the check fails, the run is skipped entirely and no credits are consumed.

**Use cases:**

* Skip a daily sales report if no new orders arrived
* Don't run a pipeline health check until the ETL job has finished
* Only analyze data after a specific table was updated

Dot writes and maintains the gate script for you based on a condition you describe. You can test the gate against live data before activating it. Skipped runs show as `work_gate_blocked` in run history.

{% hint style="info" %}
If the gate encounters an error, the agent runs anyway (fail-open) — so you never silently miss a report.
{% endhint %}

***

### Result Gate — Only Deliver When It Matters

Reduce notification noise by setting a plain-English condition that controls whether the report is actually sent to recipients.

The agent still runs the full analysis, but only delivers the report if your condition is met. No extra cost — the condition is evaluated as part of the normal analysis.

**Examples:**

* *"Only send if monthly revenue decreased by more than 5%"*
* *"Send only when there are more than 3 anomalies detected"*
* *"Deliver if customer churn rate exceeds the previous month"*

Suppressed reports show as `result_gate_suppressed` in run history, so you can always review what was analyzed but not delivered.

***

### Combining Both Gates

You can use work gate and result gate together on the same schedule:

1. **Work gate** checks if there's reason to run at all (saves credits)
2. **Result gate** checks if the findings are worth delivering (reduces noise)

Example: A daily pipeline report with a work gate that skips if the ETL hasn't finished, and a result gate that only sends when the error count is above threshold.

***

### Full Analysis Delivery

By default, scheduled reports deliver an executive summary PDF. Admins can enable **full analysis delivery** to send the complete report — text, charts, tables, and files — directly in the email or message.

**To enable:** Go to **Settings → Modules** and toggle **Send full analysis in scheduled reports**.

This applies to all schedules in your organization. You can toggle it anytime without recreating schedules.

| Channel   | Default         | Full Analysis                          |
| --------- | --------------- | -------------------------------------- |
| **Email** | Summary PDF     | Full report with charts and data       |
| **Slack** | Summary message | Complete analysis with visualizations  |
| **Teams** | Summary card    | Full card with charts and PDF download |

***

### Costs & Limits

* **1 ACC** (Agent Compute Credit) per scheduled run
* **Maximum frequency**: 2 times per day
* Work gate blocks do **not** consume an ACC
* Result gate suppressions **do** consume an ACC (the agent ran, only delivery was gated)

### Admin Feature: Run As User

Admins can schedule reports to run as another user—useful for delivering reports with that user's data permissions.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getdot.ai/using-dot/scheduling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
