# YouTube + Expensya Integrations: Connect with Zapier MCP
> zapier.com/apps/youtube/integrations/expensya
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate YouTube and Expensya 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 · addcontact`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action expensya write addcontact \
  --inputs '{}'
```

## YouTube

### Identity
YouTube allows billions of people to discover, watch and share originally-created videos. YouTube provides a forum for people to connect, inform, and inspire others across the globe and acts as a distribution platform for original content creators and advertisers large and small.

- App slug: youtube
- Operations published here: 11 (5 events, 3 functions, 3 queries)

### Authentication
Zapier connects to YouTube 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 youtube
```

### Capabilities

#### Events (5)

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

##### New Comment on Video
Triggers when a new comment is posted on a specific YouTube video.

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

##### New Live Stream
Triggers when a new live stream is created or becomes active for a specific YouTube channel.

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

##### New Video in Channel
Triggers when a new video is published to a specific YouTube channel.

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

##### New Video in Playlist
Triggers when a new video is added to a specific playlist.  Note  does not work for your "watch later" playlist.

- Type: read · Key: `video_in_playlist`
- Requires: playlist_id
- Optional: privacy_status
- SDK: `runAction({ app: "youtube", actionType: "read", action: "video_in_playlist" })`
- CLI: `npx zapier-sdk run-action youtube read video_in_playlist`

##### New Video by Search
Triggers when a new video is uploaded that matches a specific search string.

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

#### Functions (3)

Functions change something in YouTube.

##### Add Video to Playlist
Add a video to one of your playlists

- Type: write · Key: `add_video_to_playlist`
- Requires: playlist_id, video_id
- Optional: quota_copy, position, note
- SDK: `runAction({ app: "youtube", actionType: "write", action: "add_video_to_playlist" })`
- CLI: `npx zapier-sdk run-action youtube write add_video_to_playlist`

##### Upload Video
Post a video to your channel

- Type: write · Key: `upload_video`
- Requires: title, description, video
- Optional: quota_copy, upload_size_copy, thumbnail, privacy_status, publish_at, tags, language_section, default_language, default_audio_language, localizations_help_text, language_code, localized_title, localized_description, recording_section, recording_date, recording_location, advanced_section, license, embeddable, public_stats_viewable, category_id_help_text, category_id, made_for_kids, notify_subscribers
- SDK: `runAction({ app: "youtube", actionType: "write", action: "upload_video" })`
- CLI: `npx zapier-sdk run-action youtube write upload_video`

##### Update Video Thumbnail
Updates the thumbnail image for a video. You must have verified your phone number in order to update a video's thumbnail image

- Type: write · Key: `upload_video_thumbnail`
- Requires: video_id, thumbnail
- Optional: thumbnail_size_copy
- SDK: `runAction({ app: "youtube", actionType: "write", action: "upload_video_thumbnail" })`
- CLI: `npx zapier-sdk run-action youtube write upload_video_thumbnail`

#### Queries (3)

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

##### Find Channel
Finds YouTube channels by channel ID or handle, or lists the channels of the connected account, with their details and statistics.

- Type: search · Key: `find_channel`
- Requires: nothing
- Optional: quota_copy, channel_ids, handle, parts
- SDK: `runAction({ app: "youtube", actionType: "search", action: "find_channel" })`
- CLI: `npx zapier-sdk run-action youtube search find_channel`

##### Find Video
Search for videos on YouTube using various criteria like keywords, channel, date range, and more.

- Type: search · Key: `find_video`
- Requires: nothing
- Optional: query, channel_id, order, published_after, published_before, video_duration, video_definition, video_dimension, video_caption, video_license, safe_search, region_code, relevance_language, video_category_id, max_results
- SDK: `runAction({ app: "youtube", actionType: "search", action: "find_video" })`
- CLI: `npx zapier-sdk run-action youtube search find_video`

##### Get Report
Creates a report on specified data from your owned and managed channels.

- Type: search · Key: `get_report`
- Requires: report_type, start_date, end_date, metrics
- Optional: report_breakdown
- SDK: `runAction({ app: "youtube", actionType: "search", action: "get_report" })`
- CLI: `npx zapier-sdk run-action youtube search get_report`

## Expensya

### Identity
Expensya is a Web and Mobile solution that automates the management of expense reports for professionals.

- App slug: expensya
- Operations published here: 25 (12 functions, 13 queries)

### Authentication
Zapier connects to Expensya 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 expensya
```

### Capabilities

#### Functions (12)

Functions change something in Expensya.

##### Add Contact
Add a new contact to your Expensya account with full contact and company information.

- Type: write · Key: `addcontact`
- Requires: ContactFirstName, ContactLastName, ContactMail, ContactCountryCode, IsCoworker, IsShared
- Optional: ContactRole, ContactPhoneNumber, ContactAddress, ContactZipCode, ContactCity, ContactCompanyName, ContactCompanyMail, ContactCompanyWebSite, ContactCompanyPhoneNumber, ContactCompanyAddress, ContactCompanyZipCode, ContactCompanyCity, ContactCompanyCountryCode
- SDK: `runAction({ app: "expensya", actionType: "write", action: "addcontact" })`
- CLI: `npx zapier-sdk run-action expensya write addcontact`

