# ConstructionOnline + Google Drive Integrations: Connect with Zapier MCP
> zapier.com/apps/constructiononline/integrations/google-drive
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate ConstructionOnline and Google Drive 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, `write · copy_file`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "google-drive",
  actionType: "write",
  action: "copy_file",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action google-drive write copy_file \
  --inputs '{}'
```

## ConstructionOnline

### Identity
ConstructionOnline is a platform that allows builders to manage projects, teams, and profits - all in one place.

- App slug: constructiononline
- Operations published here: 55 (27 events, 16 functions, 7 queries, 5 search-or-write actions)

### Authentication
Zapier connects to ConstructionOnline 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 constructiononline
```

### Capabilities

#### Events (27)

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

##### Album Created
Triggers when a new photo album is created.

- Type: read · Key: `album_created`
- Requires: nothing
- Optional: SOURCE_LOCATION
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "album_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read album_created`

##### Calendar Event Created
Triggers when a new calendar event is created.

- Type: read · Key: `calendar_event_created`
- Requires: nothing
- Optional: EVENT_TYPE_ID
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "calendar_event_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read calendar_event_created`

##### Calendar Event Ending
Triggers when a calendar event is about to end, within the chosen amount of time.

- Type: read · Key: `calendar_event_ending`
- Requires: nothing
- Optional: TIME_BEFORE, TIME_BEFORE_UNIT, EVENT_KIND, EVENT_TYPE_ID
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "calendar_event_ending" })`
- CLI: `npx zapier-sdk run-action constructiononline read calendar_event_ending`

##### Calendar Event Starting
Triggers when a calendar event is about to start, within the chosen amount of time.

- Type: read · Key: `calendar_event_starting`
- Requires: nothing
- Optional: TIME_BEFORE, TIME_BEFORE_UNIT, EVENT_KIND, EVENT_TYPE_ID
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "calendar_event_starting" })`
- CLI: `npx zapier-sdk run-action constructiononline read calendar_event_starting`

##### Calendar Event Updated
Triggers when a calendar event is updated.

- Type: read · Key: `calendar_event_updated`
- Requires: nothing
- Optional: EVENT_TYPE_ID
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "calendar_event_updated" })`
- CLI: `npx zapier-sdk run-action constructiononline read calendar_event_updated`

##### Comment Created
Triggers when a new comment is created.

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

##### Contact Assigned to Key Role
Triggers when a contact is assigned to a key role on a project.

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

##### Contact Created
Triggers when a new contact is created in your company.

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

##### Contact Updated
Triggers when a contact is updated.

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

##### Daily Log Created
Triggers when a new daily log is created.

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

##### Daily Log Updated
Triggers when a daily log is updated.

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

##### File Created
Triggers when a new file is created.

- Type: read · Key: `file_created`
- Requires: nothing
- Optional: SOURCE_LOCATION
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "file_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read file_created`

##### Folder Created
Triggers when a new folder is created.

- Type: read · Key: `folder_created`
- Requires: nothing
- Optional: SOURCE_LOCATION
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "folder_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read folder_created`

##### Lead Created
Triggers when a new lead is created.

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

##### Lead Updated
Triggers when a lead is updated.

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

##### Message Created
Triggers when a new message is sent in a conversation.

- Type: read · Key: `message_created`
- Requires: nothing
- Optional: RECIPIENT_ID
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "message_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read message_created`

##### Opportunity Created
Triggers when a new opportunity is created.

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

##### Opportunity Updated
Triggers when an opportunity is updated.

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

##### Project Created
Triggers when a new project is created.

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

##### Project Updated
Triggers when a project is updated.

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

##### Time Entry Ended
Triggers when an employee clocks out or ends lunch or a break.

- Type: read · Key: `time_entry_ended`
- Requires: nothing
- Optional: EMPLOYEE_ID, SHIFT_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "time_entry_ended" })`
- CLI: `npx zapier-sdk run-action constructiononline read time_entry_ended`

##### Time Entry Entered (Manual)
Triggers when a time entry is manually entered into the system.

- Type: read · Key: `time_entry_entered`
- Requires: nothing
- Optional: EMPLOYEE_ID, SHIFT_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "time_entry_entered" })`
- CLI: `npx zapier-sdk run-action constructiononline read time_entry_entered`

