> ## 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.

# 用 AI 生成并发送每日邮件摘要

> 使用定时触发器 + AI 生成来汇总当天活动并邮件发送给团队

<Tip>我们推荐直接在 AI 对话中构建自动化示例。只需描述你想要的工作流，AI 会为你完成全部设置，包括触发器、操作、脚本和配置。</Tip>

## 用 AI 创建

打开表格右侧边栏的 AI 对话，告诉 AI 你想要什么。例如：

*"每天下午 6 点，找出今天完成的所有任务，汇总成简报，发送到 [team@yourcompany.com](mailto:team@yourcompany.com)"*

AI 会自动创建完整的工作流。你可以查看生成的脚本，用真实数据测试，确认无误后启用。

## 手动设置

1. **创建工作流**，触发器选择 **定时执行** —— 每天 18:00。
2. **添加操作** → **查询记录**。
   * 表格：**任务**
   * 筛选条件：`状态` **是** `已完成` AND `完成时间` **是** `今天`
3. **添加操作** → **AI 生成**。
   * 提示词：
     ```
     Summarize these completed tasks into a brief daily report.
     Group by category if applicable. Keep it under 200 words.

     Tasks: <通过 + 插入查询记录的输出>
     ```
   * 输出类型：**文本**
4. **添加操作** → **发送邮件**。
   * 收件人：`team@yourcompany.com`
   * 主题：`每日任务报告`
   * 正文：插入 AI 生成的输出（通过 **+**）
5. 逐步测试每个步骤，然后**启用**。

## 变体

* **周报摘要：** 将计划改为每周五执行，筛选条件改为"过去 7 天"。
* **客户活动摘要：** 查询 CRM 表中的新互动记录并生成摘要。