##### Add Delegated Access
Grant access permissions to allow one user to manage expenses on behalf of another.

- Type: write · Key: `adddelegatedaccess`
- Requires: BeneficiaryMail, OwnerMail, BeneficiaryRights
- SDK: `runAction({ app: "expensya", actionType: "write", action: "adddelegatedaccess" })`
- CLI: `npx zapier-sdk run-action expensya write adddelegatedaccess`

##### Add Quick Expense
Add a quick expense to an Expensya user.

- Type: write · Key: `addquickexpense`
- Requires: userId, FileToSend, TransactionAmount, CurrencyCode, TransactionDateStr, LocationCountry, FileType
- Optional: Title, VatRates, VatAmounts, TransactionDate, MerchantName, LocationCity, Comment, MerchantExpenseId, IsEncrypted, ExpenseUseType, PaymentTypeCode, ExpenseTypeCode
- SDK: `runAction({ app: "expensya", actionType: "write", action: "addquickexpense" })`
- CLI: `npx zapier-sdk run-action expensya write addquickexpense`

##### Add Receipt
Add a receipt for a specified user.

- Type: write · Key: `addreceipt`
- Requires: UserId, ReceiptContent, ReceiptName, FileType
- SDK: `runAction({ app: "expensya", actionType: "write", action: "addreceipt" })`
- CLI: `npx zapier-sdk run-action expensya write addreceipt`

##### Delete Contact
Delete an existing contact.

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

##### Delete Delegated Access
Delete a delegated access.

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

##### Invite User
Invite a new user.

- Type: write · Key: `inviteuser`
- Requires: LastName, FirstName, Mail, Language, UserType, UserRole
- Optional: MailAlias, LocalCurrency, LocalCountry, ManagerId, ManagerMail, ReviewerId, ReviewerMail, PayId, PayId2, PayId3, PayId4, PayId5, PayId6, Vendor, ConfigurationSettingsReference, IKRatesReference, DefaultProjectId, IKRatesId, ShouldValidateUser
- SDK: `runAction({ app: "expensya", actionType: "write", action: "inviteuser" })`
- CLI: `npx zapier-sdk run-action expensya write inviteuser`

##### Scan Receipt
Upload and process a receipt in your Expensya account for automatic expense extraction.

- Type: write · Key: `scanreceipt`
- Requires: ReceiptContent, ReceiptName, FileType
- Optional: ReceiptUrl, UserId
- SDK: `runAction({ app: "expensya", actionType: "write", action: "scanreceipt" })`
- CLI: `npx zapier-sdk run-action expensya write scanreceipt`

##### Update Contact
Update an existing contact.

- Type: write · Key: `updatecontact`
- Requires: contactId
- Optional: ContactFirstName, ContactLastName, ContactRole, ContactMail, ContactPhoneNumber, ContactAddress, ContactZipCode, ContactCity, ContactCountryCode, IsCoworker, IsShared, ContactCompanyName, ContactCompanyMail, ContactCompanyWebSite, ContactCompanyPhoneNumber, ContactCompanyAddress, ContactCompanyZipCode, ContactCompanyCity, ContactCompanyCountryCode
- SDK: `runAction({ app: "expensya", actionType: "write", action: "updatecontact" })`
- CLI: `npx zapier-sdk run-action expensya write updatecontact`

##### Update Report Status
Update the status of a report.

- Type: write · Key: `updatereportstatus`
- Requires: reportId, Operation
- Optional: Message, InvoiceIdsToReject, AccountingPeriod
- SDK: `runAction({ app: "expensya", actionType: "write", action: "updatereportstatus" })`
- CLI: `npx zapier-sdk run-action expensya write updatereportstatus`

##### Update User
Update a user (legacy deprecated endpoint).

- Type: write · Key: `updateuser`
- Requires: userToken, shouldUpdateValidators
- Optional: Id, LastName, FirstName, Mail, MailAlias, Language, LocalCurrency, LocalCountry, Manager_Id, Reviewer_Id, UserType, UserRole, PayId, PayId2, PayId3, PayId4, PayId5, PayId6, Vendor, JobTitle, CanAddPurchase, HasVirtualPayment, IKRates_Id, DefaultProjectId, ConfigurationSettings_Id, ToReimburse, userId, ManagerMail, ReviewerMail, IKRatesReference, ConfigurationSettingsReference
- SDK: `runAction({ app: "expensya", actionType: "write", action: "updateuser" })`
- CLI: `npx zapier-sdk run-action expensya write updateuser`

##### Update Users Status
Bulk update users status.

- Type: write · Key: `updateusersstatus`
- Requires: UserId, Operation
- SDK: `runAction({ app: "expensya", actionType: "write", action: "updateusersstatus" })`
- CLI: `npx zapier-sdk run-action expensya write updateusersstatus`

#### Queries (13)

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

##### Export Expenses
Export expenses using a specified export format and filters.

