---
title: "Connect Google Drive and Shopify - APIANT.ai"
description: "When \"File Updated\" fires in Google Drive, your agent runs \"Add customer\" in Shopify."
canonical: "https://apiant.ai/connect/google-drive-to-shopify"
---

# Connect Google Drive and Shopify

When **File Updated** fires in [Google Drive](https://apiant.ai/connections/google-drive), your agent runs **Add customer** in [Shopify](https://apiant.ai/connections/shopify), or **New customer** in Shopify to **Add File Sharing Preference** in Google Drive. Describe the whole flow and it is built, tested on every scenario and kept running.

Google Drive **7** triggers Google Drive **85** actions Shopify **17** triggers Shopify **78** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want Google Drive and Shopify to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

One connection does both: ask your client to act in an app once, or have it build an automation that keeps running. Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Running a Shopify store usually means the files behind it — photo shoots, spec sheets, stock counts, packing templates — live in Google Drive. Connecting the two lets a new Shopify product open its own Drive folder, a Drive stock sheet update set inventory in Shopify, and new customers get shared access to the right file. The agent builds each path, tests it and keeps it running.

Example flows

## What Google Drive and Shopify can do together

### From Google Drive to Shopify

- When **File Updated** in Google Drive then **Add customer** in Shopify
- When **New File Matching Query** in Google Drive then **Add metafield to customer** in Shopify

### From Shopify to Google Drive

- When **New customer** in Shopify then **Add File Sharing Preference** in Google Drive
- When **New paid order** in Shopify then **Copy File** in Google Drive

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with Google Drive and Shopify

## Triggers and actions 24 triggers · 163 actions

- Trigger

**Comment Added (Docs/Sheets/Slides)**

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

- Trigger

**File Created**

Triggers when a new file is created in Google Drive.

- Trigger

**File Deleted or Trashed**

Triggers when a file is moved to trash or permanently deleted in Drive.

- Trigger

**File Shared (Permissions Added)**

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

- Trigger

**File Updated**

Triggers when a file's metadata or content changes in Google Drive.

- Trigger

**Google Drive Changes**

Triggers when changes are detected in a Google Drive.

- Trigger

**New File Matching Query**

Triggers when a new Google Drive file matches a provided query. This is the legacy query-centric trigger: it preserves Drive API query config such as ``corpora`` / ``driveId`` aliases and emits the historical ``file_matching_query`` event type. ``FileCreatedTrigger`` covers the broader "new file" case and emits ``file_created``.

- Action

**Add File Sharing Preference**

Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.

- Action

**Add Parent**

Tool to add a parent folder for a file using Google Drive API v2. Use when you need to add a file to an additional folder.

- Action

**Add Property**

Tool to add a property to a file, or update it if it already exists (v2 API). Use when you need to attach custom key-value metadata to a Google Drive file.

- Action

**Batch Get Spreadsheet Values**

Read multiple explicit ranges from one Google Spreadsheet in one request.

- Action

**Batch Update Spreadsheet Values**

Write values to multiple Google Sheets ranges in one batch request.

- Action

**Clear Spreadsheet Values**

Permanently clear values from one range while preserving formatting, notes, and validation.

- Action

**Copy File**

Duplicates an existing file in google drive, identified by its `file id`.

- Action

**Copy File Advanced**

Creates a copy of a file and applies any requested updates with patch semantics. Use when you need to duplicate a file with advanced options like label inclusion, visibility settings, or custom metadata.

- Action

**Create Comment**

Tool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.

- Action

**Create File**

Creates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).

- Action

**Create File From Text**

Creates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.

- Action

**Create Folder**

Creates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.

- Action

**Create Permission**

Tool to create a permission for a file or shared drive. Use when you need to share a file or folder with users, groups, domains, or make it publicly accessible. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.

- Action

**Create Permissions Batch**

Creates multiple permissions for files or shared drives in a single batch request. Use this action when you need to share multiple files with users, or share a single file with multiple users or groups simultaneously. Each permission in the batch can target a different file and specify different access levels. Batch operations are more efficient than creating permissions individually, with a maximum of 100 permissions per batch.

