---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Moodle + WordPress Integrations: Connect with Zapier MCP
> zapier.com/apps/moodle/integrations/wordpress
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Moodle and WordPress 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `moodle` and `wordpress`, then `enable_zapier_action`. If Moodle or WordPress isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Upload Media is enabled, call `wordpress_upload_media`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "wordpress",
  actionType: "write",
  action: "media",
  connection: connection.id,
  inputs: {
    file: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action wordpress write media \
  --inputs '{"file":""}'
```

## Moodle

### Identity
Moodle is a free and open-source learning management system that allows educators, of any kind, to create a private space online, filled with tools that easily create courses and activities, all optimised for collaborative learning.

- App slug: moodle
- Operations published here: 3 (2 events, 1 query)

### Authentication
Zapier connects to Moodle 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 moodle
```

### Capabilities

#### Events (2)

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

##### New Course
Triggers when a new course is created.

- Type: read · Key: `course`
- Requires: nothing
- Optional: category_id
- MCP tool: `moodle_new_course` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "moodle", actionType: "read", action: "course" })`
- CLI: `npx zapier-sdk run-action moodle read course`

##### New Enrolled Student in a Course
Triggers when a student enrolls in a course.

- Type: read · Key: `enrolled_student`
- Requires: course_id
- Optional: category_id
- MCP tool: `moodle_new_enrolled_student_in_a_course` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "moodle", actionType: "read", action: "enrolled_student" })`
- CLI: `npx zapier-sdk run-action moodle read enrolled_student`

#### Queries (1)

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

##### Find a Course
Search for course by name.

- Type: search · Key: `course`
- Requires: course_name
- MCP tool: `moodle_find_a_course` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "moodle", actionType: "search", action: "course" })`
- CLI: `npx zapier-sdk run-action moodle search course`

## WordPress

### Identity
WordPress is web software you can use to create a beautiful website or blog. Nearly 20% of the top 10 million websites and over 60 million people have chosen WordPress to power the place on the web they call "home".

- App slug: wordpress
- Operations published here: 17 (6 events, 6 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to WordPress 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 wordpress
```

### Capabilities

#### Events (6)

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

##### New Comment
Triggers when a new comment is added.

- Type: read · Key: `comment`
- Requires: nothing
- Optional: status
- MCP tool: `wordpress_new_comment` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "comment" })`
- CLI: `npx zapier-sdk run-action wordpress read comment`

##### New Media
Triggers when a new media is uploaded.

- Type: read · Key: `media`
- Requires: nothing
- MCP tool: `wordpress_new_media` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "media" })`
- CLI: `npx zapier-sdk run-action wordpress read media`

##### New Post
Triggers when a new post is created.

- Type: read · Key: `post`
- Requires: nothing
- Optional: post_status, post_type
- MCP tool: `wordpress_new_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress read post`

##### Updated Post
Triggers when a post is updated.

- Type: read · Key: `updated_post_hook`
- Requires: nothing
- Optional: post_types, post_statuses, should_status_change
- MCP tool: `wordpress_updated_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "updated_post_hook" })`
- CLI: `npx zapier-sdk run-action wordpress read updated_post_hook`

##### Updated User
Triggers when a user is updated.

- Type: read · Key: `updated_user_hook`
- Requires: nothing
- MCP tool: `wordpress_updated_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "updated_user_hook" })`
- CLI: `npx zapier-sdk run-action wordpress read updated_user_hook`

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

- Type: read · Key: `user`
- Requires: nothing
- MCP tool: `wordpress_new_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "read", action: "user" })`
- CLI: `npx zapier-sdk run-action wordpress read user`

#### Functions (6)

Functions change something in WordPress.

##### Upload Media
Upload a new media file, which can be used as featured media.

- Type: write · Key: `media`
- Requires: file
- Optional: post, filename, title, author, caption, description, alt_text, comment_status, ping_status
- MCP tool: `wordpress_upload_media` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "media" })`
- CLI: `npx zapier-sdk run-action wordpress write media`

##### Create Post
Creates a new post.

- Type: write · Key: `post`
- Requires: post_type
- MCP tool: `wordpress_create_post` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress write post`

##### Create Tag
Creates a new tag.

