Skip to main content

workflows

Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.

来源信息

仓库
BuilderIO/agent-native
最近来源活动
2026年4月18日 14:33
检测到的 SKILL.md 语言
英语
星标
7,449
Forks
681

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
workflows
description
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
# Workflows ## Triggers - `new-booking` — fires when a booking is created - `before-event` — offset minutes BEFORE `startTime` - `after-event` — offset minutes AFTER `endTime` - `reschedule` — booking rescheduled - `cancellation` — booking cancelled - `no-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 |
在 GitHub 查看