- Action

**Create Reply**

Tool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.

- Action

**Create Shortcut To File**

Tool to create a shortcut to a file or folder in google drive. use when you need to link to an existing drive item from another location without duplicating it.

- Action

**Delete Child**

Tool to remove a child from a folder using Google Drive API v2. Use when you need to remove a file from a specific folder.

- Action

**Delete Comment**

Deletes a comment from a file. use when you need to remove a specific comment from a google drive file.

- Action

**Delete Parent**

Tool to remove a parent from a file using Google Drive API v2. Use when you need to remove a file from a specific folder.

- Action

**Delete Permission**

Deletes a permission from a file by permission id. use when you need to revoke access for a specific user or group from a file.

- Action

**Delete Property**

Tool to delete a property from a file using Google Drive API v2. Use when you need to remove custom key-value metadata from a file.

- Action

**Delete Reply**

Tool to delete a specific reply by reply id. use when you need to remove a reply from a comment on a file.

- Action

**Delete Revision**

Tool to permanently delete a file revision. Use when you need to remove a specific version of a binary file (images, videos, etc.). Cannot delete revisions for Google Docs/Sheets or the last remaining revision.

- Action

**Download File**

Downloads a file from google drive by its id. for google workspace documents (docs, sheets, slides), optionally exports to a specified `mime type`. for other file types, downloads in their native format regardless of mime type.

- Action

**Download File Operation**

Tool to download file content using long-running operations. Use when you need to download Google Vids files or export Google Workspace documents as part of a long-running operation. Operations are valid for 24 hours from creation. Returns a response containing `downloaded_file_content.s3url` — a short-lived S3 URL; fetch the actual file bytes from that URL promptly after the call.

- Action

**Download File Revision**

Download the stored bytes of one blob-file revision. This action does not export Google Docs, Sheets, Slides, or other Workspace revisions. Use GOOGLEDRIVE_GET_REVISION to retrieve a Workspace revision's exportLinks, then download the selected export URL separately.

- Action

**Edit File**

Updates an existing google drive file by overwriting its entire content with new text (max 10mb).

- Action

**Empty Trash**

Tool to permanently delete all of the user's trashed files. use when you want to empty the trash in google drive.

- Action

**Export Google Workspace File**

Exports a Google Workspace document to the requested MIME type and returns exported file content. Use when you need to export Google Docs, Sheets, Slides, Drawings, or Apps Script files to a specific format. Note: The exported content is limited to 10MB by Google Drive API.

- Action

**Find File**

Tool to list or search for files and folders in google drive. use when you need to find specific files based on query criteria or list contents of a drive/folder.

- Action

**Find Folder**

Tool to find a folder in google drive by its name and optionally a parent folder. use when you need to locate a specific folder to perform further actions like creating files in it or listing its contents.

- Action

**Generate Ids**

Generates a set of file ids which can be provided in create or copy requests. use when you need to pre-allocate ids for new files or copies.

- Action

**Get About**

Tool to retrieve information about the user, the user's drive, and system capabilities. use when you need to check storage quotas, user details, or supported import/export formats.

- Action

**Get App**

Tool to get information about a specific Drive app by ID. Use 'self' as the app ID to get information about the calling app.

- Action

**Get Change**

Tool to get a specific change by ID from Google Drive v2 API. Deprecated: Use changes.getStartPageToken and changes.list to retrieve recent changes instead.

- Action

**Get Changes Start Page Token**

Tool to get the starting pagetoken for listing future changes in google drive. use this when you need to track changes to files and folders.

- Action

**Get Child**

Tool to get a specific child reference for a folder using Drive API v2. Use when you need to verify a specific file exists as a child of a folder.

- Action

**Get Comment**

Tool to get a comment by id. use when you need to retrieve a specific comment from a google drive file and have both the file id and comment id.

- Action

**Get Document**

Retrieve a native Google Docs document's structured content and metadata by ID.

- Action

**Get File Metadata**

Tool to get a file's metadata by id. use when you need to retrieve the metadata for a specific file in google drive.

- Action

**Get File Property**

Tool to get a property by its key using Google Drive API v2. Use when you need to retrieve a specific custom property attached to a file.

- Action

**Get Form**

Retrieve a Google Form's definition, questions, settings, and publishing state by ID.

- Action

**Get Parent**

Tool to get a specific parent reference for a file using Drive API v2. Use when you need to retrieve information about a specific parent folder of a file.

- Action

**Get Permission**

Gets a permission by id. use this tool to retrieve a specific permission for a file or shared drive.

- Action

**Get Permission Id For Email**

Tool to get the permission ID for an email address using the Drive API v2. Use when you need to convert an email address to its corresponding permission ID.

- Action

**Get Presentation**

Retrieve a Google Slides presentation and its complete page structures by ID.

- Action

**Get Presentation Page Thumbnail**

Generate one short-lived page thumbnail URL using an expensive Slides quota read.

- Action

**Get Reply**

Tool to get a specific reply to a comment on a file. use when you need to retrieve the details of a particular reply.

- Action

**Get Revision**

Tool to get a specific revision's metadata by revision id. use when you need to retrieve information about a particular version of a file.

- Action

**Get Spreadsheet**

Retrieve a Google Spreadsheet's structure, metadata, and selected grid data.

- Action

**Get Spreadsheet Values**

Read values from one range in a Google Spreadsheet.

- Action

**Google Drive Delete Folder Or File Action**

Tool to delete a file or folder in google drive. use when you need to permanently remove a specific file or folder using its id. note: this action is irreversible.

- Action

**Insert Child**

Tool to insert a file into a folder using Drive API v2. Use when you need to add an existing file to a folder.

- Action

**List Changes**

Tool to list the changes for a user or shared drive. use when you need to track modifications to files and folders, such as creations, deletions, or permission changes. this action requires a `pagetoken` which can be initially obtained using the `get changes start page token` action or from a previous `list changes` response.

- Action

**List Children V2**

Tool to list a folder's children using Google Drive API v2. Use when you need to retrieve all files and folders within a specific folder.

- Action

**List Comments**

Tool to list all comments for a file in google drive. use when you need to retrieve comments associated with a specific file.

- Action

**List File Labels**

Tool to list the labels on a file. use when you need to retrieve all labels associated with a specific file in google drive.

- Action

**List File Properties**

Tool to list a file's properties in Google Drive API v2. Use when you need to retrieve custom properties (key-value pairs) attached to a file.

- Action

**List Files**

Tool to list a user's files and folders in google drive. use this to search or browse for files and folders based on various criteria.

- Action

**List Form Responses**

Return one page of submissions for a Google Form.

- Action

**List Permissions**

Tool to list a file's permissions. use when you need to retrieve all permissions associated with a specific file or shared drive.

- Action

**List Replies**

Tool to list replies to a comment in Google Drive. Use this when you need to retrieve all replies associated with a specific comment on a file.

- Action

**List Replies To Comment**

Tool to list replies to a comment in google drive. use this when you need to retrieve all replies associated with a specific comment on a file.

- Action

**List Revisions**

Tool to list a file's revisions. use when you need to retrieve the revision history of a specific file in google drive.

- Action

**List Shared Drives**

Tool to list the user's shared drives. use when you need to get a list of all shared drives accessible to the authenticated user.

- Action

**Move File**

Tool to move a file from one folder to another in google drive. use when you need to reorganize files by changing their parent folder(s).

- Action

**Patch Permission**

Tool to update a permission using patch semantics. Use when you need to modify specific fields of an existing permission without affecting other fields. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.

- Action

**Patch Property**

Tool to update a property on a file using PATCH semantics (v2 API). Use when you need to partially update custom key-value metadata attached to a Google Drive file.

- Action

**Read Spreadsheet Values**

Read values from one or more ranges in a Google spreadsheet.

- Action

**Resumable Upload**

Tool to start and complete a Google Drive resumable upload session. Use for files larger than ~5 MB to avoid timeouts or size-limit failures. HTTP 308 means continue the session from the correct byte offset; HTTP 410 means the session expired and a full restart with a new session is required.

- Action

**Stop Watch Channel**

