# Zapier — Heropa Integrations
> zapier.com/apps/heropa/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## 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

## Identity
Heropa's cloud platform simplifies virtual labs for software training, enabling hands-on learning in complex environments.

- App slug: heropa
- Operations published here: 28 (14 events, 6 functions, 8 queries)

## Authentication
Zapier connects to Heropa 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 heropa
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/heropa/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Heropa through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · assign_event_seat_to_a_user`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action heropa write assign_event_seat_to_a_user \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Heropa's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "heropa" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions heropa --page-size 50 --max-items 200 --json
```

### Events (14)

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

#### Course Enrollment Completed
Triggers when a new course enrollment is completed.

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

#### Course Enrollment Exercise AiCheck Attempted
Triggers when a new course exercise ai check is attempted.

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

#### Course Enrollment Exercise Completed
Triggers when a new course exercise is completed.

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

#### Course Enrollment Exercise AiCheck Failed
Triggers when a new course exercise ai check is failed.

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

#### Course Enrollment Exercise AiCheck Overridden by Instructor
Triggers when a new course exercise ai check result is overridden by a instructor.

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

#### Course Enrollment Exercise AiCheck Passed
Triggers when a new course exercise ai check is passed.

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

#### Course Enrollment Section Completed
Triggers when a new course enrollment section is completed.

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

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

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

#### Event Finished
Triggers when a new event is finished.

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

#### Event Session Ended
Triggers when a new event session is ended.

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

#### Event Started
Triggers when a new event is started.

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

#### New User
Triggers when a new user is created.

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

#### User Enrolled in Course
Triggers when a user enrolled in course.

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

#### User Request Assistance
Triggers when a user request assistance.

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

### Functions (6)

Functions change something in Heropa.

#### Assign an Event Seat to a User
You can assign event seat to a user

- Type: write · Key: `assign_event_seat_to_a_user`
- Requires: event
- Optional: email, firstname, lastname, externalId
- SDK: `runAction({ app: "heropa", actionType: "write", action: "assign_event_seat_to_a_user" })`
- CLI: `npx zapier-sdk run-action heropa write assign_event_seat_to_a_user`

#### Create Event
Create a Event in the system

- Type: write · Key: `create_event`
- Requires: name, hostId, templateId, regionId, participants_templateId, participants_regionId, seats, schedule_type
- Optional: code, timezone, timezoneAbbr, excludeWeekends, startDate, endDate, startTime_hh, startTime_mm, endTime_hh, endTime_mm, custom_date, custom_startTime_hh, custom_startTime_mm, custom_endTime_hh, custom_endTime_mm
- SDK: `runAction({ app: "heropa", actionType: "write", action: "create_event" })`
- CLI: `npx zapier-sdk run-action heropa write create_event`

#### Create User
Create a User in the system

- Type: write · Key: `create_user`
- Requires: email
- Optional: firstname, lastname, username, course
- SDK: `runAction({ app: "heropa", actionType: "write", action: "create_user" })`
- CLI: `npx zapier-sdk run-action heropa write create_user`

#### Enroll a User in a Course
You can enroll a user in a course.

- Type: write · Key: `enroll_user_in_a_course`
- Requires: course
- Optional: email, firstname, lastname, notifyUser, externalId
- SDK: `runAction({ app: "heropa", actionType: "write", action: "enroll_user_in_a_course" })`
- CLI: `npx zapier-sdk run-action heropa write enroll_user_in_a_course`

#### Unassign Event Seats
You can unassign event seats

- Type: write · Key: `unassign_event_seats`
- Requires: event, seatNos
- SDK: `runAction({ app: "heropa", actionType: "write", action: "unassign_event_seats" })`
- CLI: `npx zapier-sdk run-action heropa write unassign_event_seats`

#### Update Event
Update a Event in the system

- Type: write · Key: `update_event`
- Requires: eventId
- Optional: name, hostId, templateId, regionId, seats, participants_templateId, participants_regionId, participants_seats, timezone, schedule_type, excludeWeekends, startDate, endDate, startTime_hh, startTime_mm, endTime_hh, endTime_mm, custom_date, custom_startTime_hh, custom_startTime_mm, custom_endTime_hh, custom_endTime_mm
- SDK: `runAction({ app: "heropa", actionType: "write", action: "update_event" })`
- CLI: `npx zapier-sdk run-action heropa write update_event`

### Queries (8)

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

#### Find Course by External Id
Find Course By External Id

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

#### Find Event by External Id
Find Event By External Id

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

#### Find Event by Id
Find Event by Id in the system

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

#### Find Event Seat by User
Find Event Seat by User

- Type: search · Key: `find_event_seat_by_user`
- Requires: event, email
- SDK: `runAction({ app: "heropa", actionType: "search", action: "find_event_seat_by_user" })`
- CLI: `npx zapier-sdk run-action heropa search find_event_seat_by_user`

#### Find Template by External Id
Find Template by External Id

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

#### Get Arlo Event Sessions
Get Arlo Event Sessions from Arlo Plataform

- Type: search · Key: `get_arlo_event_sessions`
- Requires: nothing
- Optional: platformname, arlo_event_id
- SDK: `runAction({ app: "heropa", actionType: "search", action: "get_arlo_event_sessions" })`
- CLI: `npx zapier-sdk run-action heropa search get_arlo_event_sessions`

#### Get Course Enrollments by User
Get course enrollments by user

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

#### Get User by Email Address
Get User by email address

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

## Popular integrations
- [Heropa + Arlo](zapier.com/apps/heropa/integrations/arlo.md)
- [Heropa + Google Calendar](zapier.com/apps/heropa/integrations/google-calendar.md)
- [Heropa + Google Drive](zapier.com/apps/heropa/integrations/google-drive.md)
- [Heropa + HubSpot](zapier.com/apps/heropa/integrations/hubspot.md)
- [Heropa + Calendly](zapier.com/apps/heropa/integrations/calendly.md)
- [Heropa + Airtable](zapier.com/apps/heropa/integrations/airtable.md)
- [Heropa + ActiveCampaign](zapier.com/apps/heropa/integrations/activecampaign.md)
- [Heropa + Bitly](zapier.com/apps/heropa/integrations/bitly.md)

## Links
- Full app page: zapier.com/apps/heropa/integrations
- MCP: zapier.com/mcp/heropa
- SDK: npmjs.com/package/@zapier/zapier-sdk