##### Time Entry Started
Triggers when an employee clocks in or starts lunch or a break.

- Type: read · Key: `time_entry_started`
- Requires: nothing
- Optional: EMPLOYEE_ID, SHIFT_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "time_entry_started" })`
- CLI: `npx zapier-sdk run-action constructiononline read time_entry_started`

##### Time Entry Updated (Manual)
Triggers when a time entry is manually updated.

- Type: read · Key: `time_entry_updated`
- Requires: nothing
- Optional: EMPLOYEE_ID, SHIFT_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "time_entry_updated" })`
- CLI: `npx zapier-sdk run-action constructiononline read time_entry_updated`

##### To-Do Completed
Triggers when a to-do is completed.

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

##### To-Do Created
Triggers when a new to-do is created.

- Type: read · Key: `to_do_created`
- Requires: nothing
- Optional: INCLUDE_SUBTASKS
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "to_do_created" })`
- CLI: `npx zapier-sdk run-action constructiononline read to_do_created`

##### To-Do Updated
Triggers when a to-do is updated.

- Type: read · Key: `to_do_updated`
- Requires: nothing
- Optional: INCLUDE_SUBTASKS
- SDK: `runAction({ app: "constructiononline", actionType: "read", action: "to_do_updated" })`
- CLI: `npx zapier-sdk run-action constructiononline read to_do_updated`

#### Functions (16)

Functions change something in ConstructionOnline.

##### Assign Contact
Assigns a contact to a to-do, calendar event, or schedule task.

- Type: write · Key: `assign_contact`
- Requires: ITEM_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "assign_contact" })`
- CLI: `npx zapier-sdk run-action constructiononline write assign_contact`

##### Create Calendar Event
Creates a calendar event on a project, custom, or personal calendar.

- Type: write · Key: `create_calendar_event`
- Requires: SUBJECT, CALENDAR_TYPE, START_DATE, END_DATE
- Optional: ALL_DAY_EVENT, EVENT_TYPE_ID, TRADE_ID, COST_IMPACT_TBD, NOTES, ASSIGNED_RESOURCE_IDS, RELATED_RESOURCE_IDS, IS_PRIVATE, IS_COMPLETE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_calendar_event" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_calendar_event`

##### Create Comment
Creates a comment on an object.

- Type: write · Key: `create_comment`
- Requires: OBJECT_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_comment" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_comment`

##### Create Contact
Creates a contact and adds it to your company's contact list.

- Type: write · Key: `create_contact`
- Requires: TYPE, FIRSTNAME, LASTNAME, DISPLAY_NAME, EMAIL, COUNTRY
- Optional: COMPANY, CONTACT_GROUP, CONTACT_TRADE, CONTACT_CATEGORY, CONTACT_OFFICE, CONTACT_DIVISION, CONTACT_REGION, CONTACT_QUALITY, PHONE, MOBILE_PHONE, MOBILE_PROVIDER, FAX, WEBSITE, ADDRESS, CITY, STATE, ZIP
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_contact`

##### Create Conversation
Creates a new conversation with an initial message.

- Type: write · Key: `create_conversation`
- Requires: SUBJECT, CONTENT, TO_IDS
- Optional: APPEND_SIGNATURE, CC_IDS, BCC_IDS, PROJECT_ID, IS_DRAFT
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_conversation" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_conversation`

##### Create Daily Log
Creates a daily log on a project.

- Type: write · Key: `create_daily_log`
- Requires: PROJECT_ID, ENTRY_DATE, LOG_TYPE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_daily_log" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_daily_log`

##### Create Lead
Creates a lead.

- Type: write · Key: `create_lead`
- Requires: FIRSTNAME, LASTNAME, EMAIL, COUNTRY, LEAD_STATUS, LEAD_PROBABILITY
- Optional: MIDDLENAME, COMPANY, CONTACT_GROUP, CONTACT_CATEGORY, CONTACT_OFFICE, CONTACT_DIVISION, CONTACT_REGION, PHONE, MOBILE_PHONE, MOBILE_PROVIDER, FAX, WEBSITE, ADDRESS, CITY, STATE, ZIP, LEAD_STAGE, LEAD_SOURCE, LEAD_TYPE, LEAD_SALES_REPRESENTATIVE, LEAD_VALUE, LEAD_OPENED_DATE, LEAD_CLOSED_DATE, LEAD_QUALITY, LEAD_TAGS, LEAD_DETAILS
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_lead`

##### Create Opportunity
Creates an opportunity.

- Type: write · Key: `create_opportunity`
- Requires: NAME, COUNTRY
- Optional: PROJECT_NUMBER, PROJECT_TYPE, PROJECT_GROUP, PROJECT_STAGE, PROJECT_CATEGORY, PROJECT_OFFICE, PROJECT_DIVISION, PROJECT_REGION, PROJECT_TAGS, CUSTOM_COLOR, PRIMARY_CLIENT, ADDRESS, CITY, STATE, ZIP, LAT, LON, CURRENCY, USE_CURRENCY_CODE, OPPORTUNITY_RELATED_LEADS, OPPORTUNITY_STATUS, OPPORTUNITY_STAGE, OPPORTUNITY_TYPE, OPPORTUNITY_SOURCE, OPPORTUNITY_REPRESENTATIVE, OPPORTUNITY_ESTIMATOR, OPPORTUNITY_REFERRER, OPPORTUNITY_VALUE, OPPORTUNITY_PROBABILITY, OPPORTUNITY_QUALITY, OPPORTUNITY_OPENED_DATE, OPPORTUNITY_BID_DUE_DATE, OPPORTUNITY_BID_SUBMITTED_DATE, OPPORTUNITY_LAST_CONTACT, OPPORTUNITY_NEXT_CALLBACK, OPPORTUNITY_CLOSED_DATE, OPPORTUNITY_NUMBER, PROJECT_NOTES, SCOPE_OF_WORK, COST_CODE_SET, ROLE, CON_ID, SHOW_CLIENTLINK, SHOW_TEAMLINK, IS_INACTIVE, TRAFFIC_COLOR
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_opportunity" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_opportunity`

##### Send Reply
Posts a reply message to an existing conversation.

- Type: write · Key: `create_reply`
- Requires: CONVERSATION_ID, CONTENT
- Optional: APPEND_SIGNATURE, IS_DRAFT
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_reply" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_reply`

##### Create Time Entry
Logs a completed time entry for the current user from the supplied start and end times.

- Type: write · Key: `create_time_entry`
- Requires: START_TIME, END_TIME
- Optional: PROJECT_ID, EMPLOYEE_NOTE, ADMIN_NOTE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_time_entry" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_time_entry`

##### Create To-Do
Creates a to-do.

- Type: write · Key: `create_to_do`
- Requires: SUBJECT
- Optional: DESCRIPTION, PROJECT_ID, DUE_DATE, PRIORITY, ASSIGNED_RESOURCES, RELATED_RESOURCES, TRADE, TYPE, CATEGORY, STAGE, TAGS, TRAFFIC_LIGHT, COST_IMPACT, PERCENT_COMPLETE, COMPLETED_DATE, IS_PRIVATE
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "create_to_do" })`
- CLI: `npx zapier-sdk run-action constructiononline write create_to_do`

##### End Time Entry
Clocks the current user out, ending their open time entry at the current time.

- Type: write · Key: `end_time_entry`
- Requires: nothing
- Optional: EMPLOYEE_NOTE, FAIL_IF_NOT_CLOCKED_IN, RESUME_BREAK_OR_LUNCH_FIRST
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "end_time_entry" })`
- CLI: `npx zapier-sdk run-action constructiononline write end_time_entry`

##### Resume Shift
Resumes the current user's shift after a break or lunch, restoring their previous project and cost code.

- Type: write · Key: `resume_shift`
- Requires: nothing
- Optional: FAIL_IF_NOT_ON_BREAK_OR_LUNCH
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "resume_shift" })`
- CLI: `npx zapier-sdk run-action constructiononline write resume_shift`

##### Start Break
Puts the current user on a break at the current time.

- Type: write · Key: `start_break`
- Requires: nothing
- Optional: FAIL_IF_NOT_CLOCKED_IN, RESUME_BREAK_OR_LUNCH_FIRST
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "start_break" })`
- CLI: `npx zapier-sdk run-action constructiononline write start_break`

