# BQE CORE + Gmail Integrations: Connect with Zapier MCP
> zapier.com/apps/bqe-core/integrations/gmail
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate BQE CORE and Gmail 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 · add_label`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action gmail write add_label \
  --inputs '{}'
```

## BQE CORE

### Identity
BQE CORE is an all-in-one, easy-to-use management solution designed for Architecture, Engineering, and Professional Service Firms

- App slug: bqe-core
- Operations published here: 88 (23 events, 27 functions, 19 queries, 19 search-or-write actions)

### Authentication
Zapier connects to BQE CORE 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 bqe-core
```

### Capabilities

#### Events (23)

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

##### Check Transaction Updated (Choose Fields) 
Triggers when specific fields in a Check transaction are updated.

- Type: read · Key: `checktransaction_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "checktransaction_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read checktransaction_property_change`

##### Client Updated (Choose Fields) 
Triggers when specific fields in a Client record are updated.

- Type: read · Key: `client_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "client_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read client_property_change`

##### Credit Card Updated  (Choose Fields)
Triggers when specific fields in a Credit Card transaction are updated.

- Type: read · Key: `creditcard_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "creditcard_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read creditcard_property_change`

##### Employee Updated (Choose Fields) 
Triggers when specific fields in an Employee record are updated.

- Type: read · Key: `employee_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "employee_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read employee_property_change`

##### Employee Updated - Terminated Status
Triggers when an Employee is terminated.

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

##### Record Deleted
Triggers when record is deleted.

- Type: read · Key: `entity_deleted`
- Requires: entity_name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "entity_deleted" })`
- CLI: `npx zapier-sdk run-action bqe-core read entity_deleted`

##### Expense Entry Updated - Approved Status
Triggers when an expense entry is approved.

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

##### Expense Entry Updated (Custom Fields)
Triggers when specific custom fields in an Expense Entry record are updated.

- Type: read · Key: `expenseentry_customfield_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "expenseentry_customfield_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read expenseentry_customfield_change`

##### Expense Entry Updated (Choose Fields) 
Triggers when specific fields in an Expense Entry record are updated.

- Type: read · Key: `expenseentry_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "expenseentry_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read expenseentry_property_change`

##### New Record Created
Triggers when a new record is created.

- Type: read · Key: `new_record`
- Requires: entity_name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "new_record" })`
- CLI: `npx zapier-sdk run-action bqe-core read new_record`

##### Payment Updated (Choose Fields) 
Triggers when specific fields in a Payment record are updated.

- Type: read · Key: `payment_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "payment_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read payment_property_change`

##### Project Updated – Completed Status
Triggers when a Project is marked as completed.

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

##### Project Updated (Custom Fields)
Triggers when specific custom fields in a Project record are updated.

- Type: read · Key: `project_customfield_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "project_customfield_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read project_customfield_change`

##### Project Updated (Choose Fields) 
Triggers when specific fields in a Project record are updated.

- Type: read · Key: `project_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "project_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read project_property_change`

##### Record Updated
Triggers when record is updated.

- Type: read · Key: `record_updated`
- Requires: entity_name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "record_updated" })`
- CLI: `npx zapier-sdk run-action bqe-core read record_updated`

##### Time Entry Updated - Approved Status
Triggers when a Time entry is approved.

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

##### Work Flow Updated
Triggers when workflow is updated.

- Type: read · Key: `timeentryworkflowupdated`
- Requires: module
- Optional: workflowaction
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "timeentryworkflowupdated" })`
- CLI: `npx zapier-sdk run-action bqe-core read timeentryworkflowupdated`

##### Time Entry Updated (Custom Fields)
Triggers when specific custom fields in a Time Entry record are updated.

- Type: read · Key: `timeentry_customfield_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "timeentry_customfield_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read timeentry_customfield_change`

##### Time Entry Updated (Choose Fields) 
Triggers when specific fields in an Time Entry record are updated.

