# The Flybook + 7shifts Integrations: Connect with Zapier MCP
> zapier.com/apps/the-flybook/integrations/7shifts
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate The Flybook and 7shifts in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `read · payroll_period_closed`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "7shifts", owner: "me" });

const { data } = await zapier.runAction({
  app: "7shifts",
  actionType: "read",
  action: "payroll_period_closed",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action 7shifts read payroll_period_closed \
  --inputs '{}'
```

## The Flybook

### Identity
The Flybook is a reservation software for the tourism industry.  It handles everything from scheduling to payments to online booking and more.

- App slug: the-flybook
- Operations published here: 7 (7 events)

### Authentication
Zapier connects to The Flybook via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection the-flybook
```

### Capabilities

#### Events (7)

Events fire when something happens in The Flybook. Use them to start a run.

##### Back End Booking Exported
Triggers when a reservation is manually exported from The Flybook

- Type: read · Key: `back_end_booking_created`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "back_end_booking_created" })`
- CLI: `npx zapier-sdk run-action the-flybook read back_end_booking_created`

##### Client Created
Triggers when a new client is created.

- Type: read · Key: `client_created`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "client_created" })`
- CLI: `npx zapier-sdk run-action the-flybook read client_created`

##### Front End Booking
Triggers when a reservation is created from an external source (Front End, OTA, etc..).

- Type: read · Key: `front_end_booking_created`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "front_end_booking_created" })`
- CLI: `npx zapier-sdk run-action the-flybook read front_end_booking_created`

##### Guest Feedback Submitted
Triggers when a guest provides feedback via the internal feedback system.

- Type: read · Key: `guest_feedback_response`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "guest_feedback_response" })`
- CLI: `npx zapier-sdk run-action the-flybook read guest_feedback_response`

##### Inquiry Form Submitted
Triggers when an inquiry form is submitted.

- Type: read · Key: `inquiry_form_submitted`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "inquiry_form_submitted" })`
- CLI: `npx zapier-sdk run-action the-flybook read inquiry_form_submitted`

##### Scheduled Activity Exported
Triggers when a user manually chooses to export a scheduled activity.

- Type: read · Key: `sched_act_export`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "sched_act_export" })`
- CLI: `npx zapier-sdk run-action the-flybook read sched_act_export`

##### Waiver Signed
Triggers when a waiver is signed and filed.

- Type: read · Key: `waiver_signed`
- Requires: nothing
- SDK: `runAction({ app: "the-flybook", actionType: "read", action: "waiver_signed" })`
- CLI: `npx zapier-sdk run-action the-flybook read waiver_signed`

## 7shifts

### Identity
7shifts is the complete restaurant team management tools that helps you hire, train, schedule, pay and retain employees.

- App slug: 7shifts
- Operations published here: 18 (9 events, 9 queries)

### Authentication
Zapier connects to 7shifts via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection 7shifts
```

### Capabilities

#### Events (9)

Events fire when something happens in 7shifts. Use them to start a run.

##### Payroll Period Closed
Triggers when a payroll period is closed.  Note that the time periods for all locations must be closed before this will be triggered.

- Type: read · Key: `payroll_period_closed`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "payroll_period_closed" })`
- CLI: `npx zapier-sdk run-action 7shifts read payroll_period_closed`

##### Scheduled Published
Triggers when a schedule is published.  Note that this will trigger on new and modified schedules.

- Type: read · Key: `scheduled_published`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "scheduled_published" })`
- CLI: `npx zapier-sdk run-action 7shifts read scheduled_published`

##### Time Punch Created
Triggers when a time punch is created.

- Type: read · Key: `time_punch_created`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "time_punch_created" })`
- CLI: `npx zapier-sdk run-action 7shifts read time_punch_created`

##### Time Punch Deleted
Triggers when a time punch is deleted.

