跳转到内容

AI 生日提醒

第 6 部分 · 案例 8.2 · 🎁 趣味项目

难度 🟢 简单 · 耗时 ~20 分钟 · 核心节点 Notion × IF × AI

朋友太多生日总记不住?这个 workflow 维护一份 Notion “Friends” 数据库(Name / Birthday / Notes),每天 9 点扫一遍,今天有谁过生日就用 AI 根据 Notes(“喜欢徒步、刚换工作”)写一段个性化祝福,Telegram 推给你——你只需复制粘贴发给对方。

▦ workflow ai-birthday-reminder.workflow.json Lv.1
key-config.txt
Notion DB schema (你先建): Name (title) Birthday (date) Notes (rich text) - 关于对方的记录 List Friends: Database: <你的 Friends DB> Return All: true Is Birthday Today? (IF): ={{ DateTime.fromISO($json.properties.Birthday.date.start).toFormat('MM-dd') }} == ={{ $now.toFormat('MM-dd') }} AI Compose Wish: Prompt: 给 {{ name }} 写生日祝福,根据笔记: {{ notes }} System: 温暖、个性化、不要套话。100 字以内。 Telegram Notify Me: Chat ID: <你的 Telegram> Text: 🎂 今天是 X 的生日 + AI 写的祝福
📋 ai-birthday-reminder.workflow.json