# Zapier — Kameleoon Integrations
> zapier.com/apps/kameleoon/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
Kameleoon's powerful and easy-to-use A/B testing, full stack, and AI-powered personalization solutions help marketers, product owners, and developers maximize customer engagement and conversion - all from a single platform.

- App slug: kameleoon
- Operations published here: 15 (8 events, 7 functions)

## Authentication
Zapier connects to Kameleoon 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 kameleoon
```

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

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action kameleoon write activate_experiment \
  --inputs '{}'
```

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

### Events (8)

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

#### Experiment Updated
Triggers when any experiment (A/B test) status has been updated in your account.

- Type: read · Key: `experiment_status_updated`
- Requires: site_id, status
- SDK: `runAction({ app: "kameleoon", actionType: "read", action: "experiment_status_updated" })`
- CLI: `npx zapier-sdk run-action kameleoon read experiment_status_updated`

#### Feature Flag Inactive
Triggers when Feature Flags are ready to remove from your code base.

- Type: read · Key: `feature_flag_inactive`
- Requires: siteCode, inactive_for
- SDK: `runAction({ app: "kameleoon", actionType: "read", action: "feature_flag_inactive" })`
- CLI: `npx zapier-sdk run-action kameleoon read feature_flag_inactive`

#### Feature Flag Updated
Triggers when a new Feature Flag is created, paused, activated or stopped.

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

#### Stale Flag
Triggers when a flag becomes stale.

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

#### Flag Toggled
Triggers when a flag is toggled

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

#### Kameleoon Script Updated
Triggers when the Kameleoon application script (kameleoon.js) has been updated in production.

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

#### New Rollback
Triggers when a new rollback occurs.

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

#### New Site Created
Triggers when a new site has been added to your Kameleoon account.

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

### Functions (7)

Functions change something in Kameleoon.

#### Activate Experiment
Activates an experiment.

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

#### Rollout Feature Flag
Activates and rollout a Feature Flag.

- Type: write · Key: `activate_feature_flag`
- Requires: featureKey, siteCode, environmentKey
- SDK: `runAction({ app: "kameleoon", actionType: "write", action: "activate_feature_flag" })`
- CLI: `npx zapier-sdk run-action kameleoon write activate_feature_flag`

#### Create Feature Flag
Create a Feature Flag.

- Type: write · Key: `create_feature_flag`
- Requires: featureKey, name, siteCode
- Optional: tags
- SDK: `runAction({ app: "kameleoon", actionType: "write", action: "create_feature_flag" })`
- CLI: `npx zapier-sdk run-action kameleoon write create_feature_flag`

#### Pause Experiment
Pauses the Experiment.

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

#### Resume Experiment
Resumes a paused experiment

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

#### Rollback Feature Flag
Rollback and disables a Feature Flag.

- Type: write · Key: `rollback_feature_flag`
- Requires: featureKey, siteCode, environmentKey
- SDK: `runAction({ app: "kameleoon", actionType: "write", action: "rollback_feature_flag" })`
- CLI: `npx zapier-sdk run-action kameleoon write rollback_feature_flag`

#### Stop Experiment
Stops an Experiment.

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

## Popular integrations
- [Kameleoon + HubSpot](zapier.com/apps/kameleoon/integrations/hubspot.md)
- [Kameleoon + Microsoft Outlook](zapier.com/apps/kameleoon/integrations/microsoft-outlook.md)
- [Kameleoon + Microsoft Dynamics 365 CRM](zapier.com/apps/kameleoon/integrations/microsoft-dynamics-crm.md)
- [Kameleoon + Kelloo](zapier.com/apps/kameleoon/integrations/kelloo.md)

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