##### Start Lunch
Puts the current user on lunch at the current time.

- Type: write · Key: `start_lunch`
- Requires: nothing
- Optional: FAIL_IF_NOT_CLOCKED_IN, RESUME_BREAK_OR_LUNCH_FIRST
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "start_lunch" })`
- CLI: `npx zapier-sdk run-action constructiononline write start_lunch`

##### Start Time Entry
Clocks the current user in on a project, starting a new time entry at the current time.

- Type: write · Key: `start_time_entry`
- Requires: nothing
- Optional: PROJECT_ID, EMPLOYEE_NOTE, ADMIN_NOTE, FAIL_IF_ALREADY_CLOCKED_IN
- SDK: `runAction({ app: "constructiononline", actionType: "write", action: "start_time_entry" })`
- CLI: `npx zapier-sdk run-action constructiononline write start_time_entry`

#### Queries (7)

Queries read from ConstructionOnline and return data. They change nothing.

##### Find Calendar Event
Finds calendar events by subject, project, calendar, event type, or date range.

- Type: search · Key: `find_calendar_event`
- Requires: nothing
- Optional: subject, subjectExactMatch, projectId, customCalendarId, calendarType, eventTypeId, isAllDay, startsOnOrAfter, startsBefore, endsOnOrAfter, endsBefore
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_calendar_event" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_calendar_event`

##### Find Contact
Finds contacts matching the supplied filters.

- Type: search · Key: `find_contact`
- Requires: nothing
- Optional: email, phone
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_contact`

##### Find Conversation
Finds conversations matching the supplied filters.

- Type: search · Key: `find_conversation`
- Requires: nothing
- Optional: subjectSearchTerm, projectID, recipientId, isUnread, isArchived, isDraft
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_conversation" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_conversation`

##### Find Lead
Finds leads matching the supplied filters.

- Type: search · Key: `find_lead`
- Requires: nothing
- Optional: email
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_lead`

##### Find Project
Finds projects matching the supplied filters.

- Type: search · Key: `find_project`
- Requires: nothing
- Optional: name, nameExactMatch, number, numberExactMatch, includeArchived
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_project" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_project`

##### Find Schedule Task
Finds schedule tasks by subject, project, or start date.

- Type: search · Key: `find_schedule_task`
- Requires: nothing
- Optional: subject, subjectExactMatch, projectId, startsOnOrAfter, startsBefore
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_schedule_task" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_schedule_task`

##### Find To-Do
Finds to-dos by project, subject, assignee, parent, due date, or completion.

- Type: search · Key: `find_to_do`
- Requires: nothing
- Optional: subject, subjectExactMatch, projectId, assignedResourceId, parentToDoId, companyOnly, isComplete, dueOnOrAfter, dueBefore
- SDK: `runAction({ app: "constructiononline", actionType: "search", action: "find_to_do" })`
- CLI: `npx zapier-sdk run-action constructiononline search find_to_do`

#### Search or Write Actions (5)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Calendar Event
Finds calendar events matching the supplied filters.

- Type: search_or_write · Key: `find_calendar_event`
- Requires: SUBJECT, CALENDAR_TYPE, START_DATE, END_DATE
- Optional: subject, subjectExactMatch, projectId, customCalendarId, calendarType, eventTypeId, isAllDay, startsOnOrAfter, startsBefore, endsOnOrAfter, endsBefore, ALL_DAY_EVENT, EVENT_TYPE_ID, TRADE_ID, COST_IMPACT_TBD, NOTES, ASSIGNED_RESOURCE_IDS, RELATED_RESOURCE_IDS, IS_PRIVATE, IS_COMPLETE
- SDK: `runAction({ app: "constructiononline", actionType: "search_or_write", action: "find_calendar_event" })`
- CLI: `npx zapier-sdk run-action constructiononline search_or_write find_calendar_event`

##### Find or Create Contact
Finds contacts matching the supplied filters.