- Type: read · Key: `timeentry_updated_choosefield`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "timeentry_updated_choosefield" })`
- CLI: `npx zapier-sdk run-action bqe-core read timeentry_updated_choosefield`

##### To-Do Updated - Completed Status
Triggers when a Todo is marked completed.

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

##### To-Do Updated (Choose Fields) 
Triggers when specific fields in a To-Do record are updated.

- Type: read · Key: `todo_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "todo_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read todo_property_change`

##### Vendor Bill Updated (Choose Fields) 
Triggers when specific fields in a Vendor Bill record are updated.

- Type: read · Key: `vendorbill_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "vendorbill_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read vendorbill_property_change`

##### Vendor Updated (Choose Fields) 
Triggers when specific fields in a Vendor record are updated.

- Type: read · Key: `vendor_property_change`
- Requires: Property_Name
- SDK: `runAction({ app: "bqe-core", actionType: "read", action: "vendor_property_change" })`
- CLI: `npx zapier-sdk run-action bqe-core read vendor_property_change`

#### Functions (27)

Functions change something in BQE CORE.

##### Create Activity Item
Create an Activity Item to track and manage your services. 

- Type: write · Key: `Act`
- Requires: code, description
- Optional: sub, billable, costrate, billrate, isActive, tax1, tax2, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "Act" })`
- CLI: `npx zapier-sdk run-action bqe-core write Act`

##### Create Bill Payment
Record a new Accounts Payable Payment made to vendors. 

- Type: write · Key: `create_billpayment`
- Requires: date, accountId, amount, payeeId, transactionId
- Optional: payeeId1, number, amount1, integrationkeyrequired, discountAccount, credit, discount
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_billpayment" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_billpayment`

##### Create Check Transaction
Record a check payment to vendors or other payees.

- Type: write · Key: `create_check`
- Requires: date, account, payeeId
- Optional: number, integrationkeyrequired, itemId, itemType, projectId, rate, units, accountId, amount, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_check" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_check`

##### Create Client
Add a new Client record to manage projects, retainers, invoices, and payments. 

- Type: write · Key: `create_client`
- Requires: name1
- Optional: managerId, termId, mainExpenseTax, mainServiceTax, memo, integrationkeyrequired, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_client" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_client`

##### Create Chart of Account
Create a new Chart of Account record.

- Type: write · Key: `create_coa`
- Requires: code, name
- Optional: description, isActive, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_coa" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_coa`

##### Create Contact
Add a new Contact to store additional information about vendors,employees, clients, and projects

- Type: write · Key: `create_contact`
- Requires: contactName
- Optional: company, firstName, lastName, department, title, isPrimaryContact, integrationkeyrequired, name, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_contact`

##### Create Credit Card Transaction
Record a credit card charge, refund, or payment.

- Type: write · Key: `create_creditcardtransaction`
- Requires: date, accountId1, amount1, entityId
- Optional: integrationkeyrequired, itemId, itemType, projectId, rate, units, accountId, amount, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_creditcardtransaction" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_creditcardtransaction`

##### Create Deposit
Log a new deposit to track funds added to your bank accounts.  

- Type: write · Key: `create_deposit`
- Requires: accountId, date, account, amount
- Optional: integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_deposit" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_deposit`

##### Create Employee
Add a new Employee record for time tracking, expense reporting, and assigning tasks. 

- Type: write · Key: `create_employee`
- Requires: firstName, lastName, displayName, costRate, billRate
- Optional: gender, memo, integrationkeyrequired, name, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_employee" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_employee`

##### Create Expense Item
Create an Expense Item to categorize and track business expenses. 

- Type: write · Key: `create_expense`
- Requires: code, description
- Optional: sub, billable, reimbursable, costrate, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_expense" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_expense`

##### Create Expense Entry
Log a new Expense Entry for reimbursable or tracked expenses. 

- Type: write · Key: `create_expenseentry`
- Requires: date, resourceId, projectId, expenseId, description
- Optional: units, billable, costRate, extra, markup, reimbursable, tax1, tax2, tax3, purchaseTaxRate, memo, chargeAmount, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_expenseentry" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_expenseentry`

##### Create General Journal
Create a new General Journal entry for accounting adjustments. 

- Type: write · Key: `create_generaljournal`
- Requires: date, accountId, amount
- Optional: referenceNumber, integrationkeyrequired, isDebit, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_generaljournal" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_generaljournal`

