> ## Documentation Index
> Fetch the complete documentation index at: https://help.teable.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate and send a daily email digest with AI

> Run a daily automation that finds completed tasks, turns them into a short AI summary and emails the report to your team.

> [!TIP]
>
> We recommend building automation examples directly in AI chat. Just describe the automation you want, and AI will handle the full setup for you, including the trigger, actions, script, and configuration.

## Build with AI

Open the AI Chat in your table's right sidebar and tell AI what you want. For example, you can say:

*"Every day at 6pm, find all tasks completed today, summarize them into a brief report, and email it to [team@yourcompany.com](mailto:team@yourcompany.com)"*

AI will create the complete automation automatically. You can review the generated script, test it with real data, and enable the automation when ready.

## Manual setup

1. **Create an automation** with trigger **At scheduled time** — daily at 18:00.
2. **Add an action** → **Get records**.
   * Table: **Tasks**
   * Filter: `Status` **is** `Completed` AND `Completed At` **is** `today`
3. **Add an action** → **AI generate**.
   * Prompt:
     ```
     Summarize these completed tasks into a brief daily report.
     Group by category if applicable. Keep it under 200 words.

     Tasks: <insert Get records output via +>
     ```
   * Output Type: **Text**
4. **Add an action** → **Send email**.
   * To: `team@yourcompany.com`
   * Subject: `Daily Task Report`
   * Body: insert the AI generate output (via **+**)
5. Test each step, then **enable**.

## Variations

* **Weekly digest:** change the schedule to Fridays and the filter to "past 7 days".
* **Customer activity digest:** query a CRM table for new interactions and summarize.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.