- Type: search_or_write · Key: `find_contact`
- Requires: TYPE, FIRSTNAME, LASTNAME, DISPLAY_NAME, EMAIL, COUNTRY
- Optional: email, phone, COMPANY, CONTACT_GROUP, CONTACT_TRADE, CONTACT_CATEGORY, CONTACT_OFFICE, CONTACT_DIVISION, CONTACT_REGION, CONTACT_QUALITY, PHONE, MOBILE_PHONE, MOBILE_PROVIDER, FAX, WEBSITE, ADDRESS, CITY, STATE, ZIP
- SDK: `runAction({ app: "constructiononline", actionType: "search_or_write", action: "find_contact" })`
- CLI: `npx zapier-sdk run-action constructiononline search_or_write find_contact`

##### Find or Create Conversation
Finds conversations matching the supplied filters.

- Type: search_or_write · Key: `find_conversation`
- Requires: SUBJECT, CONTENT, TO_IDS
- Optional: subjectSearchTerm, projectID, recipientId, isUnread, isArchived, isDraft, APPEND_SIGNATURE, CC_IDS, BCC_IDS, PROJECT_ID, IS_DRAFT
- SDK: `runAction({ app: "constructiononline", actionType: "search_or_write", action: "find_conversation" })`
- CLI: `npx zapier-sdk run-action constructiononline search_or_write find_conversation`

##### Find or Create Lead
Finds leads matching the supplied filters.

- Type: search_or_write · Key: `find_lead`
- Requires: FIRSTNAME, LASTNAME, EMAIL, COUNTRY, LEAD_STATUS, LEAD_PROBABILITY
- Optional: email, MIDDLENAME, COMPANY, CONTACT_GROUP, CONTACT_CATEGORY, CONTACT_OFFICE, CONTACT_DIVISION, CONTACT_REGION, PHONE, MOBILE_PHONE, MOBILE_PROVIDER, FAX, WEBSITE, ADDRESS, CITY, STATE, ZIP, LEAD_STAGE, LEAD_SOURCE, LEAD_TYPE, LEAD_SALES_REPRESENTATIVE, LEAD_VALUE, LEAD_OPENED_DATE, LEAD_CLOSED_DATE, LEAD_QUALITY, LEAD_TAGS, LEAD_DETAILS
- SDK: `runAction({ app: "constructiononline", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action constructiononline search_or_write find_lead`

##### Find or Create To-Do
Finds To-Dos matching the supplied filters.

- Type: search_or_write · Key: `find_to_do`
- Requires: SUBJECT
- Optional: subject, subjectExactMatch, projectId, assignedResourceId, parentToDoId, companyOnly, isComplete, dueOnOrAfter, dueBefore, DESCRIPTION, PROJECT_ID, DUE_DATE, PRIORITY, ASSIGNED_RESOURCES, RELATED_RESOURCES, TRADE, TYPE, CATEGORY, STAGE, TAGS, TRAFFIC_LIGHT, COST_IMPACT, PERCENT_COMPLETE, COMPLETED_DATE, IS_PRIVATE
- SDK: `runAction({ app: "constructiononline", actionType: "search_or_write", action: "find_to_do" })`
- CLI: `npx zapier-sdk run-action constructiononline search_or_write find_to_do`

## Google Drive

### Identity
Google Drive is Google's file sync app that lets you store all of your files online alongside your Google Docs documents, and keep them synced with all of your devices.

- App slug: google-drive
- Operations published here: 27 (5 events, 16 functions, 4 queries, 2 search-or-write actions)

