# TrainHeroic + CalGet Integrations: Connect with Zapier MCP
> zapier.com/apps/trainheroic/integrations/calget
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate TrainHeroic and CalGet 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 · create_event`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action calget write create_event \
  --inputs '{}'
```

## TrainHeroic

### Identity
TrainHeroic is a training tool to help coaches and athletes achieve their fitness goals.

- App slug: trainheroic
- Operations published here: 8 (8 events)

### Authentication
Zapier connects to TrainHeroic 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 trainheroic
```

### Capabilities

#### Events (8)

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

##### Athlete Accepts 1:1 Invitation
Triggers when an athlete you coach 1:1 accepts an invitation.

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

##### Athlete Cancels Team Subscription
Triggers when an athlete leaves any team.

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

##### Athlete Accepted an Invitation to Join Team
Triggers when an athlete joins a team using an invitation.

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

##### Marketplace - Trial Converted
Triggers when an athlete trial converts to paid.

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

##### Marketplace - Trial Did Not Convert
Triggers when an athlete trial fails to convert to paid.

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

##### Marketplace - New Program Sale
Triggers when there's a new athlete program purchase.

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

##### Marketplace - New Team Sale Without a Prior Trial
Triggers when there's a new athlete team purchase without a prior trial.

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

##### Marketplace - New Trial Started
Triggers when a new athlete trial is started.

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

## CalGet

### Identity
CalGet is an 'Add to Calendar' link generator with RSVP options. Create shareable event links for popular calendar apps.

- App slug: calget
- Operations published here: 2 (1 event, 1 function)

### Authentication
Zapier connects to CalGet 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 calget
```

### Capabilities

#### Events (1)

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

##### Get RSVP Responses
Get submitted RSVP responses from CalGet

- Type: read · Key: `new_rsvp_response`
- Requires: team, event_id
- SDK: `runAction({ app: "calget", actionType: "read", action: "new_rsvp_response" })`
- CLI: `npx zapier-sdk run-action calget read new_rsvp_response`

#### Functions (1)

Functions change something in CalGet.

##### Create Event
Create a new event in CalGet

- Type: write · Key: `create_event`
- Requires: title, description, location, start_date, end_date, timezone, template, calendar
- Optional: team, is_online, is_all_day, has_rsvp, rsvp_template
- SDK: `runAction({ app: "calget", actionType: "write", action: "create_event" })`
- CLI: `npx zapier-sdk run-action calget write create_event`

## Links
- TrainHeroic integrations: zapier.com/apps/trainheroic/integrations.md
- CalGet integrations: zapier.com/apps/calget/integrations.md
- Full page: zapier.com/apps/trainheroic/integrations/calget
- SDK: npmjs.com/package/@zapier/zapier-sdk