Tool to stop watching resources through a specified channel. use this when you want to stop receiving notifications for a previously established watch.

- Action

**Trash File**

Tool to move a file or folder to trash (soft delete). Use when you need to delete a file but want to allow recovery via UNTRASH_FILE. This action is distinct from permanent deletion and provides a safer cleanup workflow.

- Action

**Update Comment**

Tool to update an existing comment on a google drive file. use when you need to change the content or status (e.g., resolve) of a comment.

- Action

**Update File Metadata Patch**

Tool to update file metadata using the Drive API v2 PATCH method. Use when you need to modify file properties like title, description, or labels using patch semantics.

- Action

**Update File Property**

Tool to update a property on a file using Google Drive API v2. Use when you need to modify an existing custom property attached to a file.

- Action

**Update File Put**

Updates file metadata. uses patch semantics (partial update) as per google drive api v3. use this tool to modify attributes of an existing file like its name, description, or parent folders. note: this action currently supports metadata updates only.

- Action

**Update File Revision Metadata**

Updates metadata of a file revision (e.g., keepforever, publish). use this tool to modify the metadata of a specific revision of a file in google drive.

- Action

**Update Permission**

Tool to update a permission with patch semantics. use when you need to modify an existing permission for a file or shared drive.

- Action

**Update Reply**

Tool to update a reply to a comment on a google drive file. use when you need to modify the content of an existing reply.

- Action

**Update Spreadsheet Values**

Write values to one exact Google Sheets range.

- Action

**Upload From Url**

Tool to fetch a file from a provided URL server-side and upload it into Google Drive. Use when you need to reliably persist externally hosted files into Drive without client-side downloads or temporary storage.

- Action

**Upload Update File**

Tool to update file content in Google Drive by uploading new binary content. Use when you need to replace the contents of an existing file with new file data.

- Action

**Watch Changes**

Tool to subscribe to changes for a user or shared drive in google drive. use when you need to monitor a google drive for modifications and receive notifications at a specified webhook url.

- Action

**Watch File**

Tool to subscribe to push notifications for changes to a specific file. Use when you need to monitor a file for modifications and receive real-time notifications at a webhook URL.

- Action

**Write Spreadsheet Values**

Replace values in one range of a Google spreadsheet.

- Trigger

**New cart**

Triggered when a cart is created.

- Trigger

**New customer**

Polling trigger that fires for each newly created Shopify customer. Fetches the 50 most recently created customers (sorted by creation date, newest first) via the GraphQL Admin API customers connection.

- Trigger

**New customer (instant)**

Triggered when a customer is added.

- Trigger

**New order**

Polls Shopify for orders (most recent first), returning a list of orders.

- Trigger

**New order (instant)**

Triggered when an order is created.

- Trigger

**New paid order**

Triggered when an order is paid.

- Trigger

**New product**

Triggers when a new product is created in Shopify. Polls the GraphQL Admin API products connection (first 50, sorted by createdAt ascending) and returns each product's id, title, handle, vendor, product_type, status, created_at, updated_at.

- Trigger

**Order fulfilled**

Triggered when an order is fulfilled.

- Trigger

**Order partially fulfilled**

Triggered when an order is partially fulfilled.

- Trigger

**Two-way sync new or updated customers**

Polling fetch body for the two-way customer sync trigger. Lists Shopify customers ordered oldest-to-newest by updated_at (GraphQL customers connection, sortKey: UPDATED_AT, reverse:false, first:250) so newly created or updated customers are surfaced for two-way synchronization.

- Trigger

**Updated cart**

Triggered when a cart is updated.

- Trigger

**Updated customer**

Triggered when a customer is updated.

- Trigger

**Updated fulfillment status**

Polling trigger: fetches recently-updated Shopify orders (any status) and returns each order's fulfillment status.

- Trigger

**Updated order**

Polls Shopify for recently updated orders (any status), most-recently-updated first.

- Trigger

**Updated order (instant)**

Triggered when an order is updated.

- Trigger

**Updated order payment status**