### Authentication
Zapier connects to Google Drive via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- 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 google-drive
```

### Capabilities

#### Events (5)

Events fire when something happens in Google Drive. Use them to start a run.

##### New File
Triggers when any new file is added (inside of any folder).

- Type: read · Key: `file`
- Requires: nothing
- Optional: drive
- SDK: `runAction({ app: "google-drive", actionType: "read", action: "file" })`
- CLI: `npx zapier-sdk run-action google-drive read file`

##### New File in Folder
Triggers when a new file is created within, moved to, or uploaded directly to a specific folder. You can optionally include files from its subfolders.

- Type: read · Key: `file_in_folder_v2`
- Requires: nothing
- Optional: drive, folder, includeSubfolders, subfolderDepth, includeDeleted
- SDK: `runAction({ app: "google-drive", actionType: "read", action: "file_in_folder_v2" })`
- CLI: `npx zapier-sdk run-action google-drive read file_in_folder_v2`

##### New File in Folder (Realtime)
Triggers when a file is added to a chosen folder or shared drive.

- Type: read · Key: `file_in_folder_v3`
- Requires: nothing
- Optional: drive, includeSubfolders
- SDK: `runAction({ app: "google-drive", actionType: "read", action: "file_in_folder_v3" })`
- CLI: `npx zapier-sdk run-action google-drive read file_in_folder_v3`

##### New Folder
Triggers when a new folder is added directly to a specific folder (but not its subfolders).

- Type: read · Key: `folder`
- Requires: nothing
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "read", action: "folder" })`
- CLI: `npx zapier-sdk run-action google-drive read folder`

##### Updated File
Triggers when a file is updated in a specific folder (but not its subfolders).

- Type: read · Key: `updated_file`
- Requires: nothing
- Optional: drive, folder, include_deleted
- SDK: `runAction({ app: "google-drive", actionType: "read", action: "updated_file" })`
- CLI: `npx zapier-sdk run-action google-drive read updated_file`

#### Functions (16)

Functions change something in Google Drive.

##### Copy File
Create a copy of the specified file.

- Type: write · Key: `copy_file`
- Requires: file
- Optional: convert, new_name, drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "copy_file" })`
- CLI: `npx zapier-sdk run-action google-drive write copy_file`

##### Delete File (Permanent)
Permanently delete a file from Google Drive. This action cannot be undone.

- Type: write · Key: `delete_file`
- Requires: file, confirm_deletion
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "delete_file" })`
- CLI: `npx zapier-sdk run-action google-drive write delete_file`

##### Export File
Export Google Workspace files (Docs, Sheets, Slides) to different formats like PDF, Word, Excel, etc.

- Type: write · Key: `export_file`
- Requires: file, export_format
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "export_file" })`
- CLI: `npx zapier-sdk run-action google-drive write export_file`

##### Upload File
Copies an existing file from another service to Google Drive.

- Type: write · Key: `file`
- Requires: file
- Optional: drive, folder, convert, new_name, new_extension, idempotency_key
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "file" })`
- CLI: `npx zapier-sdk run-action google-drive write file`

##### Create Folder
Create a new, empty folder.

- Type: write · Key: `folder`
- Requires: title
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "folder" })`
- CLI: `npx zapier-sdk run-action google-drive write folder`

##### Move File
Move a file from one folder to another.

- Type: write · Key: `move_file`
- Requires: file, folder
- Optional: drive
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "move_file" })`
- CLI: `npx zapier-sdk run-action google-drive write move_file`

##### Create File From Text
Create a new file from plain text. 

- Type: write · Key: `newtxtfile`
- Requires: title, file
- Optional: drive, folder, convert
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "newtxtfile" })`
- CLI: `npx zapier-sdk run-action google-drive write newtxtfile`

##### Remove File Permission
Remove specific user access to a file in Google Drive. Requires either email address or permission ID.

- Type: write · Key: `remove_file_permission`
- Requires: file
- Optional: drive, folder, email, permission_id
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "remove_file_permission" })`
- CLI: `npx zapier-sdk run-action google-drive write remove_file_permission`

##### Replace File
Upload a file to Drive, that replaces an existing file. 

- Type: write · Key: `replace_file`
- Requires: old_file, file
- Optional: drive, folder, convert, new_name, new_extension, idempotency_key
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "replace_file" })`
- CLI: `npx zapier-sdk run-action google-drive write replace_file`

##### Create Shared Drive
Create a new shared drive (also known as Team Drive) in Google Drive.

- Type: write · Key: `shared_drive`
- Requires: name
- Optional: themeId, colorRgb, backgroundImageFile
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "shared_drive" })`
- CLI: `npx zapier-sdk run-action google-drive write shared_drive`

##### Add File Sharing Preference
Adds a sharing scope to the sharing preference of a file. Does not remove existing sharing settings. Provides a sharing URL.

