# Zapier — Learnyst Integrations
> zapier.com/apps/learnyst/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
Learnyst is an online course platform. It allows you to create and sell courses and mocktests without any technical knowledge from your own branded website and mobile apps.

- App slug: learnyst
- Operations published here: 11 (9 events, 2 functions)

## Authentication
Zapier connects to Learnyst 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 learnyst
```

## 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/learnyst/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Learnyst 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 · paid_enrollment`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action learnyst write paid_enrollment \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Learnyst'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: "learnyst" }).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 learnyst --page-size 50 --max-items 200 --json
```

### Events (9)

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

#### Custom Fields
Triggers when learner fills up custom field form.

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

#### Initiate Transaction
Triggers when the learner initiates the transaction.

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

#### Lesson Completed
Triggers when learner completes the lesson.

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

#### Mobile OTP Verification
Triggers when a learner verifies the mobile with OTP for the first time.

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

#### Profile Updated
Triggers when learner updates their profile.

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

#### Purchase
Triggers when learner purchases a product.

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

#### Sign Up
Triggers when a new learner signs up to your learnyst platform.

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

#### Test Submit
Triggers when learner submits a test.

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

#### Trial Enrolment
Triggers when learner enrolls in a product.

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

### Functions (2)

Functions change something in Learnyst.

#### Paid Enrollment
This action will give paid access to an existing student to a product.

- Type: write · Key: `paid_enrollment`
- Requires: email, course_title
- SDK: `runAction({ app: "learnyst", actionType: "write", action: "paid_enrollment" })`
- CLI: `npx zapier-sdk run-action learnyst write paid_enrollment`

#### Sign Up
This action will register a learner to your learnyst platform.

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

## Popular integrations
- [Learnyst + Google Sheets](zapier.com/apps/learnyst/integrations/google-sheets.md)
- [Learnyst + ChatGPT (OpenAI)](zapier.com/apps/learnyst/integrations/chatgpt.md)
- [Learnyst + Zoho Books](zapier.com/apps/learnyst/integrations/zoho-books.md)
- [Learnyst + NoPaperForms](zapier.com/apps/learnyst/integrations/nopaperforms.md)
- [Learnyst + Shopify](zapier.com/apps/learnyst/integrations/shopify.md)
- [Learnyst + Flodesk](zapier.com/apps/learnyst/integrations/flodesk.md)
- [Learnyst + WordPress](zapier.com/apps/learnyst/integrations/wordpress.md)
- [Learnyst + MySQL](zapier.com/apps/learnyst/integrations/mysql.md)
- [Learnyst + Edmingle](zapier.com/apps/learnyst/integrations/edmingle.md)

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