Skip to main content

Templates

Templates are pre-built rules for the most common sync scenarios, so you can get started without writing any code.

To use a template, open a pipe from the Pipes page and select the Templates tab in the rule editor. Click a template to see how it would treat your upcoming events from the source calendar, then choose Apply Template to save it to the pipe.

Template selector showing all built-in templates

Copy All Events​

Syncs every event from the source calendar to the target calendar without any filtering or modification. This is the default rule for new pipes.

Use case: Simple calendar mirroring where you want an exact copy of all events.

Visual Builder equivalent: Yes -- an empty condition list with a Pass action.

function rule(event: RuleEvent): RuleResult {
return { pass: true };
}

Copy All Events is a good starting point — switch to another template or customize the rule later.

Busy Events as "Personal Commitment"​

Only syncs busy events and replaces the title with "Personal Commitment", clearing description and location. Events marked free or tentative are blocked.

Use case: Sharing availability across work and personal calendars without exposing meeting details. Recipients see that you're busy, but not why.

Visual Builder equivalent: Yes -- a "Show as equals busy" condition with a Pass action and a redaction transform.

function rule(event: RuleEvent): RuleResult {
if (event.showAs === 'busy') {
return {
pass: true,
transform: {
title: 'Personal Commitment',
description: '',
location: '',
},
};
}
return { pass: false, reason: 'Not marked as busy' };
}
What this still exposes

Start time, end time, and duration cannot be transformed by a rule. If the timing itself is sensitive, block the event instead.

Weekend Events Only​

Only syncs events that start on Saturday or Sunday in your time zone, which is filled in when you apply the template. Weekday events are blocked.

Use case: Keeping weekend plans visible on a shared calendar without cluttering it with weekday meetings.

Visual Builder equivalent: Yes -- a "Day of week is one of Sun, Sat" condition with a Pass action.

function rule(event: RuleEvent): RuleResult {
if (
event.isOnDays({ days: ['sun', 'sat'], timeZone: 'America/Los_Angeles' })
) {
return { pass: true };
}
return { pass: false, reason: 'Not on a weekend' };
}

Weekday Events Only​

Only syncs events that start Monday to Friday in your time zone, which is filled in when you apply the template. Weekend events are blocked.

Use case: Mirroring your work schedule to a shared calendar while keeping personal weekends private.

Visual Builder equivalent: Yes -- a "Day of week is one of Mon–Fri" condition with a Pass action.

function rule(event: RuleEvent): RuleResult {
if (
event.isOnDays({
days: ['mon', 'tue', 'wed', 'thu', 'fri'],
timeZone: 'America/Los_Angeles',
})
) {
return { pass: true };
}
return { pass: false, reason: 'Not on a weekday' };
}

Evening Events Only​

Only syncs events that run into the evening: 6 PM to midnight in your time zone, which is filled in when you apply the template. Events that end before 6 PM and all-day events are blocked.

Use case: Sharing after-work plans on a personal or family calendar without exposing daytime meetings.

Visual Builder equivalent: Yes -- "Time of day overlaps" from 18:00 and "All day is false" conditions with a Pass action.

function rule(event: RuleEvent): RuleResult {
if (
event.overlapsTimeOfDay({ from: '18:00', timeZone: 'Europe/Prague' }) &&
!event.isAllDay
) {
return { pass: true };
}
return { pass: false, reason: 'Not in the evening' };
}

Earlier versions of the weekend, weekday, and evening templates judged the day and hour in UTC, so events near midnight could land on the wrong side. A pipe still using one shows the template as Applied · older version; apply the template again to switch to your time zone.

Template Comparison​

TemplateFilters Events?Transforms Events?Visual Builder?
Copy All EventsNoNoYes
Busy Events as "Personal Commitment"YesYesYes
Weekend Events OnlyYesNoYes
Weekday Events OnlyYesNoYes
Evening Events OnlyYesNoYes