- Type: write · Key: `share_file`
- Requires: file_id, permission
- Optional: drive, domain
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "share_file" })`
- CLI: `npx zapier-sdk run-action google-drive write share_file`

##### Create Shortcut
Create a shortcut to a file.

- Type: write · Key: `shortcut`
- Requires: file
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "shortcut" })`
- CLI: `npx zapier-sdk run-action google-drive write shortcut`

##### Update File or Folder Metadata
Update file or folder metadata including name, description, starred status, folder color, and custom properties.

- Type: write · Key: `update_file_metadata`
- Requires: nothing
- Optional: drive, copy, folder, file_id, name, description, starred, folder_color_rgb, properties
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "update_file_metadata" })`
- CLI: `npx zapier-sdk run-action google-drive write update_file_metadata`

##### Update File/Folder Name
Update the name of a file or folder.

- Type: write · Key: `update_file_name`
- Requires: nothing
- Optional: drive, folder, file, new_name, rename_folder, extension_copy
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "update_file_name" })`
- CLI: `npx zapier-sdk run-action google-drive write update_file_name`

##### Delete File
This action will delete a file in Google Drive. You will need to provide the file ID.

- Type: write · Key: `ae:45494`
- Requires: nothing
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "ae:45494" })`
- CLI: `npx zapier-sdk run-action google-drive write ae:45494`

##### Retrieve Files from Google Drive
This action sends a GET request to the Google Drive API to retrieve a list of files based on specific query parameters.

- Type: write · Key: `ae:42227`
- Requires: nothing
- SDK: `runAction({ app: "google-drive", actionType: "write", action: "ae:42227" })`
- CLI: `npx zapier-sdk run-action google-drive write ae:42227`

#### Queries (4)

Queries read from Google Drive and return data. They change nothing.

##### Retrieve File or Folder by ID
Get a file or folder by its ID.

- Type: search · Key: `file_or_folder_by_id`
- Requires: id
- Optional: drive
- SDK: `runAction({ app: "google-drive", actionType: "search", action: "file_or_folder_by_id" })`
- CLI: `npx zapier-sdk run-action google-drive search file_or_folder_by_id`

##### Get File Permissions
List all users who have access to a file.

- Type: search · Key: `file_permissions`
- Requires: file_id
- Optional: drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "search", action: "file_permissions" })`
- CLI: `npx zapier-sdk run-action google-drive search file_permissions`

##### Find a File
Search for a specific file by name.

- Type: search · Key: `file_v2`
- Requires: title
- Optional: search_type, drive, folder, file_types
- SDK: `runAction({ app: "google-drive", actionType: "search", action: "file_v2" })`
- CLI: `npx zapier-sdk run-action google-drive search file_v2`

##### Find a Folder
Search for a specific folder by name.

- Type: search · Key: `folder_v2`
- Requires: title
- Optional: search_type, drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "search", action: "folder_v2" })`
- CLI: `npx zapier-sdk run-action google-drive search folder_v2`

#### Search or Write Actions (2)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create File
Finds or creates a specific file v2.

- Type: search_or_write · Key: `file_v2`
- Requires: title, file
- Optional: search_type, drive, folder, file_types, convert, new_name, new_extension, idempotency_key
- SDK: `runAction({ app: "google-drive", actionType: "search_or_write", action: "file_v2" })`
- CLI: `npx zapier-sdk run-action google-drive search_or_write file_v2`

##### Find or Create Folder
Finds or creates a specific folder v2.

- Type: search_or_write · Key: `folder_v2`
- Requires: title
- Optional: search_type, drive, folder
- SDK: `runAction({ app: "google-drive", actionType: "search_or_write", action: "folder_v2" })`
- CLI: `npx zapier-sdk run-action google-drive search_or_write folder_v2`

## Frequently asked questions about automating with ConstructionOnline and Google Drive

### 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
- ConstructionOnline integrations: zapier.com/apps/constructiononline/integrations.md
- Google Drive integrations: zapier.com/apps/google-drive/integrations.md
- Full page: zapier.com/apps/constructiononline/integrations/google-drive
- SDK: npmjs.com/package/@zapier/zapier-sdk