Build it
What do you want Klaviyo and Shopify 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 Klaviyo and Shopify
Triggers and actions 19 triggers · 201 actions
Trigger
New EventPolling trigger. Fires when a new event (metric occurrence) is recorded, ordered by most-recent datetime.
Trigger
New or Updated ProfilePolling trigger. Fires when a profile is created or updated, ordered by most-recently updated.
Action
Add Categories to Catalog ItemAdd Categories to Catalog Item
Action
Add Items to Catalog CategoryAdd Items to Catalog Category
Action
Add Profiles to ListAdd Profiles to List
Action
Add Profile to ListAdd an existing profile to a list by profile ID.
Action
Bulk Create Catalog CategoriesBulk Create Catalog Categories
Action
Bulk Create Catalog ItemsBulk Create Catalog Items
Action
Bulk Create Catalog VariantsBulk Create Catalog Variants
Action
Bulk Create Coupon CodesBulk Create Coupon Codes
Action
Bulk Create EventsBulk Create Events
Action
Bulk Delete Catalog CategoriesBulk Delete Catalog Categories
Action
Bulk Delete Catalog ItemsBulk Delete Catalog Items
Action
Bulk Delete Catalog VariantsBulk Delete Catalog Variants
Action
Bulk Import ProfilesBulk Import Profiles
Action
Bulk Subscribe ProfilesBulk Subscribe Profiles
Action
Bulk Suppress ProfilesBulk Suppress Profiles
Action
Bulk Unsubscribe ProfilesBulk Unsubscribe Profiles
Action
Bulk Unsuppress ProfilesBulk Unsuppress Profiles
Action
Bulk Update Catalog CategoriesBulk Update Catalog Categories
Action
Bulk Update Catalog ItemsBulk Update Catalog Items
Action
Bulk Update Catalog VariantsBulk Update Catalog Variants
Action
Cancel Campaign SendCancel Campaign Send
Action
Clone CampaignClone Campaign
Action
Clone TemplateClone Template
Action
Create Back In Stock SubscriptionCreate Back In Stock Subscription
Action
Create CampaignCreate Campaign
Action
Create Campaign CloneCreate Campaign Clone
Action
Create Catalog CategoryCreate Catalog Category
Action
Create Catalog ItemCreate Catalog Item
Action
Create Catalog VariantCreate Catalog Variant
Action
Create CouponCreate Coupon
Action
Create Coupon CodeCreate Coupon Code
Action
Create EventTrack an event for a profile (e.g. a custom metric like "Placed Order").
Action
Create FlowCreate Flow
Action
Create ListCreate a new list.
Action
Create or Update ProfileCreate a profile if it doesn't exist, otherwise update the matching profile (upsert by email/phone/id).
Action
Create ProfileCreate a new profile. Errors if a profile with the email already exists.
Action
Create SegmentCreate Segment
Action
Create TagCreate Tag
Action
Create TemplateCreate Template
Action
Delete CampaignDelete Campaign
Action
Delete Catalog CategoryDelete Catalog Category
Action
Delete Catalog ItemDelete Catalog Item
Action
Delete Catalog VariantDelete Catalog Variant
Action
Delete CouponDelete Coupon
Action
Delete Coupon CodeDelete Coupon Code
Action
Delete FlowDelete Flow
Action
Delete ListDelete List
Action
Delete SegmentDelete Segment
Action
Delete TagDelete Tag
Action
Delete TemplateDelete Template
Action
Get CampaignGet Campaign
Action
Get Campaign Recipient EstimationGet Campaign Recipient Estimation
Action
Get CampaignsGet Campaigns
Action
Get Catalog CategoriesGet Catalog Categories
Action
Get Catalog CategoryGet Catalog Category
Action
Get Catalog ItemGet Catalog Item
Action
Get Catalog ItemsGet Catalog Items
Action
Get Catalog VariantGet Catalog Variant
Action
Get Catalog VariantsGet Catalog Variants
Action
Get CouponGet Coupon
Action
Get Coupon CodeGet Coupon Code
Action
Get Coupon CodesGet Coupon Codes
Action
Get CouponsGet Coupons
Action
Get EventGet Event
Action
Get EventsRetrieve events, optionally filtered (e.g. by metric or profile).
Action
Get FlowGet Flow
Action
Get FlowsGet Flows
Action
Get Flows Triggered by ListGet Flows Triggered by List
Action
Get Flows Triggered by MetricGet Flows Triggered by Metric
Action
Get Flows Triggered by SegmentGet Flows Triggered by Segment
Action
Get FormGet Form
Action
Get FormsGet Forms
Action
Get Form VersionGet Form Version
Action
Get ImageGet Image
Action
Get ImagesGet Images
Action
Get ListGet List
Action
Get List ProfilesGet all profiles that are members of a given list.
Action
Get ListsRetrieve all lists in the account.
Action
Get MetricGet Metric
Action
Get MetricsRetrieve all metrics in the account.
Action
Get ProfileGet Profile
Action
Get Profile by EmailFetch a single profile by its email address. Emits empty values if no profile is found.
Action
Get Profile by IDFetch a single profile by its Klaviyo profile ID.
Action
Get ProfilesList profiles, optionally filtered by email or other attributes.
Action
Get Push TokensGet Push Tokens
Action
Get ReviewsGet Reviews
Action
Get SegmentGet Segment
Action
Get Segment ProfilesGet all profiles in a given segment.
Action
Get SegmentsRetrieve all segments in the account.
Action
Get TagGet Tag
Action
Get TagsGet Tags
Action
Get TemplateGet Template
Action
Get TemplatesGet Templates
Action
Merge ProfilesMerge Profiles
Action
Query Campaign ValuesQuery Campaign Values
Action
Query Flow SeriesQuery Flow Series
Action
Query Flow ValuesQuery Flow Values
Action
Query Form SeriesQuery Form Series
Action
Query Form ValuesQuery Form Values
Action
Query Metric AggregatesQuery Metric Aggregates
Action
Query Segment SeriesQuery Segment Series
Action
Query Segment ValuesQuery Segment Values
Action
Refresh Campaign Recipient EstimationRefresh Campaign Recipient Estimation
Action
Remove Categories from Catalog ItemRemove Categories from Catalog Item
Action
Remove Items from Catalog CategoryRemove Items from Catalog Category
Action
Remove Profile from ListRemove a profile from a list by profile ID.
Action
Remove Profiles from ListRemove Profiles from List
Action
Remove Tag from CampaignsRemove Tag from Campaigns
Action
Remove Tag from FlowsRemove Tag from Flows
Action
Remove Tag from ListsRemove Tag from Lists
Action
Remove Tag from SegmentsRemove Tag from Segments
Action
Render TemplateRender Template
Action
Request Profile DeletionRequest Profile Deletion
Action
Send CampaignSend Campaign
Action
Subscribe ProfileSubscribe a profile (email/SMS consent) to a given list.
Action
Suppress ProfileSuppress a profile from receiving email marketing (global suppression).
Action
Tag CampaignsTag Campaigns
Action
Tag FlowsTag Flows
Action
Tag ListsTag Lists
Action
Tag SegmentsTag Segments
Action
Unsubscribe ProfileUnsubscribe a profile from email/SMS marketing for a given list.
Action
Update CampaignUpdate Campaign
Action
Update Catalog CategoryUpdate Catalog Category
Action
Update Catalog ItemUpdate Catalog Item
Action
Update Catalog VariantUpdate Catalog Variant
Action
Update Categories for Catalog ItemUpdate Categories for Catalog Item
Action
Update CouponUpdate Coupon
Action
Update Coupon CodeUpdate Coupon Code
Action
Update Flow StatusUpdate Flow Status
Action
Update ImageUpdate a Klaviyo image. Reads the image first, overlays only the values you supply, then saves the merged result — so anything you leave blank keeps its current value.
Action
Update Items for Catalog CategoryUpdate Items for Catalog Category
Action
Update ListUpdate List
Action
Update ProfileUpdate an existing profile by its Klaviyo profile ID.
Action
Update SegmentUpdate Segment
Action
Update TagUpdate Tag
Action
Update TemplateUpdate Template
Action
Upload Image From FileUpload Image From File
Action
Upload Image From URLUpload Image From URL
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.
No trigger or action matches that. Ask your agent to add it: it reads the API documentation and builds what you describe.