# AmeriCommerce + MySQL Integrations: Connect with Zapier MCP
> zapier.com/apps/americommerce/integrations/mysql
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate AmeriCommerce and MySQL 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 · row`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action mysql write row \
  --inputs '{}'
```

## AmeriCommerce

### Identity
AmeriCommerce is a full-featured eCommerce platform.

- App slug: americommerce
- Operations published here: 22 (10 events, 9 functions, 3 queries)

### Authentication
Zapier connects to AmeriCommerce 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 americommerce
```

### Capabilities

#### Events (10)

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

##### New Customer
Triggers when a customer is created in your AmeriCommerce store.

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

##### New Order
Triggers when a new order (of any status) is created.

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

##### New Product
Triggers when a product is added.

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

##### New Quote
Triggers when a new quote is added to your AmeriCommerce Store.

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

##### New Valid Order
Triggers when a new valid order (meaning not declined or cancelled) is created.

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

##### Order Status Changed
Triggers when an order status changes.

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

##### Order Updated
Triggers when an order is updated.

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

##### Updated Customer
Triggers when a customer is updated in your AmeriCommerce store.

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

##### Customer Email Updated
Triggers when a customer's email address is updated.

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

##### Updated Product
Triggers when a product is updated on your AmeriCommerce store.

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

#### Functions (9)

Functions change something in AmeriCommerce.

##### Change Order Status
Changes an order's status

- Type: write · Key: `change_order_status`
- Requires: nothing
- Optional: order_id, order_number, ordered_at, customer_email, order_status
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "change_order_status" })`
- CLI: `npx zapier-sdk run-action americommerce write change_order_status`

##### Create Customer
Creates a new customer in your AmeriCommerce Store

- Type: write · Key: `create_customer`
- Requires: email
- Optional: first_name, last_name, phone_number, alternate_phone_number, company, customer_number, customer_type, taxable, tax_exemption_number, tax_rate, reward_tier, source, source_group, sales_note, adcode, comments, address_first_name, address_last_name, address_line_1, address_line_2, city, state, postal_code, country, address_phone, address_company, address_alternate_phone, address_fax, default_shipping_address, default_billing_address, address_comments, custom_field_name, custom_field_value
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action americommerce write create_customer`

##### Create or Update Order
Creates or Updates  an Order

- Type: write · Key: `create_order`
- Requires: nothing
- Optional: customer_email, order_status, ordered_at, order_number, customer_first_name, customer_last_name, customer_phone, customer_type, subtotal, tax_total, shipping_total, discount_total, handling_total, additional_fees, grand_total, cost_total, shipping_address_line_1, shipping_address_line_2, shipping_address_city, shipping_address_state, shipping_address_postal_code, shipping_address_country, shipping_address_first_name, shipping_address_last_name, shipping_address_company, shipping_address_phone, shipping_address_alt_phone, billing_address_line_1, billing_address_line_2, billing_address_city, billing_address_state, billing_address_postal_code, billing_address_country, billing_address_first_name, billing_address_last_name, billing_address_company, billing_address_phone, billing_address_alt_phone, adcode, referrer, coupon_code, source, source_group, search_phrase, is_gift, gift_message, admin_comments, public_comments, selected_shipping_method, manufacturer_invoice_number, manufacturer_invoice_amount, manufacturer_invoice_paid, exported_to_accounting_system, item_number, item_name, price, cost, quantity, weight, weight_unit, height, length, width, size_unit, is_taxable, tax_code, do_not_discount, item_description, is_non_shipping_item, variant_info, personalization_info, variant_json, personalization_json, item_gift_message, payment_method_name, payment_type, is_approved, is_declined, card_type, card_expiration_month, card_expiration_year, cardholder_name, paid_at, approved_at, authorization_code, reject_reason, avs_code, cvv_response_code, transaction_type, amount, payment_note, is_captured, transaction_id, last_four, is_void, gateway_response_code, payment_ref_num, shipped_at, tracking_numbers, tracking_url, shipping_method, number_of_packages, total_weight, email_sent, private_comment, shipping_comment, shipment_name, shipping_method_type, custom_field_name, custom_field_value
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "create_order" })`
- CLI: `npx zapier-sdk run-action americommerce write create_order`

##### Create or Update Order Payment
Creates or updates an order payment

- Type: write · Key: `create_order_payment`
- Requires: nothing
- Optional: order_payment_id, payment_ref_num, transaction_id, payment_method_name, payment_type, is_approved, is_declined, card_type, card_expiration_month, card_expiration_year, cardholder_name, paid_at, approved_at, authorization_code, reject_reason, avs_code, transaction_type, amount, payment_note, is_captured, last_four, is_void, gateway_response_code, cvv_response_code, order_id, order_number, customer_email, ordered_at
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "create_order_payment" })`
- CLI: `npx zapier-sdk run-action americommerce write create_order_payment`

##### Create or Update Order Shipment
Creates or updates an order shipment

- Type: write · Key: `create_order_shipment`
- Requires: nothing
- Optional: order_shipment_id, tracking_numbers, shipment_name, tracking_url, shipping_method, number_of_packages, total_weight, email_sent, private_comment, shipping_comment, order_id, order_number, customer_email, ordered_at, order_status
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "create_order_shipment" })`
- CLI: `npx zapier-sdk run-action americommerce write create_order_shipment`

##### Create Product
Creates a new product in your AmeriCommerce Store