- Type: search · Key: `exportexpenses`
- Requires: exportId
- Optional: startDate, endDate, includeReceipts, archiveExpenses, reportStates, reportIds, expenseIds, expenseUseTypes, dateFilterType, payId, payId2, payId3, expenseStates, reportName, reportId, reportIdShort, userMail, userIds, accountingPeriod, categoryId, expenseName
- SDK: `runAction({ app: "expensya", actionType: "search", action: "exportexpenses" })`
- CLI: `npx zapier-sdk run-action expensya search exportexpenses`

##### Export Expense Report (PDF)
Export a specific expense report as PDF.

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

##### Find Contacts
Search and retrieve contacts from your Expensya account with filtering and pagination.

- Type: search · Key: `getcontacts`
- Requires: nothing
- Optional: contactName, contactMail, isActive, isDesc, isShared, isCoworker, companyContactId, contactCompanyName, sortBy, contactFunction, companyId, contactId, userId, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getcontacts" })`
- CLI: `npx zapier-sdk run-action expensya search getcontacts`

##### Get Delegated Access
List of delegated access entries.

- Type: search · Key: `getdelegatedaccess`
- Requires: nothing
- Optional: ownerMail, beneficiaryMail, beneficiaryFirstNameOrLastName, beneficiaryRights, ownerFirstNameOrLastName, sortBy, isDesc, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getdelegatedaccess" })`
- CLI: `npx zapier-sdk run-action expensya search getdelegatedaccess`

##### Get Expense Image
Get the image/receipt file for a specific expense. Returns the image as binary data.

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

##### Find Expenses
Search and retrieve expenses from your Expensya account with advanced filtering options.

- Type: search · Key: `getexpenses`
- Requires: nothing
- Optional: startDate, endDate, status, categoryId, minAmount, maxAmount, currency, userId, sortBy, projectId, ownerPayId, ownerPayId2, ownerPayId3, ownerPayId4, ownerPayId5, ownerPayId6, ownerMail, reportId, reportIdShort, supplierId, reportState, tagsNames, expenseName, valueInCurrency, ownerId, expenseObjectsToReturn, merchantCountries, vatRate, reportsIds, expenseUseTypes, isBillable, isDesc, expenseIds, currencies, isReimbusable, merchantName, dateFilterType, fileType, dateTimeOffset, vatCode, valueHTInExpenseCurrency, vatValue, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getexpenses" })`
- CLI: `npx zapier-sdk run-action expensya search getexpenses`

##### Get Export Formats
Retrieve available export formats.

- Type: search · Key: `getexportformats`
- Requires: nothing
- Optional: isForExpenses, exportType
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getexportformats" })`
- CLI: `npx zapier-sdk run-action expensya search getexportformats`

##### Get Expense Image URL
Get a direct URL for an expense image using the image ID.

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

##### Get Report History
Retrieve the audit/history events for an expense report.

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

##### Get Reports
Listing of expense reports.

- Type: search · Key: `getreports`
- Requires: nothing
- Optional: reportStates, isDesc, dateFilterType, sortBy, reportStartDate, reportEndDate, reportName, reportIdShort, tagsNames, ownerPayId2, dateTimeOffset, ownerId, reportObjectsToReturn, projectId, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getreports" })`
- CLI: `npx zapier-sdk run-action expensya search getreports`

##### Get User Expenses
List of expenses for a specific user.

- Type: search · Key: `getuserexpenses`
- Requires: userId
- Optional: startDate, endDate, sortBy, projectId, reportId, getDuplicates, supplierId, reportState, tagsNames, expenseName, valueInCurrency, expenseObjectsToReturn, merchantCountries, vatRate, expenseStates, reportsIds, userFunction, expenseUseTypes, isBillable, isDesc, expenseIds, currencies, isReimbusable, merchantName, fileType, dateFilterType, dateTimeOffset, vatCode, categoryId, valueHTInExpenseCurrency, vatValue, reportIdShort, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getuserexpenses" })`
- CLI: `npx zapier-sdk run-action expensya search getuserexpenses`

##### Get Users
Get the users list.

- Type: search · Key: `getusers`
- Requires: nothing
- Optional: id, firstName, lastName, mail, mailOrNameOrPayId, userIds, userMails, tagsNames, simpleTagsNames, managerId, managerName, reviewerId, reviewerName, type, state, payId, sortBy, isDesc, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getusers" })`
- CLI: `npx zapier-sdk run-action expensya search getusers`

##### Find Validator Reports
List reports awaiting (or processed by) a specific validator's mailbox.

- Type: search · Key: `getvalidatorreports`
- Requires: validatorMail
- Optional: reportName, reportStartDate, reportEndDate, reportStates, reportIdShort, ownerId, ownerPayId, ownerPayId2, projectId, dateTimeOffset, dateFilterType, sortBy, isDesc, page, pageSize
- SDK: `runAction({ app: "expensya", actionType: "search", action: "getvalidatorreports" })`
- CLI: `npx zapier-sdk run-action expensya search getvalidatorreports`

## Links
- YouTube integrations: zapier.com/apps/youtube/integrations.md
- Expensya integrations: zapier.com/apps/expensya/integrations.md
- Full page: zapier.com/apps/youtube/integrations/expensya
- SDK: npmjs.com/package/@zapier/zapier-sdk