##### Create Invoice
Generate a new Accounts Receivable Invoice for your clients. 

- Type: write · Key: `create_invoice`
- Requires: date, invoiceNumber, invoiceAmount, projectId, description, units, rate
- Optional: clientId, dueDate, isDraft, mainServiceTax, mainExpenseTax, fixedFee, integrationkeyrequired, itemId, amount, isExpense, tax, chargeAmount
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_invoice" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_invoice`

##### Create Note
Record a new general note to document important information. 

- Type: write · Key: `create_note_general`
- Requires: date, description, masterEntityId, noteCategoryId, noteStatusId
- Optional: integrationkeyrequired, reportedBy
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_note_general" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_note_general`

##### Create Payment
Log a new Accounts Receivable Payment received from clients. 

- Type: write · Key: `create_payment`
- Requires: date, clientId, amount1, invoiceId, amount
- Optional: projectId, memo, reference, isRetainer, integrationkeyrequired, invoiceDetailId
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_payment`

##### Create Project
Set up a new Project to allocate resources, track time, and manage expenses. 

- Type: write · Key: `create_project`
- Requires: code, name, clientId, managerId, type
- Optional: mainServiceTax, mainExpenseTax, startDate, dueDate, expenseAccountId, incomeAccountId, currencyName, memo, originatorId, integrationkeyrequired, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_project" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_project`

##### Create Time Entry
Log a new Time Entry to track billable or non-billable hours. 

- Type: write · Key: `create_timeentry`
- Requires: date, resourceId, projectId, activityId, description, actualHours
- Optional: clientHours, billable, costRate, billRate, compensationTime, extra, tax1, tax2, tax3, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_timeentry" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_timeentry`

##### Create To-Do
Add a new To-Do item to track tasks and assignments. 

- Type: write · Key: `create_todo_project`
- Requires: assignedToId, description
- Optional: startDate, endDate, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_todo_project" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_todo_project`

##### Create Vendor
Add a new Vendor to track payables, bill payments, and other transactions. 

- Type: write · Key: `create_vendor`
- Requires: firstName, lastName, displayName
- Optional: company, is1099Applicable, memo, integrationkeyrequired, name, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_vendor" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_vendor`

##### Create Vendor Bill
Record a new Accounts Payable Bill for your vendors. 

- Type: write · Key: `create_vendorbill`
- Requires: date, number, vendorId
- Optional: referenceNumber, integrationkeyrequired, projectId, itemId, description, units, rate, billRate, markup, purchaseTaxRate, billable, memo, itemType, accountId, amount1, classId, memo1
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "create_vendorbill" })`
- CLI: `npx zapier-sdk run-action bqe-core write create_vendorbill`

##### Update Client
Modify an existing Client record. 

- Type: write · Key: `update_client`
- Requires: nothing
- Optional: id, name, company, managerId
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_client" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_client`

##### Update Employee
Modify an existing Employee record. 

- Type: write · Key: `update_employee`
- Requires: nothing
- Optional: id, displayName, firstName, lastName, billRate, costRate
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_employee" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_employee`

##### Update Expense Entry
Modify an existing Expense Entry record.

- Type: write · Key: `update_expenseentry`
- Requires: projectId, expenseId, description, resourceId
- Optional: id
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_expenseentry" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_expenseentry`

##### Update Project
Modify an existing Project record. 

- Type: write · Key: `update_project`
- Requires: id
- Optional: displayName, name, contractAmount
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_project" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_project`

##### Update Time Entry
Modify an existing Time Entry record.

- Type: write · Key: `update_timeentry`
- Requires: nothing
- Optional: id, resourceId, date, projectId, activityId, description
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_timeentry" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_timeentry`

##### Update To-Do
Modify an existing To-Do record.

- Type: write · Key: `update_todo`
- Requires: id
- Optional: startDate, endDate, percentComplete
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_todo" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_todo`

##### Update Vendor
Modify an existing Vendor record. 

