Integration
Connect Shopify to Google Docs
When something happens in Shopify, your agent does the next thing in Google Docs. Describe it in plain language and the automation is built, tested on every branch and kept running.
Build it
What do you want Shopify and Google Docs to do together?
Describe it and your agent reads both APIs, builds the automation, tests every branch and ships it. The list below is what exists today, not the limit.
Ask the assistant
You'll sign in before anything runs. What you typed comes with you.
Or work from Claude Code
Install the APIANT plugin for Claude Code and build, edit, test and read run history from your terminal. Every plan gets this, including free, and it spends no assistant credits.
Connect Claude CodeEverything your agent can do with Shopify and Google Docs
Triggers and actions 27 triggers · 93 actions
Trigger
New cartTriggered when a cart is created.
Trigger
New customerPolling 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. Migrated from the REST GET /customers.json?order=created_at+desc endpoint; preserves the same per-customer output fields (id, email, first_name, last_name, phone, created_at, updated_at, state, tags).
Trigger
New customer (instant)Triggered when a customer is added.
Trigger
New orderPolls Shopify for orders (most recent first), returning a list of orders. Ported from the REST GET /orders.json (status=any, limit=50) to the GraphQL Admin API orders connection query.
Trigger
New order (instant)Triggered when an order is created.
Trigger
New paid orderTriggered when an order is paid.
Trigger
New productTriggers 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. GraphQL port of the REST GET /products.json?order=created_at+asc trigger; id is the product's legacyResourceId (numeric) to preserve REST semantics.
Trigger
Order fulfilledTriggered when an order is fulfilled.
Trigger
Order partially fulfilledTriggered when an order is partially fulfilled.
Trigger
Two-way sync new or updated customersPolling 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. Returns id (numeric legacyResourceId), email, first_name, last_name, phone, created_at, updated_at — same fields and ordering as the legacy REST GET /customers.json?order=updated_at asc.
Trigger
Updated cartTriggered when a cart is updated.
Trigger
Updated customerTriggered when a customer is updated.
Trigger
Updated fulfillment statusPolling trigger: fetches recently-updated Shopify orders (any status) and returns each order's fulfillment status. Migrated from REST GET /orders.json to the GraphQL Admin API orders connection query, filtering by updated_at and returning id, name, order number, fulfillment/financial status and email.
Trigger
Updated orderPolls Shopify for recently updated orders (any status), most-recently-updated first. GraphQL Admin API equivalent of GET /orders.json?status=any&order=updated_at+desc&limit=50, using the orders connection sorted by UPDATED_AT descending. Returns an orders array.
Trigger
Updated order (instant)Triggered when an order is updated.
Trigger
Updated order payment statusPolling 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 productPolling 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
Add customerCreate 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. (GraphQL port of the legacy REST POST /customers.json.)
Action
Add metafield to customerAdd (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 productAdds a metafield to the specified product.
Action
Add or update customerCreates a new customer if the email does not exist, otherwise updates the existing customer.
Action
Add product imageAdds a new product image from the image at the specified URL.
Action
Add tags to customerAdds 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 orderAdds 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 orderAdd 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
Apply gift card adjustmentApply 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 namesUpdate 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 valuesChange 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 orderCompletes a draft order.
Action
Create productCreates a new product.
Action
Create product variantCreates 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
Delete item from locationDisconnect (deactivate) an inventory item from a location, removing the inventory level — GraphQL Admin API equivalent of DELETE /inventory_levels.json. Resolves the InventoryLevel id from inventory item + location, then runs inventoryDeactivate.
Action
Delete productDeletes an existing product.
Action
Delete product variantDeletes an existing product variant.
Action
Find custom collection by nameReturns details for the specified custom collection. If the custom collection is not found, an error occurs.
Action
Find customer by emailFind 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. Ported from REST GET /customers/search.json?query=email:.
Action
Find location by nameFind 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 ordersFinds 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 titleFinds a product by a title search. An error occurs if zero or multiple match.
Action
Find product variant by SKUFind 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 titleFinds a product variant by a title search. An error occurs if zero or multiple match.
Action
Get all product ids in custom collectionReturns all products (and their numeric ids) in a given custom collection.
Action
Get Base URLReturns 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 customerRetrieve 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 valueGet a customer's metafield value by namespace and key. Returns its type, value, and numeric metafield id.
Action
Get fulfillment orderReturns 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 orderGet the fulfillment order IDs for a Shopify order. Given a numeric Order ID, returns the count of fulfillment orders and their IDs.
Action
Get inventory itemReturns details for the specified inventory item.
Action
Get inventory quantityGet available inventory quantity for an inventory item, optionally filtered to a single location. Migrated from REST GET /inventory_levels.json (inventory_item_ids/location_ids) to the GraphQL Admin API inventoryItem.inventoryLevels query. Returns inventory_levels list of {inventory_item_id, location_id, available, updated_at}.
Action
Get locationsRetrieve the list of Shopify store locations (GraphQL Admin API equivalent of GET /locations.json). Returns each location's id, legacyResourceId, name, active state, and address. Ported from the legacy REST locations.json endpoint.
Action
Get metafields for customerGet 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 productRetrieve 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 orderGet 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 productReturns all fields for the specified product ID. If the product is not found, an error occurs.
Action
Get product count: active productsReturns a count of active products.
Action
Get product count: all productsReturns a count of all products.
Action
Get product count: archived productsReturns the number of archived products in the Shopify store. GraphQL equivalent of GET /products/count.json?status=archived, using the productsCount query with search filter status:archived.
Action
Get product count: draft productsReturns the number of draft products in the Shopify store (status:draft). GraphQL Admin API port of the REST GET /products/count.json?status=draft endpoint; outputs a single count field.
Action
Get product metafield valueReturns the value of a single product metafield identified by Namespace and Key for the given Product ID.
Action
Get product variantGet 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 SKULook 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
Move fulfillment order line itemChanges the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.
Action
Order - add discount codeAppend 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 itemAppends 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). GraphQL port: the accumulated line item is shaped for the GraphQL draftOrderCreate lineItems input — Variant ID becomes a global ID (gid://shopify/ProductVariant/<id>) under variantId, quantity is an int, price/discount carried as appliedDiscount-friendly fields. Returns the updated order object and its JSON encoding, unchanged output contract from the REST builder.
Action
Order - add line item propertyAdds 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 lineAdds 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 - createCreates a new order.
Action
Order - initializeCreate a Shopify order (GraphQL orderCreate). Builds an order from billing/shipping address, email, currency, tags, taxes and status settings and creates it via the GraphQL Admin API. Ported from the legacy REST order-initialize op; output keys order and order_id preserved (order_id is the created order's legacyResourceId).
Action
Remove tags from customerRemove 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 orderRemoves 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 inviteSends an account invite to a customer specified by their email address.
Action
Two-way sync add or update a customerTwo-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 customerUpdates an existing customer.
Action
Update inventory itemUpdates a Shopify inventory item (sku, cost, tracked, country code of origin, harmonized system code). Takes the numeric Inventory Item ID.
Action
Update inventory quantitySet 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 orderUpdate 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 fulfilledMarks an order's fulfillment order as fulfilled by creating a fulfillment, optionally attaching tracking number/company and notifying the customer. GraphQL fulfillmentCreateV2 mutation (replaces REST POST /fulfillments.json).
Action
Update order line item as fulfilledCreates a fulfillment for an order's fulfillment order (optionally a specific line item) with tracking info, via the GraphQL fulfillmentCreateV2 mutation. Ported from the REST POST /fulfillments.json call.
Action
Update productUpdate 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 variantUpdates 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.
Trigger
Document DeletedTriggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
Trigger
Document Placeholder FilledTriggers when a Google Doc's plain text changes such that a configured placeholder token/pattern is no longer present (i.e., the document has been filled in). This trigger monitors a specific Google Doc and fires when a placeholder pattern that was previously present is no longer found in the document's plain text.
Trigger
Document Search UpdateTriggers when a Google Doc matching a user-defined search query is newly created or updated since the last poll. This trigger uses timestamp filtering to efficiently monitor documents.
Trigger
Document Structure ChangedTriggers when a Google Doc's structure changes (headers/footers added/removed, tables/images count changes). This trigger monitors a specific document for structural changes like: - Headers added or removed - Footers added or removed - Tables added or removed - Images (inline objects) added or removed - Positioned objects added or removed - Footnotes added or removed
Trigger
Document UpdatedTriggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
Trigger
Document Word Count ThresholdTriggers when a Google Doc's word/character count crosses a user-defined threshold. This trigger monitors a specific Google Doc and fires when its word or character count becomes greater than or equal to the configured threshold value.
Trigger
Keyword Detected in DocumentTriggers when a specific keyword or phrase first appears in a Google Doc. This trigger monitors a Google Doc and fires once when the specified keyword is detected. After the keyword is found, the trigger will not fire again until reset.
Trigger
New Document AddedTriggers when a new Google Doc is added/created. This trigger monitors Google Docs and fires when new documents are detected.
Trigger
New Document CreatedTriggers when a new Google Doc is created. This trigger monitors Google Docs and fires when new documents are detected. Uses timestamp filtering to efficiently poll for new documents.
Trigger
New Folder Created in RootTriggers when a new folder is created in the root folder of Google Drive. This trigger monitors Google Drive and fires when new folders are detected in the root directory.
Action
Copy DocumentTool to create a copy of an existing google document. use this to duplicate a document, for example, when using an existing document as a template. the copied document will have a default title (e.g., 'copy of [original title]') if no new title is provided, and will be placed in the user's root google drive folder.
Action
Create DocumentCreates a new google docs document using the provided title as filename and inserts the initial text at the beginning if non-empty, returning the document's id and metadata (excluding body content).
Action
Create Document MarkdownCreates a new google docs document, optionally initializing it with a title and content provided as markdown text.
Action
Create FooterTool to create a new footer in a google document. use when you need to add a footer, optionally specifying its type and the section it applies to.
Action
Create FootnoteTool to create a new footnote in a google document. use this when you need to add a footnote at a specific location or at the end of the document body.
Action
Create HeaderTool to create a new header in a google document. use this tool when you need to add a header to a document, optionally specifying the section it applies to.
Action
Create Named RangeTool to create a new named range in a google document. use this to assign a name to a specific part of the document for easier reference or programmatic manipulation.
Action
Create Paragraph BulletsTool to add bullets to paragraphs within a specified range in a google document. use when you need to format a list or a set of paragraphs as bullet points.
Action
Delete Content RangeTool to delete a range of content from a google document. use when you need to remove a specific portion of text or other structural elements within a document.
Action
Delete FooterTool to delete a footer from a google document. use when you need to remove a footer from a specific section or the default footer.
Action
Delete HeaderDeletes the header from the specified section or the default header if no section is specified. use this tool to remove a header from a google document.
Action
Delete Named RangeTool to delete a named range from a google document. use when you need to remove a previously defined named range by its id or name.
Action
Delete Paragraph BulletsTool to remove bullets from paragraphs within a specified range in a google document. use when you need to clear bullet formatting from a section of a document.
Action
Delete TableTool to delete an entire table from a google document. use when you have the document id and the specific start and end index of the table element to be removed. the table's range can be found by inspecting the document's content structure.
Action
Delete Table ColumnTool to delete a column from a table in a google document. use this tool when you need to remove a specific column from an existing table within a document.
Action
Delete Table RowTool to delete a row from a table in a google document. use when you need to remove a specific row from an existing table.
Action
Get Document By IdRetrieves an existing google document by its id; will error if the document is not found.
Action
Insert Inline ImageTool to insert an image from a given uri at a specified location in a google document as an inline image. use when you need to add an image to a document programmatically.
Action
Insert Page BreakTool to insert a page break into a google document. use when you need to start new content on a fresh page, such as at the end of a chapter or section.
Action
Insert Table ActionTool to insert a table into a google document. use when you need to add a new table at a specific location or at the end of a segment (like document body, header, or footer) in a document.
Action
Insert Table ColumnTool to insert a new column into a table in a google document. use this tool when you need to add a column to an existing table at a specific location.
Action
Insert Text ActionTool to insert a string of text at a specified location within a google document. use when you need to add new text content to an existing document.
Action
Replace All TextTool to replace all occurrences of a specified text string with another text string throughout a google document. use when you need to perform a global find and replace operation within a document.
Action
Replace ImageTool to replace a specific image in a document with a new image from a uri. use when you need to update an existing image within a google doc.
Action
Search DocumentsSearch for google documents using various filters including name, content, date ranges, and more.
Action
Unmerge Table CellsTool to unmerge previously merged cells in a table. use this when you need to revert merged cells in a google document table back to their individual cell states.
Action
Update Document MarkdownReplaces the entire content of an existing google docs document with new markdown text; requires edit permissions for the document.
Action
Update Document StyleTool to update the overall document style, such as page size, margins, and default text direction. use when you need to modify the global style settings of a google document.
Action
Update Existing DocumentApplies programmatic edits, such as text insertion, deletion, or formatting, to a specified google doc using the `batchupdate` api method.
Action
Update Table Row StyleTool to update the style of a table row in a google document. use when you need to modify the appearance of specific rows within a table, such as setting minimum row height or marking rows as headers.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.