Polling trigger: fires when an order's payment (financial) status changes. Lists the 50 most recently updated orders via the GraphQL Admin API (orders sorted by UPDATED_AT desc) and dedups on order id + financial status so a new event fires only when the payment status changes.

- Trigger

**Updated product**

Polling trigger: fires for products that were recently updated. Fetches up to 50 products sorted by update time (most recent first) via the Shopify GraphQL Admin API, projecting id, title, handle, vendor, product_type, status, created_at and updated_at for each.

- Action

**Activate Inventory Item at Location**

Stocks an inventory item at a store location so it can hold quantity there, and returns the location's available quantity.

- Action

**Add customer**

Create a new Shopify customer (first name, last name, email, phone, note, tags) via the GraphQL Admin API customerCreate mutation. Returns the created customer's id, email, phone, first/last name and created_at.

- Action

**Add metafield to customer**

Add (set) a metafield on a Shopify customer, with the customer as the metafield owner. Inputs: Customer ID, Namespace, Key, Type (default single_line_text_field), Value. Returns the created/updated metafield's id, namespace, key, type, value.

- Action

**Add metafield to product**

Adds a metafield to the specified product.

- Action

**Add or update customer**

Creates a new customer if the email does not exist, otherwise updates the existing customer.

- Action

**Add product image**

Adds a new product image from the image at the specified URL.

- Action

**Add Product Option**

Adds one or two new options (for example Size or Color) to an existing product and gives every existing variant a value for them. Does nothing if the product already has an option with that name.

- Action

**Add tags to customer**

Adds one or more tags to the customer with the specified email. An error occurs if more than one customer is found. Existing tags on the customer are not removed.

- Action

**Add tags to order**