- Type: write · Key: `update_vendor`
- Requires: nothing
- Optional: id, displayName, firstName, lastName
- SDK: `runAction({ app: "bqe-core", actionType: "write", action: "update_vendor" })`
- CLI: `npx zapier-sdk run-action bqe-core write update_vendor`

#### Queries (19)

Queries read from BQE CORE and return data. They change nothing.

##### Find Activity Item
Search for an existing Activity Item. 

- Type: search · Key: `SearchActivity`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "SearchActivity" })`
- CLI: `npx zapier-sdk run-action bqe-core search SearchActivity`

##### Find Bill Payment
Search for an existing Accounts Payable Payment. 

- Type: search · Key: `SearchBillPayment`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "SearchBillPayment" })`
- CLI: `npx zapier-sdk run-action bqe-core search SearchBillPayment`

##### Find Payment
Search for an existing Accounts Receivable Payment. 

- Type: search · Key: `SearchPayment`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "SearchPayment" })`
- CLI: `npx zapier-sdk run-action bqe-core search SearchPayment`

##### Find Check Transaction
Search for an existing Check transaction.

- Type: search · Key: `search_check`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_check" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_check`

##### Find Client
Search for an existing Client record. 

- Type: search · Key: `search_client`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_client" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_client`

##### Find Chart of Account
Search for an existing Chart of Account.

- Type: search · Key: `search_coa`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_coa" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_coa`

##### Find Credit Card Transaction
Search for an existing Credit Card transaction.

- Type: search · Key: `search_creditcard`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_creditcard" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_creditcard`

##### Find Deposit
Search for an existing deposit.

- Type: search · Key: `search_deposit`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_deposit" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_deposit`

##### Find Employee
Search for an existing Employee record. 

- Type: search · Key: `search_employee`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_employee" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_employee`

##### Find Expense Item
Search for an existing Expense Item. 

- Type: search · Key: `search_expense`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_expense" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_expense`

##### Find Expense Entry
Search for an existing Expense Entry. 

- Type: search · Key: `search_expenseentry`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_expenseentry" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_expenseentry`

##### Find Invoice
Search for an existing Accounts Receivable Invoice. 

- Type: search · Key: `search_invoice`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_invoice" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_invoice`

##### Find General Journal
Search for an existing General Journal entry. 

- Type: search · Key: `search_journal`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_journal" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_journal`

##### Find Note
Search for an existing general note. 

- Type: search · Key: `search_note`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_note" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_note`

##### Find Project
Search for an existing Project. 

- Type: search · Key: `search_project`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_project" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_project`

##### Find Time Entry
Search for an existing Time Entry. 

- Type: search · Key: `search_timeentry`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_timeentry" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_timeentry`

##### Find To-Do
Search for an existing To-Do item.

- Type: search · Key: `search_todo`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_todo" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_todo`

##### Find Vendor
Search for an existing Vendor. 

- Type: search · Key: `search_vendor`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_vendor" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_vendor`

##### Find Vendor Bill
Search for an existing Accounts Payable Bill. 

- Type: search · Key: `search_vendorbill`
- Requires: search_value
- SDK: `runAction({ app: "bqe-core", actionType: "search", action: "search_vendorbill" })`
- CLI: `npx zapier-sdk run-action bqe-core search search_vendorbill`

#### Search or Write Actions (19)

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

##### Find or Create Activity Item
Search for an existing Activity Item. 

- Type: search_or_write · Key: `SearchActivity`
- Requires: search_value, code, description
- Optional: sub, billable, costrate, billrate, isActive, tax1, tax2, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "SearchActivity" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write SearchActivity`

##### Find or Create Bill Payment
Search for an existing Accounts Payable Payment. 

- Type: search_or_write · Key: `SearchBillPayment`
- Requires: search_value, date, accountId, amount, payeeId, transactionId
- Optional: payeeId1, number, amount1, integrationkeyrequired, discountAccount, credit, discount
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "SearchBillPayment" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write SearchBillPayment`

##### Find or Create Payment
Search for an existing Accounts Receivable Payment. 

