# GoCardless + My Music Staff Integrations: Connect with Zapier MCP
> zapier.com/apps/gocardless/integrations/my-music-staff
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate GoCardless and My Music Staff 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_payment`.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "my-music-staff",
  actionType: "write",
  action: "add_payment",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action my-music-staff write add_payment \
  --inputs '{}'
```

## GoCardless

### Identity
GoCardless is a payments platform helping businesses collect payments directly from customer bank accounts.

- App slug: gocardless
- Operations published here: 22 (10 events, 5 functions, 7 queries)

### Authentication
Zapier connects to GoCardless 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 gocardless
```

### Capabilities

#### Events (10)

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

##### New Payment Authorisation Request
Triggers when a new mandate or instant bank payment (IBP) has been initiated and billing information is requested.

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

##### Payment Authorisation Approved
Triggers when a customer successfully sets up their billing information.

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

##### Mandate Activated
Triggers when a payment mandate is activated.

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

##### Mandate Cancelled
Triggers when a payment mandate is cancelled (manually by a customer or because the billing period ended).

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

##### New Mandate Created
Triggers when a payment mandate is created.

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

##### Payment Confirmed
Triggers when a payment has been collected, but not yet paid out to your account.

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

##### Failed Payment
Triggers when a payment fails.

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

##### Payment Paid Out
Triggers when a payment has been paid out to your account.

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

##### Payment Submitted
Triggers when the payment has been submitted to the banking system for processing, and can no longer be cancelled.

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

##### Payout Paid
Triggers when a payout has been paid to your account.

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

#### Functions (5)

Functions change something in GoCardless.

##### Create Mandate Authorisation Request
Creates a request to collect payments from a customer’s bank account. This authorisation is a pre-requisite for collecting direct debit payments.

- Type: write · Key: `create_direct_debit_mandate`
- Requires: currency
- Optional: customer_id
- SDK: `runAction({ app: "gocardless", actionType: "write", action: "create_direct_debit_mandate" })`
- CLI: `npx zapier-sdk run-action gocardless write create_direct_debit_mandate`

##### Create Instant Bank Payment
Creates an instant bank payment request. Not available in all regions.

- Type: write · Key: `create_instant_bank_pay`
- Requires: amount, currency, description
- Optional: customer_id
- SDK: `runAction({ app: "gocardless", actionType: "write", action: "create_instant_bank_pay" })`
- CLI: `npx zapier-sdk run-action gocardless write create_instant_bank_pay`

##### Create Instant First Payment + Direct Debit Mandate
Creates an instant first payment request and also request authorisation to collect future direct debit payments from a customer's bank account. Not available in all regions.

- Type: write · Key: `create_instant_first_pay_direct_debit_mandate`
- Requires: amount, currency, description
- Optional: customer_id
- SDK: `runAction({ app: "gocardless", actionType: "write", action: "create_instant_first_pay_direct_debit_mandate" })`
- CLI: `npx zapier-sdk run-action gocardless write create_instant_first_pay_direct_debit_mandate`

##### Create Direct Debit Payment
Create a direct debit payment. This can only be created when linked to a mandate

- Type: write · Key: `create_payment`
- Requires: amount, currency
- Optional: charge_date, description, reference, mandate_id, customer_id
- SDK: `runAction({ app: "gocardless", actionType: "write", action: "create_payment" })`
- CLI: `npx zapier-sdk run-action gocardless write create_payment`

##### Create Subscription
Create a subscription. Must be linked to an active mandate.

- Type: write · Key: `create_subscription`
- Requires: amount, currency, interval_unit
- Optional: name, interval, mandate_id, customer_id
- SDK: `runAction({ app: "gocardless", actionType: "write", action: "create_subscription" })`
- CLI: `npx zapier-sdk run-action gocardless write create_subscription`

#### Queries (7)

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

##### Search for a Billing Request
Search for a billing request by ID.

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

##### Search for a Customer
Search for a customer by ID.

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

##### Search for a Customer Bank Account
Search for a Customer Bank Account by ID.

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

##### Search for a Mandate
Search for a mandate by ID.

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

##### Search for a Payment
Search for a payment by ID.

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

##### Search for a Payout
Search for a payout by ID.

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

##### Search for Payout Items by Payout ID
Search for payout items by payout ID.

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

## My Music Staff

### Identity
My Music Staff is a tool for private music teachers and schools, managing scheduling, payments, attendance, and communication—all in one easy-to-use platform.

- App slug: my-music-staff
- Operations published here: 16 (8 events, 3 functions, 5 queries)

### Authentication
Zapier connects to My Music Staff 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 my-music-staff
```