Adds the given comma-separated tags to a Shopify order (GraphQL Admin API tagsAdd mutation). Existing order tags are preserved; tagsAdd merges new tags onto the current set. Inputs: Order ID (numeric REST id, converted to a gid://shopify/Order GID), Tags (comma-separated). Returns the order GID (id) and the full resulting tag list (tags).

- Action

**Add transaction to order**

Add a transaction to an order. Captures payment for the order's authorized amount. Inputs: Kind (default capture), Amount, Currency, Parent Transaction ID, plus the Order ID setting. Returns the transaction id, kind, status and order id.

- Action

**Adjust Inventory Quantity**

Change an inventory item's available quantity at a location by a positive or negative amount.

- Action

**Apply gift card adjustment**

Apply an adjustment (credit) to a Shopify gift card's balance. Inputs: Gift Card ID, Amount, optional Note. Returns the resulting credit transaction id, note, amount, creation time, and the gift card's numeric id.

- Action

**Change product option names**

Update a Shopify product's core fields and (re)name its product options. Inputs: Product ID plus optional Title, Body HTML, Handle, Type, Published scope, Tags, Template suffix, Vendor, and Option 1/2/3 name. Returns the updated product id, title, options (name+position), and updated_at.

- Action

**Change product option names and values**

Change a product's option names and their values. Inputs: Product ID, Option 1/2/3 Name, Option 1/2/3 Values (comma-separated). Returns the product id, title, and the resulting options array.

- Action

**Complete draft order**

Completes a draft order.

- Action

**Create Metafield Definition**

Create a metafield definition (namespace, key, type, validations) for an owner type.

- Action

**Create Order with Calculated Tax**

Creates an order for a product variant, with Shopify calculating the tax from the shipping address, and returns the order totals and tax lines.

- Action

**Create or Update Theme File**

Create or replace a file in a theme. The store's Shopify app needs the write_themes scope.

- Action

**Create product**

Creates a new product.

- Action

**Create product variant**

Creates a new variant on an existing Shopify product. Inputs: SKU, Price, Weight, Barcode, Option1-3, Compare At Price, Inventory Quantity, plus the Product ID setting. Returns the created variant id, sku, price, title, option1, product_id and inventory_item_id.

- Action

**Create Product with Variants**

Create a product with up to three options and its variants (price, SKU, barcode, inventory settings) in one step.

- Action

**Delete item from location**

Disconnect (deactivate) an inventory item from a location, removing the inventory level — GraphQL Admin API equivalent of.

- Action

**Delete product**

Deletes an existing product.

- Action

**Delete product variant**

Deletes an existing product variant.

- Action

**Delete Theme File**

Delete a file from a theme. The store's Shopify app needs the write_themes scope.

- Action

**Find custom collection by name**

Returns details for the specified custom collection. If the custom collection is not found, an error occurs.

- Action

**Find customer by email**

Find a Shopify customer by email address. GraphQL Admin API: customers(first:1, query:"email:...") connection query; returns the first matching customer's email and numeric (legacyResourceId) customer_id.

- Action

**Find location by name**

Find a Shopify location by its exact name and return its Location ID. Fails if no location matches or if more than one location shares the name. (GraphQL Admin API port of the REST locations.json lookup.)

- Action

**Find orders**

Finds orders based upon search criteria. Emits the IDs of any matching orders. Use the "get order" action to fetch details for found orders.

- Action

**Find product by title**

Finds a product by a title search. An error occurs if zero or multiple match.

- Action

**Find product variant by SKU**

Find a single Shopify product variant by its SKU. Searches product variants for an exact SKU match, fails if zero or more than one variant matches. Returns the variant's id, sku, price, title, product id, inventory item id, and the full variant object.

- Action

**Find product variant by title**

Finds a product variant by a title search. An error occurs if zero or multiple match.

- Action

**Get all product ids in custom collection**

Returns all products (and their numeric ids) in a given custom collection.

- Action

**Get Base URL**

Returns the connected Shopify store's base URL and derives the store subdomain (store_name) from it. Pure-compute helper; makes no Shopify API call (nothing to migrate to GraphQL).

- Action

**Get customer**

Retrieve a single Shopify customer by Customer ID. Returns the customer's id, email, phone, state, first/last name, tags, created/updated timestamps, total spent, and orders count.

- Action

**Get customer metafield value**

Get a customer's metafield value by namespace and key. Returns its type, value, and numeric metafield id.

- Action

**Get fulfillment order**

Returns details for the specified order ID and fulfillment order ID. If either the order or fulfillment order is not found, an error occurs. Use the "get fulfillment order ids for order" action to fetch the fulfillment order ids for an order.

- Action

**Get fulfillment order ids for order**

Get the fulfillment order IDs for a Shopify order. Given a numeric Order ID, returns the count of fulfillment orders and their IDs.

- Action

**Get fulfillment order line items**

Lists the line items on a fulfillment order, with the quantity still left to fulfill.

- Action

**Get inventory item**

Returns details for the specified inventory item.

- Action

**Get inventory quantity**

Get available inventory quantity for an inventory item, optionally filtered to a single location.

- Action

**Get locations**

Retrieve the list of Shopify store locations. Returns each location's id, legacyResourceId, name, active state, and address.

- Action

**Get metafields for customer**

Get all metafields for a Shopify customer by Customer ID. Returns the list of metafield records (id, namespace, key, value, type) for the customer.

- Action

**Get metafields for product**

Retrieve all metafields for a product (up to 250). Takes the numeric Product ID setting and returns the list of metafields (id, namespace, key, value, type).

- Action

**Get order**

Get an order from Shopify by its numeric Order ID. Reads the order via the GraphQL Admin API (order(id:) query) and returns its name, email, currency, created date, total price, financial status, fulfillment status, and the full order object.

- Action

**Get product**

Returns all fields for the specified product ID. If the product is not found, an error occurs.

- Action

**Get product count: active products**

Returns a count of active products.

- Action

**Get product count: all products**

Returns a count of all products.

- Action

**Get product count: archived products**

Returns the number of archived products in the Shopify store.

- Action

**Get product count: draft products**

Returns the number of draft products in the Shopify store (status:draft).

- Action

**Get product metafield value**

Returns the value of a single product metafield identified by Namespace and Key for the given Product ID.

- Action

**Get Product Options**

Get a product's options and their values.

- Action

**Get product variant**

Get a single Shopify product variant by its numeric Variant ID. Returns id, sku, price, title, inventory_quantity, product_id, inventory_item_id, and the full variant object.

- Action

**Get product variant by SKU**

Look up a single Shopify product variant by its SKU. Searches product variants for the given SKU, fails if zero or more than one match. Returns the matched variant's id, sku, price, title, product id, inventory item id, and the full variant object.

- Action

**Get Sales Tax Rates by Location**

Returns the sales tax lines and total tax rate that apply at each active store location.

- Action

**Get Theme File**

Get a theme file's contents by theme and filename.

- Action

**Move fulfillment order line item**

Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.

- Action

**Order - add discount code**

Append a discount code to an in-progress order object before it is submitted to Shopify. GraphQL-shaped: the discount entry carries DraftOrderAppliedDiscountInput fields (title/code, value, valueType FIXED_AMOUNT|PERCENTAGE, amount) so the assembled order is ready for the draftOrderCreate / draftOrderUpdate GraphQL mutation. Mirrors the REST builder that appended {code, amount, type} to order.discount_codes; same inputs (Code, Type, Amount, Order) and outputs (order, discount_codes).

- Action

**Order - add line item**

Appends a line item to an in-memory order object (built by Order - initialize) before the order is created. Carries the same inputs (Variant ID, Quantity, Price, Total discount, Origin location ID, Is gift card, Fulfillment status).

- Action

**Order - add line item property**

Adds a custom line-item property (name/value pair) to the LAST line item of an in-flight Shopify order object being assembled in the Order builder chain (initialize -> add line item -> add line item property -> create). Pure in-memory mutation of the draft order; no API call. Returns the updated order object and its JSON encoding. (No REST->GraphQL change applies: this op never called the REST Admin API; it is a local order-builder helper. The eventual draftOrderCreate/orderCreate happens in the separate 'Order - create' op.)

- Action

**Order - add line item tax line**

Adds a tax line to the last line item of an in-memory order payload (builder, no API call). This op shapes the legacy order JSON structure; it does not call Shopify. Same inputs/outputs as the REST builder. Note: this never touched the Shopify REST API, so there is no GraphQL request equivalent — per-line-item user-supplied tax_lines are a REST Order-payload construct with no GraphQL counterpart (GraphQL computes tax lines server-side).

- Action

**Order - create**

Creates a new order.

- Action

**Order - initialize**

Starts a new Shopify order in your automation from the customer email, currency, billing and shipping addresses, tags, taxes and status you choose. It does not contact Shopify: pass the result through the Order - add steps (line items, discount codes) and then Order - create to place the order.

- Action

**Remove tags from customer**

Remove one or more comma-separated tags from a Shopify customer (looked up by email). GraphQL Admin API port: finds the customer via a customers(query:"email:...") query, then calls the tagsRemove mutation with the customer GID and the tag list. Returns the customer's numeric id and remaining tags.

- Action

**Remove tags from order**

Removes the given comma-separated tags from a Shopify order (by Order ID). Uses the GraphQL Admin API tagsRemove mutation; tags not present are ignored. Returns the order id and its remaining tags.

- Action

**Send customer invite**

Sends an account invite to a customer specified by their email address.

- Action

**Set Product Variant Metafield**

Create or update a metafield value on a product variant.

- Action

**Two-way sync add or update a customer**

Two-way sync: find a Shopify customer by email (or by the previously mapped customer id) and update it, otherwise create a new customer. Sets email, name, phone, note, tags, marketing consent and a single address. GraphQL Admin API port of the legacy REST customers create/update flow. Returns the customer id and updated_at.

- Action

**Update customer**

Updates an existing customer.

- Action

**Update Customer Default Address**

Updates a customer's default address, or adds one as the default if they have none. Fields left blank are not changed.

- Action

**Update Customer Email Marketing Consent**

Sets a Shopify customer's email marketing consent state and opt-in level.

- Action

**Update inventory item**

Updates a Shopify inventory item (sku, cost, tracked, country code of origin, harmonized system code). Takes the numeric Inventory Item ID.

- Action

**Update inventory quantity**

Set the absolute available inventory quantity for an inventory item at a specific location. GraphQL inventorySetQuantities mutation (name: available) replacing the REST inventory_levels/set.json endpoint. Returns the resulting available quantity, inventory item id, and location id.

- Action

**Update order**

Update an existing Shopify order's financial status by Order ID. Returns the order's numeric id, name, updated timestamp, and financial status.

- Action

**Update order as fulfilled**

Marks an order's fulfillment order as fulfilled by creating a fulfillment, optionally attaching tracking number/company and notifying the customer. GraphQL fulfillmentCreateV2 mutation.

- Action

**Update order line item as fulfilled**

Creates a fulfillment for an order's fulfillment order (optionally a specific line item) with tracking info, via the GraphQL fulfillmentCreateV2 mutation.

- Action

**Update product**

Update an existing product in Shopify (GraphQL Admin API, productUpdate mutation). Updates title, description, vendor, product type, tags, and/or status on the product identified by the Product ID setting; only provided fields are changed. Returns the product id, title, handle, status, updated timestamp, and admin GraphQL id.

- Action

**Update product variant**

Updates an existing variant of a Shopify product — its price, compare-at price, SKU, barcode, weight and option values. Fields left blank keep their current values.

## Each app on its own

- [ **Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connections/google-drive)
- [ **Shopify** Shopify is a commerce platform for online stores and retail point-of-sale.](https://apiant.ai/connections/shopify)

Reviews

## What our customers say

## More from Google Drive

- [ **Google Drive to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/google-drive-to-hubspot)
- [ **Google Drive to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/google-drive-to-salesforce)
- [ **Google Drive to Google Sheets** Google Sheets](https://apiant.ai/connect/google-drive-to-google-sheets)
- [ **Google Drive to Gmail** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/google-drive-to-gmail)
- [ **Google Drive to Google Calendar** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-drive-to-google-calendar)
- [ **Google Drive to Mailchimp** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/google-drive-to-mailchimp)

## More into Shopify

- [ **HubSpot to Shopify** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/hubspot-to-shopify)
- [ **Salesforce to Shopify** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/salesforce-to-shopify)
- [ **Google Calendar to Shopify** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connect/google-calendar-to-shopify)
- [ **QuickBooks Online to Shopify** QuickBooks Online accounting — manage customers, invoices, bills, payments, vendors, expenses, and more via...](https://apiant.ai/connect/quickbooks-online-to-shopify)
- [ **Pipedrive to Shopify** Pipedrive is a sales CRM and pipeline management tool.](https://apiant.ai/connect/pipedrive-to-shopify)
- [ **ActiveCampaign to Shopify** ActiveCampaign is a marketing automation, email marketing, and CRM platform.](https://apiant.ai/connect/activecampaign-to-shopify)

Questions

## Google Drive and Shopify, answered

###

### Can a Google Drive file change update stock levels in Shopify?

Yes. The File Updated trigger in Google Drive can run the Update inventory quantity action in Shopify, setting the available quantity for an inventory item at a location. You decide which sheet or file is watched and how its values map to items.

###

### Can Shopify orders and customers create things in Google Drive?

Yes. Triggers such as New paid order or New customer (instant) in Shopify can run Drive actions like Create Folder, Copy File, Create File From Text or Add File Sharing Preference. So an order can get its own folder or a copied template, and a customer can be granted access to a file.

###

### What can start an automation from Google Drive?

Any of Google Drive's 7 triggers in the catalog, including File Updated, New File Matching Query, Comment Added (Docs/Sheets/Slides) and File Created. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Shopify when something happens in Google Drive?

Any of Shopify's 78 actions, including Add product image, Update inventory quantity, Create Metafield Definition and Create Order with Calculated Tax. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Shopify to Google Drive?

Yes. When something happens in Shopify, your agent can act in Google Drive too. This page covers both directions: Shopify's triggers and Google Drive's actions are listed here as well.

###

### Do I have to build a connector for Google Drive or Shopify?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### Can my AI client use Google Drive and Shopify without building an automation?

Yes. With your AI client connected to APIANT, ask it to do something in either app once and it runs that action on the spot. Ask for an automation and your agent builds it, tests every scenario and keeps it running. One connection covers both.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