- Type: write · Key: `create_product`
- Requires: item_number, item_name, primary_category_name, product_status
- Optional: gtin, manufacturer_name, manufacturer_part_number, short_description, height, length, width, size_unit, weight, weight_unit, price, cost, retail, quantity_on_hand, taxable, hidden, sort_order, warehouse_name, non_shipping_item, custom_url, non_inventory, dsicontinued, do_not_discount, handling_fee, category_name, primary, group_name, description, price_adjustment, price_adjustment_type, item_number_extension, variant_hidden, default_selection, id, store_name, customer_type, start_date, end_date, starting_quantity, product_price, product_cost, attribute_group_name, attribute_name, attribute_value, image_file, alt_text, description, primary_picture, picture_hidden, thumbnail_file, custom_field_name, custom_field_value
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "create_product" })`
- CLI: `npx zapier-sdk run-action americommerce write create_product`

##### Update Customer
Updates a customer in your AmeriCommerce Store

- Type: write · Key: `update_customer`
- Requires: email
- Optional: first_name, last_name, phone_number, alternate_phone_number, company, customer_type, taxable, tax_exemption_number, tax_rate, reward_tier, source, source_group, sales_note, adcode, customer_number, address_first_name, address_last_name, address_line_1, address_line_2, city, state, postal_code, country, address_phone, address_alternate_phone, address_company, address_fax, address_comments, default_shipping_address, default_billing_address, custom_field_name, custom_field_value
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action americommerce write update_customer`

##### Update Inventory
Updates inventory for a product or variant inventory item in your AmeriCommerce catalog.

- Type: write · Key: `update_inventory`
- Requires: quantity
- Optional: item_number, gtin, item_name
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "update_inventory" })`
- CLI: `npx zapier-sdk run-action americommerce write update_inventory`

##### Update Product
Use this to make changes to a product in AmeriCommerce

- Type: write · Key: `update_product`
- Requires: item_number
- Optional: item_name, primary_category_name, product_status, gtin, manufacturer_name, manufacturer_part_number, short_description, height, length, width, size_unit, weight, weight_unit, cost, price, retail, quantity_on_hand, taxable, hidden, warehouse_name, non_shipping_item, custom_url, non_inventory, do_not_discount, handling_fee, category_name, primary, group_name, description, price_adjustment, price_adjustment_type, item_number_extension, default_selection, variant_sort_order, variant_hidden, id, store_name, customer_type, start_date, end_date, starting_quantity, product_price, product_cost, attribute_group_name, attribute_name, attribute_value, image_file, alt_text, description, primary_picture, picture_hidden, thumbnail_file, custom_field_name, custom_field_value
- SDK: `runAction({ app: "americommerce", actionType: "write", action: "update_product" })`
- CLI: `npx zapier-sdk run-action americommerce write update_product`

#### Queries (3)

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

##### Find Customer
Finds a customer

- Type: search · Key: `find_customer`
- Requires: email
- SDK: `runAction({ app: "americommerce", actionType: "search", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action americommerce search find_customer`

##### Find Order
Find an Order from your AmeriCommerce store

- Type: search · Key: `find_order`
- Requires: nothing
- Optional: order_id, order_number, customer_email, ordered_at
- SDK: `runAction({ app: "americommerce", actionType: "search", action: "find_order" })`
- CLI: `npx zapier-sdk run-action americommerce search find_order`

##### Find Product
Find a product from your AmeriCommerce store

- Type: search · Key: `find_product`
- Requires: item_number
- SDK: `runAction({ app: "americommerce", actionType: "search", action: "find_product" })`
- CLI: `npx zapier-sdk run-action americommerce search find_product`

## MySQL

### Identity
MySQL is a premier database used in millions of production environments around the world. Easily plug your MySQL database into any web service.

- App slug: mysql
- Operations published here: 9 (5 events, 2 functions, 2 queries)

### Authentication
Zapier connects to MySQL 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 mysql
```

### Capabilities

#### Events (5)

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

##### New Column
Triggers when you add a new column.

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

##### New Row
Triggers when you add a new row.

- Type: read · Key: `row`
- Requires: table
- Optional: order_by, dedupe_key
- SDK: `runAction({ app: "mysql", actionType: "read", action: "row" })`
- CLI: `npx zapier-sdk run-action mysql read row`

##### New Row (Custom Query)
Triggers when new rows are returned from a custom query that you provide.  Advanced Users Only .

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

##### New Table
Triggers when you add a new table.

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

##### New or Updated Row
Triggers when a new row is added or modified.

- Type: read · Key: `updated_row`
- Requires: table, primary_key, order_by
- Optional: trigger_column, trigger_column_info
- SDK: `runAction({ app: "mysql", actionType: "read", action: "updated_row" })`
- CLI: `npx zapier-sdk run-action mysql read updated_row`

#### Functions (2)

Functions change something in MySQL.

##### New Row
Adds a new row.

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

##### Update Row
Updates an existing row.

- Type: write · Key: `update_row`
- Requires: table, row_id_column
- SDK: `runAction({ app: "mysql", actionType: "write", action: "update_row" })`
- CLI: `npx zapier-sdk run-action mysql write update_row`

#### Queries (2)

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

##### Find Row
Finds a row in a table via a lookup column.

- Type: search · Key: `row`
- Requires: table, lookup_key, lookup_value
- SDK: `runAction({ app: "mysql", actionType: "search", action: "row" })`
- CLI: `npx zapier-sdk run-action mysql search row`

##### Find Row via Custom Query
Finds a row in a table via a custom query you control.

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

## Frequently asked questions about automating with AmeriCommerce and MySQL

### 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
- AmeriCommerce integrations: zapier.com/apps/americommerce/integrations.md
- MySQL integrations: zapier.com/apps/mysql/integrations.md
- Full page: zapier.com/apps/americommerce/integrations/mysql
- SDK: npmjs.com/package/@zapier/zapier-sdk