### Capabilities

#### Events (8)

Events fire when something happens in My Music Staff. Use them to start a run.

##### Student Added to Event
Triggers when a student is added to an event on the calendar.

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

##### Attendance Taken
Triggers when attendance is taken or edited for a calendar event.

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

##### New Email
Triggers when a new email message is created.

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

##### New Invoice
Triggers when a new invoice is created (manually or by auto-invoicing).

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

##### Payment Added
Triggers when a payment is recorded in a Family Account.

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

##### New SMS
Triggers when a new SMS message is created.

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

##### New Student
Triggers when a new student is added to your My Music Staff account.

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

##### Student Updated
Triggers when a student's profile information is updated.

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

#### Functions (3)

Functions change something in My Music Staff.

##### Add Payment
Records a payment in the Family Account

- Type: write · Key: `add_payment`
- Requires: Amount, Timestamp, FamilyID
- Optional: Description
- SDK: `runAction({ app: "my-music-staff", actionType: "write", action: "add_payment" })`
- CLI: `npx zapier-sdk run-action my-music-staff write add_payment`

##### Add Student
Adds a new student to your My Music Staff account.

- Type: write · Key: `add_student`
- Requires: studentType, studentFirstName, studentLastName, studentStatus
- Optional: studentEmail, studentPhoneNumber, studentPhoneSMSCapable, studentSendEmailReminder, studentSendSMSReminder, studentBirthday, studentSince, studentSkillLevel, studentGender, studentReferrer, studentNote, studentSkypeUsername, studentSchool, studentFaceTimeID, studentGroupTags, studentSubjectTypes
- SDK: `runAction({ app: "my-music-staff", actionType: "write", action: "add_student" })`
- CLI: `npx zapier-sdk run-action my-music-staff write add_student`

##### Update Student
Updates a student's details, such as, status (Active, Trial, Lead, Waiting, Inactive), name, email, phone, birthday, etc.

- Type: write · Key: `update_student`
- Requires: StudentID
- Optional: Status, FirstName, LastName, Email, PhoneNumber, PhoneSMSCapable, SendEmailReminders, SendSMSReminders, Birthday, Since, SkillLevel, Gender, Referrer, Note, SkypeUsername, School, FaceTimeID, SubjectTypes, GroupTagsIDs, AdultStudentAddress
- SDK: `runAction({ app: "my-music-staff", actionType: "write", action: "update_student" })`
- CLI: `npx zapier-sdk run-action my-music-staff write update_student`

#### Queries (5)

Queries read from My Music Staff and return data. They change nothing.

#####  Find Attendance Records
Find a specific event's attendance by student

- Type: search · Key: `search_attendance`
- Requires: StudentID
- Optional: limit, orderby
- SDK: `runAction({ app: "my-music-staff", actionType: "search", action: "search_attendance" })`
- CLI: `npx zapier-sdk run-action my-music-staff search search_attendance`

##### Find Event
Finds an event based on Event ID.

- Type: search · Key: `search_event`
- Requires: EventID
- SDK: `runAction({ app: "my-music-staff", actionType: "search", action: "search_event" })`
- CLI: `npx zapier-sdk run-action my-music-staff search search_event`

##### Find Parent
Finds first Parent based on Family ID or on search text.

- Type: search · Key: `search_parent`
- Requires: nothing
- Optional: FamilyID, limit, SearchText
- SDK: `runAction({ app: "my-music-staff", actionType: "search", action: "search_parent" })`
- CLI: `npx zapier-sdk run-action my-music-staff search search_parent`

##### Find All Parents
Finds all parents based on Family ID or on search text.

- Type: search · Key: `search_parents`
- Requires: nothing
- Optional: FamilyID, SearchText
- SDK: `runAction({ app: "my-music-staff", actionType: "search", action: "search_parents" })`
- CLI: `npx zapier-sdk run-action my-music-staff search search_parents`

##### Find Student
Finds students based on Student ID or on search text.

- Type: search · Key: `search_student`
- Requires: nothing
- Optional: StudentID, SearchText
- SDK: `runAction({ app: "my-music-staff", actionType: "search", action: "search_student" })`
- CLI: `npx zapier-sdk run-action my-music-staff search search_student`

## Frequently asked questions about automating with GoCardless and My Music Staff

### 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
- GoCardless integrations: zapier.com/apps/gocardless/integrations.md
- My Music Staff integrations: zapier.com/apps/my-music-staff/integrations.md
- Full page: zapier.com/apps/gocardless/integrations/my-music-staff
- SDK: npmjs.com/package/@zapier/zapier-sdk