- Type: read · Key: `time_punch_deleted`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "time_punch_deleted" })`
- CLI: `npx zapier-sdk run-action 7shifts read time_punch_deleted`

##### Time Punch Modified
Triggers when a time punch is modified.

- Type: read · Key: `time_punch_edited`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "time_punch_edited" })`
- CLI: `npx zapier-sdk run-action 7shifts read time_punch_edited`

##### User Created
Triggers when a user is modified.

- Type: read · Key: `user_created`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "user_created" })`
- CLI: `npx zapier-sdk run-action 7shifts read user_created`

##### User Deactivated
Triggers when a user is deactivated.

- Type: read · Key: `user_deactivated`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "user_deactivated" })`
- CLI: `npx zapier-sdk run-action 7shifts read user_deactivated`

##### User Modified
Triggers when a user is modified.

- Type: read · Key: `user_modified`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "user_modified" })`
- CLI: `npx zapier-sdk run-action 7shifts read user_modified`

##### User Reactivated
Triggers when a user is reactivated.

- Type: read · Key: `user_reactivated`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "read", action: "user_reactivated" })`
- CLI: `npx zapier-sdk run-action 7shifts read user_reactivated`

#### Queries (9)

Queries read from 7shifts and return data. They change nothing.

##### Get Daily Sales & Labor Report
Retrieves daily sales

- Type: search · Key: `get_daily_sales`
- Requires: location_id, start_date, end_date
- Optional: department_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "get_daily_sales" })`
- CLI: `npx zapier-sdk run-action 7shifts search get_daily_sales`

##### Get Hours and Wages Report Detailed
Retrieves either scheduled or actual hours and wages

- Type: search · Key: `get_hours_and_wages`
- Requires: punches, company_id, from, to, location_id
- Optional: department_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "get_hours_and_wages" })`
- CLI: `npx zapier-sdk run-action 7shifts search get_hours_and_wages`

##### Get Hours and Wages Report Compact
Retrieves either scheduled or actual hours and wages per user per role

- Type: search · Key: `get_hours_and_wages_compact`
- Requires: punches, company_id, from, to
- Optional: location_id, department_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "get_hours_and_wages_compact" })`
- CLI: `npx zapier-sdk run-action 7shifts search get_hours_and_wages_compact`

##### List Departments
List Departments for a company

- Type: search · Key: `list_departments`
- Requires: company_id, location_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "list_departments" })`
- CLI: `npx zapier-sdk run-action 7shifts search list_departments`

##### List Locations
List Locations for a company

- Type: search · Key: `list_locations`
- Requires: company_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "list_locations" })`
- CLI: `npx zapier-sdk run-action 7shifts search list_locations`

##### List Roles
Lists roles for a company

- Type: search · Key: `list_roles`
- Requires: company_id, location_id
- Optional: department_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "list_roles" })`
- CLI: `npx zapier-sdk run-action 7shifts search list_roles`

##### Retrieve Shift
Retrieve a specific shift by Shift ID

- Type: search · Key: `retrieve_shift`
- Requires: company_id, shift_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "retrieve_shift" })`
- CLI: `npx zapier-sdk run-action 7shifts search retrieve_shift`

##### Retrieve Time Punch
Retrieve a specific time punch by time punch ID

- Type: search · Key: `retrieve_time_punch`
- Requires: company_id, time_punch_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "retrieve_time_punch" })`
- CLI: `npx zapier-sdk run-action 7shifts search retrieve_time_punch`

##### Retrieve User
Retrieve a specific user by User ID

- Type: search · Key: `retrieve_user`
- Requires: company_id, user_id
- SDK: `runAction({ app: "7shifts", actionType: "search", action: "retrieve_user" })`
- CLI: `npx zapier-sdk run-action 7shifts search retrieve_user`

## Frequently asked questions about automating with The Flybook and 7shifts

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- The Flybook integrations: zapier.com/apps/the-flybook/integrations.md
- 7shifts integrations: zapier.com/apps/7shifts/integrations.md
- Full page: zapier.com/apps/the-flybook/integrations/7shifts
- SDK: npmjs.com/package/@zapier/zapier-sdk