workflows
它能做什么
这项技能说明触发器和步骤如何围绕预约自动发送电子邮件、短信和网络请求。适合希望提醒和跟进自动发送、无需手动操作的人。
适用场景
- ✓当你希望在每场会议前发送提醒的时候。
- ✓当你希望在会议结束后发送跟进消息的时候。
- ✓当取消或未到场应通知某人或调用某个网址的时候。
技能链接
https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/workflows/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在每位参会者会议开始前一小时,向其发送一封电子邮件提醒。”
每周 5 个新技能,1 分钟读完。
工作原理
工作流从一个触发器开始,例如新预约或会议时间,然后在设定的偏移时间运行其步骤。消息可以通过模板字段包含会议详情。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Workflows
Triggers
new-booking— fires when a booking is createdbefore-event— offset minutes BEFOREstartTimeafter-event— offset minutes AFTERendTimereschedule— booking rescheduledcancellation— booking cancelledno-show— a host marked an attendee as no-show
Steps
| Action | Sends |
|---|---|
email-host |
Email to the organizer |
email-attendee |
Email to the attendee |
email-address |
Email to a fixed address (e.g. ops@example.com) |
sms-attendee |
SMS to the attendee's phone (requires attendee phone custom field) |
sms-host |
SMS to the host |
sms-number |
SMS to a fixed number |
webhook |
HTTP POST to a URL |
Step offsetMinutes is relative to the trigger time. For before-event
use positive values (we apply them with a minus sign internally).
Template variables
In email subjects / bodies and SMS bodies:
{eventName}— event type title{attendeeName},{attendeeEmail}— first attendee{hostName},{hostEmail}— organizer{startTime},{endTime}— formatted in host's timezone{location}— meeting URL or address{cancelUrl},{rescheduleUrl}— public magic links
Firing
When a booking fires a trigger, the hook dispatcher materializes rows in
scheduled_reminders. A recurring job processes due rows and fires the
actual emails/SMS/webhooks. Framework-side recurring jobs handle the
polling.
Common tasks
| User | Action |
|---|---|
| "Email attendees 24h before the meeting" | create-workflow --trigger before-event --steps '[{action: email-attendee, offsetMinutes: 1440}]' |
| "Text me when someone books" | create-workflow --trigger new-booking --steps '[{action: sms-host, ...}]' |
| "Stop all reminders on an event type" | toggle-workflow to disable |
常见问题
哪些触发器可以启动工作流?
新预约、会议前、会议后、改期、取消和未到场。
工作流可以发送短信吗?
可以,发送给参会者、主持人或固定号码。参会者的短信需要预约上有一个电话自定义字段。
消息可以包含哪些信息?
会议名称、参会者和主持人姓名、开始时间、地点,以及改期或取消链接等字段。
详情
作者的原始描述
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
repo: BuilderIO/agent-native
热度
- GitHub 星标
- 7.6k
- 排名
- #13205
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …