Workflows
Agent BuildingworkflowsWorkflows is an Agent Skill for agent building published in the BuilderIO/agent-native repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Trigger-based automations — reminders, follow-ups, webhooks — across the booking lifecycle.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/BuilderIO/agent-native/blob/HEAD/packages/scheduling/docs/skills/workflows/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/workflows, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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. [email protected]) |
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 |