# Zapier — Trumpia Integrations
> zapier.com/apps/trumpia/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).

## Identity
Trumpia offers text messaging in the easiest platform to start with, giving you everything you need for your first campagin.

- App slug: trumpia
- Operations published here: 6 (2 events, 4 functions)

## Authentication
Zapier connects to Trumpia 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.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 trumpia
```

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

### Getting Started
- **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 / VS Code / generic `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`.
  - After sign-in: call `discover_zapier_actions` for `trumpia`, then `enable_zapier_action`. If Trumpia isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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 · createDistributionList`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action trumpia write createDistributionList \
  --inputs '{}'
```

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

### Events (2)

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

#### New Contact (Keyword Sign Up)
Triggers when a new contact is added to an distribution list by keyword sign up.

- Type: read · Key: `triggerNewContactKeywordSignUp`
- Requires: distributionList
- Optional: note
- SDK: `runAction({ app: "trumpia", actionType: "read", action: "triggerNewContactKeywordSignUp" })`
- CLI: `npx zapier-sdk run-action trumpia read triggerNewContactKeywordSignUp`

#### New Inbound Mobile Message
Triggers when a new message is received.

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

### Functions (4)

Functions change something in Trumpia.

#### Create Distribution List
Creates a new Distribution list in Trumpia.

- Type: write · Key: `createDistributionList`
- Requires: listName, displayName, frequency, description
- Optional: note
- SDK: `runAction({ app: "trumpia", actionType: "write", action: "createDistributionList" })`
- CLI: `npx zapier-sdk run-action trumpia write createDistributionList`

#### Create Contact
Creates a new contact in Trumpia.

- Type: write · Key: `createSubscription`
- Requires: distributionList, firstName, lastName
- Optional: note, email, mobileCountryCode, mobileNumber, landlineCountryCode, landlineNumber, customDatafieldList01, customDatafieldValue01, customDatafieldList02, customDatafieldValue02, customDatafieldList03, customDatafieldValue03, customDatafieldList04, customDatafieldValue04, customDatafieldList05, customDatafieldValue05, customDatafieldList06, customDatafieldValue06, customDatafieldList07, customDatafieldValue07, customDatafieldList08, customDatafieldValue08, customDatafieldList09, customDatafieldValue09, customDatafieldList10, customDatafieldValue10
- SDK: `runAction({ app: "trumpia", actionType: "write", action: "createSubscription" })`
- CLI: `npx zapier-sdk run-action trumpia write createSubscription`

#### Send Email
Creates and send a new email to a contact.

- Type: write · Key: `sendEmail`
- Requires: to, subject
- Optional: note, from, contentPlainText, contentHtml
- SDK: `runAction({ app: "trumpia", actionType: "write", action: "sendEmail" })`
- CLI: `npx zapier-sdk run-action trumpia write sendEmail`

#### Send Mobile Message
Creates and send a new mobile message to a specified contact.

- Type: write · Key: `sendMobileMessage`
- Requires: mobileNumber, text
- Optional: sender, countryCode, orgNameId, media, subject
- SDK: `runAction({ app: "trumpia", actionType: "write", action: "sendMobileMessage" })`
- CLI: `npx zapier-sdk run-action trumpia write sendMobileMessage`

## Popular integrations
- [Trumpia + Google Calendar](zapier.com/apps/trumpia/integrations/google-calendar.md)
- [Trumpia + Cognito Forms](zapier.com/apps/trumpia/integrations/cognito-forms.md)
- [Trumpia + MyCase](zapier.com/apps/trumpia/integrations/mycase.md)
- [Trumpia + Google Forms (Legacy)](zapier.com/apps/trumpia/integrations/google-forms-legacy.md)
- [Trumpia + Stripe (Legacy)](zapier.com/apps/trumpia/integrations/stripe-legacy.md)
- [Trumpia + CallRail](zapier.com/apps/trumpia/integrations/callrail.md)
- [Trumpia + AWeber](zapier.com/apps/trumpia/integrations/aweber.md)
- [Trumpia + Podio](zapier.com/apps/trumpia/integrations/podio.md)
- [Trumpia + SolarDialer](zapier.com/apps/trumpia/integrations/solardialer.md)

## Links
- Full app page: zapier.com/apps/trumpia/integrations
- SDK: npmjs.com/package/@zapier/zapier-sdk
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md