- Type: write · Key: `tag`
- Requires: name
- Optional: description, slug
- MCP tool: `wordpress_create_tag` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress write tag`

##### Update Post
Updates a post.

- Type: write · Key: `update_post`
- Requires: post_type
- MCP tool: `wordpress_update_post` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "update_post" })`
- CLI: `npx zapier-sdk run-action wordpress write update_post`

##### Create User
Creates a new user.

- Type: write · Key: `user`
- Requires: email, username, password
- Optional: first_name, last_name, name, nickname, description, url, roles
- MCP tool: `wordpress_create_user` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "user" })`
- CLI: `npx zapier-sdk run-action wordpress write user`

##### Update User
Updates an existing user.

- Type: write · Key: `user_update`
- Requires: id
- Optional: email, first_name, last_name, name, nickname, description, url, roles, meta
- MCP tool: `wordpress_update_user` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "write", action: "user_update" })`
- CLI: `npx zapier-sdk run-action wordpress write user_update`

#### Queries (3)

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

##### Find Post
Finds a post.

- Type: search · Key: `post`
- Requires: title
- MCP tool: `wordpress_find_post` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "post" })`
- CLI: `npx zapier-sdk run-action wordpress search post`

##### Find User
Finds a user with a default user role. Does not search users with custom roles created by plugins.

- Type: search · Key: `search_user`
- Requires: search
- Optional: copy_search_keyword
- MCP tool: `wordpress_find_user` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "search_user" })`
- CLI: `npx zapier-sdk run-action wordpress search search_user`

##### Find Tag
Finds a tag.

- Type: search · Key: `tag`
- Requires: name
- MCP tool: `wordpress_find_tag` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "wordpress", actionType: "search", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress search tag`

#### Search or Write Actions (2)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create User
Find or Create User

- Type: search_or_write · Key: `search_user`
- Requires: search, email, username, password
- Optional: copy_search_keyword, first_name, last_name, name, nickname, description, url, roles
- SDK: `runAction({ app: "wordpress", actionType: "search_or_write", action: "search_user" })`
- CLI: `npx zapier-sdk run-action wordpress search_or_write search_user`

##### Find or Create Tag
Finds a tag by name or creates it if it does not exist.

- Type: search_or_write · Key: `tag`
- Requires: name
- Optional: description, slug
- SDK: `runAction({ app: "wordpress", actionType: "search_or_write", action: "tag" })`
- CLI: `npx zapier-sdk run-action wordpress search_or_write tag`

## Frequently asked questions about automating with Moodle and WordPress

### How can I integrate Moodle with WordPress?

You can integrate Moodle with WordPress using plugins that allow for seamless data transfer and user synchronization between the two platforms. We offer integration solutions that can trigger actions on either platform based on specific events, making the whole process efficient and automated.

### Can I automatically transfer user data from Moodle to WordPress?

Yes, our integration allows for automatic syncing of user data between Moodle and WordPress. This action can be triggered whenever a new user is registered on one platform, ensuring that both systems have up-to-date information.

### Is it possible to display Moodle courses on my WordPress site?

Absolutely, through our integration setup, you can automatically display Moodle courses on your WordPress site. This can be achieved by setting a trigger within Moodle when a new course is created or updated, ensuring your WordPress site always reflects the latest offerings.

### What happens if there are changes in course details in Moodle?

Changes in course details within Moodle will automatically trigger updates in the corresponding sections of your WordPress site. Our integration solution ensures that any update made in Moodle is reflected in real-time on your WordPress platform without manual intervention.

### How does enrollment in a Moodle course affect my WordPress site?

When someone enrolls in a course on Moodle, it triggers an update on the user's profile or access rights on your WordPress site. This way, permissions are managed seamlessly across platforms through our integrated tools.

### Are there specific plugins required for integration?

Yes, specific plugins are required to set up the integration between Moodle and WordPress. These plugins handle triggers for actions such as course updates or user registrations and synchronize data accordingly between both platforms.

### How secure is the data transfer between Moodle and WordPress during integration?

We prioritize security by using encrypted connections for all data transfers between Moodle and WordPress. Triggers related to sensitive actions like user authentication are handled with strict security protocols to ensure data integrity and privacy.

### 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
- Moodle integrations: zapier.com/apps/moodle/integrations.md
- WordPress integrations: zapier.com/apps/wordpress/integrations.md
- Full page: zapier.com/apps/moodle/integrations/wordpress
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk