# Amazon Redshift + D7 Messaging Integrations: Connect with Zapier MCP
> zapier.com/apps/amazon-redshift/integrations/d7-messaging
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Amazon Redshift and D7 Messaging 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).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## 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**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **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**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · balance`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action d7-messaging write balance \
  --inputs '{}'
```

## Amazon Redshift

### Identity
Amazon Redshift is a fast, scalable data warehouse that makes it simple and cost-effective to analyze all your data across your data warehouse and data lake.

- App slug: amazon-redshift
- Operations published here: 7 (2 events, 3 functions, 2 queries)

### Authentication
Zapier connects to Amazon Redshift 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 amazon-redshift
```

### Capabilities

#### Events (2)

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

##### New Row
Run a single SQL statement on your database, trigger on new rows found.

- Type: read · Key: `new_row`
- Requires: query
- SDK: `runAction({ app: "amazon-redshift", actionType: "read", action: "new_row" })`
- CLI: `npx zapier-sdk run-action amazon-redshift read new_row`

##### Updated Row
Trigger when rows update, based on a selected updated time column.

- Type: read · Key: `updated_row`
- Requires: selected_table, returned_columns, updated_column
- Optional: primary_key
- SDK: `runAction({ app: "amazon-redshift", actionType: "read", action: "updated_row" })`
- CLI: `npx zapier-sdk run-action amazon-redshift read updated_row`

#### Functions (3)

Functions change something in Amazon Redshift.

##### Create Rows
Insert rows into a table.

- Type: write · Key: `create_rows`
- Requires: selected_table, columns
- SDK: `runAction({ app: "amazon-redshift", actionType: "write", action: "create_rows" })`
- CLI: `npx zapier-sdk run-action amazon-redshift write create_rows`

##### Delete Rows
Deletes row(s) in an existing table in Redshift.

- Type: write · Key: `delete_rows`
- Requires: selected_table, column, operator, value
- SDK: `runAction({ app: "amazon-redshift", actionType: "write", action: "delete_rows" })`
- CLI: `npx zapier-sdk run-action amazon-redshift write delete_rows`

##### Update Rows
Update row(s) in an existing table in Redshift.

- Type: write · Key: `update_rows`
- Requires: selected_table, columns, whereColumnForOperator, operator
- Optional: value
- SDK: `runAction({ app: "amazon-redshift", actionType: "write", action: "update_rows" })`
- CLI: `npx zapier-sdk run-action amazon-redshift write update_rows`

#### Queries (2)

Queries read from Amazon Redshift and return data. They change nothing.

##### Query Database
Run a single SQL statement on your database

- Type: search · Key: `query_v2`
- Requires: query
- SDK: `runAction({ app: "amazon-redshift", actionType: "search", action: "query_v2" })`
- CLI: `npx zapier-sdk run-action amazon-redshift search query_v2`

##### Find Rows
Run a Select query on a table.

- Type: search · Key: `select_v2`
- Requires: selected_table, returnedColumns, whereColumnForOperator, operator
- Optional: value, limitRows
- SDK: `runAction({ app: "amazon-redshift", actionType: "search", action: "select_v2" })`
- CLI: `npx zapier-sdk run-action amazon-redshift search select_v2`

## D7 Messaging

### Identity
D7 Messaging is a global platform offering SMS, OTP, 2FA, Number Verification, Lookup, Viber, and WhatsApp APIs for seamless communication.

- App slug: d7-messaging
- Operations published here: 17 (17 functions)

### Authentication
Zapier connects to D7 Messaging 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 d7-messaging
```

### Capabilities

#### Functions (17)

Functions change something in D7 Messaging.

##### Check Balance
Check D7API account balance.

- Type: write · Key: `balance`
- Requires: nothing
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "balance" })`
- CLI: `npx zapier-sdk run-action d7-messaging write balance`

##### Generate OTP
Generate the One Time Password or Verification Token and send to the recipient.

- Type: write · Key: `Generate_OTP`
- Requires: originator, recipient, content
- Optional: data_coding, expiry, retry_delay, retry_count, otp_code_length, otp_type, template_id, success_url, failure_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "Generate_OTP" })`
- CLI: `npx zapier-sdk run-action d7-messaging write Generate_OTP`

##### Number Lookup
Retrieves informations about the phone numbers

- Type: write · Key: `number_lookup`
- Requires: Recipient
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "number_lookup" })`
- CLI: `npx zapier-sdk run-action d7-messaging write number_lookup`

#####  Regenerate OTP
OTP can be re-generated using the otp_id which was returned from Generate OTP endpoint.

- Type: write · Key: `Regenerate_OTP`
- Requires: otp_id
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "Regenerate_OTP" })`
- CLI: `npx zapier-sdk run-action d7-messaging write Regenerate_OTP`

##### Send SMS Message
Utilize this endpoint to send individual SMS, batch SMS, Unicode (language types), and more.

- Type: write · Key: `send_message`
- Requires: originator, recipients, content, data_coding
- Optional: report_url, msg_type
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "send_message" })`
- CLI: `npx zapier-sdk run-action d7-messaging write send_message`

##### Send Slack Message
Send messages to both private and public slack channels in your workspace.

- Type: write · Key: `send_slack_message`
- Requires: work_space_name, channel_name, content
- Optional: report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "send_slack_message" })`
- CLI: `npx zapier-sdk run-action d7-messaging write send_slack_message`

##### Send Viber Message
Our Viber Messaging API is tailored to address various use cases and seamlessly integrates with any system. It supports the implementation of both single Viber messages and personalized batch Viber messages.

- Type: write · Key: `send_viber_message`
- Requires: originator, label, recipients, content
- Optional: image, button_action, button_caption, call_back_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "send_viber_message" })`
- CLI: `npx zapier-sdk run-action d7-messaging write send_viber_message`

##### Verify OTP
Verify the One Time Password or Verification Token sent

- Type: write · Key: `verify_otp`
- Requires: otp_id, otp_code
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "verify_otp" })`
- CLI: `npx zapier-sdk run-action d7-messaging write verify_otp`

##### Whatsapp [Marketing] Media
Send media through WhatsApp Marketing messages, including videos, images, and documents.

- Type: write · Key: `whatsapp_marketing_attachments`
- Requires: originator, language, template_id, attachment_type, attachment_url, recipients
- Optional: body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_marketing_attachments" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_marketing_attachments`

##### WhatsApp [Marketing] Location
Send location information through WhatsApp Marketing messages

- Type: write · Key: `whatsapp_marketing_location`
- Requires: originator, language, template_id, latitude, longitude, recipients
- Optional: location_name, location_address, body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_marketing_location" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_marketing_location`

##### Whatsapp [Marketing] Text Message
Send WhatsApp Marketing text messages

- Type: write · Key: `whatsapp_marketing_text`
- Requires: originator, language, template_id, recipients
- Optional: body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_marketing_text" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_marketing_text`

##### WhatsApp [Service] Media
Send various media through WhatsApp Service messages, including videos, audio files, images, documents, and stickers.

- Type: write · Key: `whatsapp_service_attachments`
- Requires: originator, attachment_type, attachment_url, recipients
- Optional: attachment_caption, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_service_attachments" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_service_attachments`

##### WhatsApp [Service] Location
Send location information through WhatsApp Service messages

- Type: write · Key: `whatsapp_service_location`
- Requires: originator, latitude, longitude, recipients
- Optional: location_name, location_address, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_service_location" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_service_location`

##### Whatsapp [Service] Text Message
Send WhatsApp service text message

- Type: write · Key: `whatsapp_service_text`
- Requires: originator, message_text, recipients
- Optional: report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_service_text" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_service_text`

##### Whatsapp [Utility] Media
Send media through WhatsApp Utility messages, including videos, images, and documents.

- Type: write · Key: `whatsapp_utility_attachments`
- Requires: originator, language, template_id, attachment_type, attachment_url, recipients
- Optional: body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_utility_attachments" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_utility_attachments`

##### WhatsApp [Utility] Location
Send location information through WhatsApp Utility messages

- Type: write · Key: `whatsapp_utility_location`
- Requires: originator, language, template_id, latitude, longitude, recipients
- Optional: location_name, location_address, body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_utility_location" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_utility_location`

##### Whatsapp [Utility] Text Message
Send WhatsApp Utility text messages

- Type: write · Key: `whatsapp_utility_text`
- Requires: originator, language, template_id, recipients
- Optional: body_parameter_values, report_url
- SDK: `runAction({ app: "d7-messaging", actionType: "write", action: "whatsapp_utility_text" })`
- CLI: `npx zapier-sdk run-action d7-messaging write whatsapp_utility_text`

## Frequently asked questions about automating with Amazon Redshift and D7 Messaging

### 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.
- 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
- Amazon Redshift integrations: zapier.com/apps/amazon-redshift/integrations.md
- D7 Messaging integrations: zapier.com/apps/d7-messaging/integrations.md
- Full page: zapier.com/apps/amazon-redshift/integrations/d7-messaging
- SDK: npmjs.com/package/@zapier/zapier-sdk