- Type: search_or_write · Key: `SearchPayment`
- Requires: search_value, date, clientId, amount1, invoiceId, amount
- Optional: projectId, memo, reference, isRetainer, integrationkeyrequired, invoiceDetailId
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "SearchPayment" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write SearchPayment`

##### Find or Create Check
Search for an existing Check transaction.

- Type: search_or_write · Key: `search_check`
- Requires: search_value, date, account, payeeId
- Optional: number, integrationkeyrequired, itemId, itemType, projectId, rate, units, accountId, amount, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_check" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_check`

##### Find or Create Client
Search for an existing Client record. 

- Type: search_or_write · Key: `search_client`
- Requires: search_value, name1
- Optional: managerId, termId, mainExpenseTax, mainServiceTax, memo, integrationkeyrequired, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_client" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_client`

##### Find or Create Account
Search for an existing Chart of Account.

- Type: search_or_write · Key: `search_coa`
- Requires: search_value, code, name
- Optional: description, isActive, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_coa" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_coa`

##### Find or Create Credit Card
Search for an existing Credit Card transaction.

- Type: search_or_write · Key: `search_creditcard`
- Requires: search_value, date, accountId1, amount1, entityId
- Optional: integrationkeyrequired, itemId, itemType, projectId, rate, units, accountId, amount, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_creditcard" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_creditcard`

##### Find or Create Deposit
Search for an existing deposit.

- Type: search_or_write · Key: `search_deposit`
- Requires: search_value, accountId, date, account, amount
- Optional: integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_deposit" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_deposit`

##### Find or Create Employee
Search for an existing Employee record. 

- Type: search_or_write · Key: `search_employee`
- Requires: search_value, firstName, lastName, displayName, costRate, billRate
- Optional: gender, memo, integrationkeyrequired, name, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_employee" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_employee`

##### Find or Create Expense
Search for an existing Expense Item. 

- Type: search_or_write · Key: `search_expense`
- Requires: search_value, code, description
- Optional: sub, billable, reimbursable, costrate, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_expense" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_expense`

##### Find or Create Expense Entry
Search for an existing Expense Entry. 

- Type: search_or_write · Key: `search_expenseentry`
- Requires: search_value, date, resourceId, projectId, expenseId, description
- Optional: units, billable, costRate, extra, markup, reimbursable, tax1, tax2, tax3, purchaseTaxRate, memo, chargeAmount, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_expenseentry" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_expenseentry`

##### Find or Create Invoice
Search for an existing Accounts Receivable Invoice. 

- Type: search_or_write · Key: `search_invoice`
- Requires: search_value, date, invoiceNumber, invoiceAmount, projectId, description, units, rate
- Optional: clientId, dueDate, isDraft, mainServiceTax, mainExpenseTax, fixedFee, integrationkeyrequired, itemId, amount, isExpense, tax, chargeAmount
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_invoice" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_invoice`

##### Find or Create General Journal
Search for an existing General Journal entry. 

- Type: search_or_write · Key: `search_journal`
- Requires: search_value, date, accountId, amount
- Optional: referenceNumber, integrationkeyrequired, isDebit, classId, memo
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_journal" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_journal`

##### Find or Create Note
Search for an existing general note. 

- Type: search_or_write · Key: `search_note`
- Requires: search_value, date, description, masterEntityId, noteCategoryId, noteStatusId
- Optional: integrationkeyrequired, reportedBy
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_note" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_note`

##### Find or Create Project
Search for an existing Project. 

- Type: search_or_write · Key: `search_project`
- Requires: search_value, code, name, clientId, managerId, type
- Optional: mainServiceTax, mainExpenseTax, startDate, dueDate, expenseAccountId, incomeAccountId, currencyName, memo, originatorId, integrationkeyrequired, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_project" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_project`

##### Find or Create Time Entry
Search for an existing Time Entry. 

- Type: search_or_write · Key: `search_timeentry`
- Requires: search_value, date, resourceId, projectId, activityId, description, actualHours
- Optional: clientHours, billable, costRate, billRate, compensationTime, extra, tax1, tax2, tax3, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_timeentry" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_timeentry`

##### Find or Create To-Do
Search for an existing To-Do item.

