# Zapier — AI Guardrails by Zapier Integrations
> zapier.com/apps/ai-guardrails-by-zapier-ca231637/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
AI Guardrails by Zapier is a content moderation and privacy integration that detects PII, toxicity, and prompt attacks in your workflows.

- App slug: ai-guardrails-by-zapier-ca231637
- Operations published here: 5 (5 functions)

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

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.

### Getting Started
- **MCP**: connect AI Guardrails by Zapier 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`
- Add `--json` to any CLI command (not just the one shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.

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

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

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "ai-guardrails-by-zapier-ca231637", owner: "me" });

const { data } = await zapier.runAction({
  app: "ai-guardrails-by-zapier-ca231637",
  actionType: "write",
  action: "check_for_pii",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write check_for_pii \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing AI Guardrails by Zapier'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: "ai-guardrails-by-zapier-ca231637" }).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 ai-guardrails-by-zapier-ca231637 --page-size 50 --max-items 200 --json
```

### Functions (5)

Functions change something in AI Guardrails by Zapier.

#### Detect Personally Identifiable Information (ML-powered)
Scans text for personally identifiable information (PII) and returns pass/fail status with detected types. Select which PII types to check for, or leave all checked (default) to scan for all types.

- Type: write · Key: `check_for_pii`
- Requires: text
- Optional: ai_powered_copy, throw_error_if_pii
- SDK: `runAction({ app: "ai-guardrails-by-zapier-ca231637", actionType: "write", action: "check_for_pii" })`
- CLI: `npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write check_for_pii`

#### Detect Prompt Attacks (LLM-powered)
Analyzes text for potential prompt attack attempts that could manipulate AI model behavior. Returns detection status and recommended action.

- Type: write · Key: `detect_prompt_attack`
- Requires: text
- Optional: ai_powered_copy, throw_error_if_prompt_attack
- SDK: `runAction({ app: "ai-guardrails-by-zapier-ca231637", actionType: "write", action: "detect_prompt_attack" })`
- CLI: `npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write detect_prompt_attack`

#### Sentiment Detection (ML-powered)
Analyzes text to determine its emotional tone (positive, negative, neutral, or mixed) with confidence scores for each sentiment category.

- Type: write · Key: `detect_sentiment`
- Requires: text
- Optional: ai_powered_copy
- SDK: `runAction({ app: "ai-guardrails-by-zapier-ca231637", actionType: "write", action: "detect_sentiment" })`
- CLI: `npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write detect_sentiment`

#### Detect Toxicity (LLM-powered)
Analyzes text for toxic or harmful content using AWS Bedrock. Returns whether toxicity was detected, the types found, and confidence scores.

- Type: write · Key: `detect_toxicity`
- Requires: text
- Optional: ai_powered_copy, throw_error_if_toxic
- SDK: `runAction({ app: "ai-guardrails-by-zapier-ca231637", actionType: "write", action: "detect_toxicity" })`
- CLI: `npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write detect_toxicity`

#### Detect Toxicity (ML-powered)
Analyzes text for toxic or harmful content using AWS Comprehend. Returns toxicity score and detected label types.

- Type: write · Key: `detect_toxicity_v2`
- Requires: text
- Optional: ai_powered_copy, throw_error_if_toxic
- SDK: `runAction({ app: "ai-guardrails-by-zapier-ca231637", actionType: "write", action: "detect_toxicity_v2" })`
- CLI: `npx zapier-sdk run-action ai-guardrails-by-zapier-ca231637 write detect_toxicity_v2`

## Popular integrations
- [AI Guardrails by Zapier + Metricool](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/metricool.md)
- [AI Guardrails by Zapier + Sharetribe](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/sharetribe.md)
- [AI Guardrails by Zapier + Google Sheets](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/google-sheets.md)
- [AI Guardrails by Zapier + Google Calendar](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/google-calendar.md)
- [AI Guardrails by Zapier + Microsoft Outlook](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/microsoft-outlook.md)
- [AI Guardrails by Zapier + Amazon SNS](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/amazon-sns.md)
- [AI Guardrails by Zapier + Google Drive](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/google-drive.md)
- [AI Guardrails by Zapier + HubSpot](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/hubspot.md)
- [AI Guardrails by Zapier + Typeform](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/typeform.md)
- [AI Guardrails by Zapier + Shopify](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/shopify.md)
- [AI Guardrails by Zapier + Jotform](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/jotform.md)
- [AI Guardrails by Zapier + Google Business Profile](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/google-business-profile.md)
- [AI Guardrails by Zapier + Tally](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/tally.md)
- [AI Guardrails by Zapier + Twilio](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/twilio.md)
- [AI Guardrails by Zapier + Instagram for Business](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/instagram-for-business.md)
- [AI Guardrails by Zapier + Microsoft SharePoint](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/sharepoint.md)
- [AI Guardrails by Zapier + Facebook Messenger](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/facebook-messenger.md)
- [AI Guardrails by Zapier + WhatsApp Business](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/whatsapp-business.md)
- [AI Guardrails by Zapier + Stripe](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/stripe.md)
- [AI Guardrails by Zapier + Google Docs](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/google-docs.md)
- [AI Guardrails by Zapier + Asana](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/asana.md)
- [AI Guardrails by Zapier + Plaud](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/plaud.md)
- [AI Guardrails by Zapier + Quo](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/quo.md)
- [AI Guardrails by Zapier + Zendesk](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/zendesk.md)
- [AI Guardrails by Zapier + Intercom](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/intercom.md)
- [AI Guardrails by Zapier + Microsoft Office 365](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/office-365.md)
- [AI Guardrails by Zapier + ServiceTitan](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/servicetitan.md)
- [AI Guardrails by Zapier + Human in the Loop](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/human-in-the-loop.md)
- [AI Guardrails by Zapier + BambooHR](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/bamboohr.md)
- [AI Guardrails by Zapier + Box](zapier.com/apps/ai-guardrails-by-zapier-ca231637/integrations/box.md)

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