- Type: search_or_write · Key: `search_todo`
- Requires: search_value, assignedToId, description
- Optional: startDate, endDate, memo, integrationkeyrequired
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_todo" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_todo`

##### Find or Create Vendor
Search for an existing Vendor. 

- Type: search_or_write · Key: `search_vendor`
- Requires: search_value, firstName, lastName, displayName
- Optional: company, is1099Applicable, memo, integrationkeyrequired, name, street1, street2, city, state, country, zip
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_vendor" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_vendor`

##### Find or Create Vendor Bill
Search for an existing Accounts Payable Bill. 

- Type: search_or_write · Key: `search_vendorbill`
- Requires: search_value, date, number, vendorId
- Optional: referenceNumber, integrationkeyrequired, projectId, itemId, description, units, rate, billRate, markup, purchaseTaxRate, billable, memo, itemType, accountId, amount1, classId, memo1
- SDK: `runAction({ app: "bqe-core", actionType: "search_or_write", action: "search_vendorbill" })`
- CLI: `npx zapier-sdk run-action bqe-core search_or_write search_vendorbill`

## Gmail

### Identity
One of the most popular email services, Gmail keeps track of all your emails with threaded conversations, tags, and Google-powered search to find any message you need.

- App slug: gmail
- Operations published here: 23 (8 events, 12 functions, 2 queries, 1 search-or-write action)

### Authentication
Zapier connects to Gmail 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 gmail
```

### Capabilities

#### Events (8)

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

##### New Attachment
Triggers when you receive a new attachment. Each check only finds emails received in the last hour, so attachments on older emails will not trigger, even if they appear in test results.

- Type: read · Key: `attachment`
- Requires: nothing
- Optional: label_ids, query
- SDK: `runAction({ app: "gmail", actionType: "read", action: "attachment" })`
- CLI: `npx zapier-sdk run-action gmail read attachment`

##### New Label
Triggers when you add a new label.

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

##### New Labeled Conversation
Triggers the first time a label is added to a conversation. Replies within that conversation will not trigger again.

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

##### New Labeled Email
Triggers when an email is labeled. Also triggers when a reply is added to the conversation.

- Type: read · Key: `label_message_v2`
- Requires: label_ids
- Optional: extended_polling_window
- SDK: `runAction({ app: "gmail", actionType: "read", action: "label_message_v2" })`
- CLI: `npx zapier-sdk run-action gmail read label_message_v2`

##### New Email
Triggers when a new email appears in the specified mailbox. Each check only finds emails received in the last hour, so older emails moved into the mailbox or label will not trigger, even if they appear in test results. To trigger on older emails you label, use New Labeled Email.

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

##### New Email Matching Search
Triggers when you receive a new email that matches a search string you provide. Each check only finds emails received in the last hour, so older emails that match later (for example, after you label them) will not trigger, even if they appear in test results. To trigger on older emails you label, use New Labeled Email.

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

##### New Starred Email
Triggers when you receive a new email and star it within two days.

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

##### New Conversation
Triggers when a new email conversation begins in your inbox. Each check only finds conversations with an email received in the last hour, so older conversations moved into a label will not trigger, even if they appear in test results. To trigger on older conversations you label, use New Labeled Conversation.

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

#### Functions (12)

Functions change something in Gmail.

##### Add Label to Email
Add a label to an email message.

- Type: write · Key: `add_label`
- Requires: new_label_ids, message_id
- SDK: `runAction({ app: "gmail", actionType: "write", action: "add_label" })`
- CLI: `npx zapier-sdk run-action gmail write add_label`

##### Archive Email
Archive an email message.

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

##### Delete Email
Sends an email message to the trash.

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

##### Create Draft
Create a draft email message.

- Type: write · Key: `draft_v2`
- Requires: subject, body
- Optional: to, cc, bcc, from, from_name, body_type, signature, render_signature_in_html, signature_delimiter, label_ids, file, recipient_instructions
- SDK: `runAction({ app: "gmail", actionType: "write", action: "draft_v2" })`
- CLI: `npx zapier-sdk run-action gmail write draft_v2`

##### Create Draft Reply
Create a draft reply to an existing email.

- Type: write · Key: `draft_v2_reply`
- Requires: thread_id, body
- Optional: trigger_instructions, to, cc, bcc, from, from_name, body_type, signature, render_signature_in_html, signature_delimiter, label_ids, file
- SDK: `runAction({ app: "gmail", actionType: "write", action: "draft_v2_reply" })`
- CLI: `npx zapier-sdk run-action gmail write draft_v2_reply`

##### Forward Email
Forward an existing email message to new recipients.

- Type: write · Key: `forward_email`
- Requires: message_id
- Optional: to, cc, bcc, from, from_name, reply_to, additional_message, body_type, include_attachments, label_ids
- SDK: `runAction({ app: "gmail", actionType: "write", action: "forward_email" })`
- CLI: `npx zapier-sdk run-action gmail write forward_email`

##### Get Conversation
Retrieves every message in a Gmail conversation by its thread ID.

- Type: write · Key: `get_conversation`
- Requires: thread_id
- Optional: format
- SDK: `runAction({ app: "gmail", actionType: "write", action: "get_conversation" })`
- CLI: `npx zapier-sdk run-action gmail write get_conversation`

##### Create Label
Creates a new label.

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

##### Send Email
Create and send a new email message.

- Type: write · Key: `message`
- Requires: subject, body
- Optional: to, cc, bcc, from, from_name, reply_to, body_type, signature, render_signature_in_html, signature_delimiter, label_ids, file, send_to_groups
- SDK: `runAction({ app: "gmail", actionType: "write", action: "message" })`
- CLI: `npx zapier-sdk run-action gmail write message`

##### Remove Label From Email
Remove a label from an email message.

- Type: write · Key: `remove_label`
- Requires: message_id, label_ids
- SDK: `runAction({ app: "gmail", actionType: "write", action: "remove_label" })`
- CLI: `npx zapier-sdk run-action gmail write remove_label`

##### Remove Label From Conversation
Remove a specified label from all emails within a conversation.

- Type: write · Key: `remove_thread_label`
- Requires: thread_id, label_ids
- SDK: `runAction({ app: "gmail", actionType: "write", action: "remove_thread_label" })`
- CLI: `npx zapier-sdk run-action gmail write remove_thread_label`

##### Reply to Email
Send a reply to an email message.

- Type: write · Key: `reply_to_message`
- Requires: thread_id, body
- Optional: trigger_instructions, to, cc, bcc, from, from_name, reply_to, subject, body_type, signature, render_signature_in_html, signature_delimiter, label_ids, file
- SDK: `runAction({ app: "gmail", actionType: "write", action: "reply_to_message" })`
- CLI: `npx zapier-sdk run-action gmail write reply_to_message`

#### Queries (2)

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

##### Get Attachment by Filename
Retrieves a specific Gmail message attachment by Filename.

- Type: search · Key: `attachment`
- Requires: message_id, attachment_filename
- Optional: attachment_size
- SDK: `runAction({ app: "gmail", actionType: "search", action: "attachment" })`
- CLI: `npx zapier-sdk run-action gmail search attachment`

##### Find Email
Finds an email message.

- Type: search · Key: `message`
- Requires: query
- SDK: `runAction({ app: "gmail", actionType: "search", action: "message" })`
- CLI: `npx zapier-sdk run-action gmail search message`

#### Search or Write Actions (1)

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

##### Find or Send Email
Finds or creates a specific message.

- Type: search_or_write · Key: `message`
- Requires: query, subject, body
- Optional: to, cc, bcc, from, from_name, reply_to, body_type, signature, render_signature_in_html, signature_delimiter, label_ids, file, send_to_groups
- SDK: `runAction({ app: "gmail", actionType: "search_or_write", action: "message" })`
- CLI: `npx zapier-sdk run-action gmail search_or_write message`

## Frequently asked questions about automating with BQE CORE and Gmail

### 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
- BQE CORE integrations: zapier.com/apps/bqe-core/integrations.md
- Gmail integrations: zapier.com/apps/gmail/integrations.md
- Full page: zapier.com/apps/bqe-core/integrations/gmail
- SDK: npmjs.com/package/@zapier/zapier-sdk