Integration
Connect Harpoon and Shopify
When New Client fires in Harpoon, your agent runs Add customer in Shopify, or New cart in Shopify to Add Invoice in Harpoon. Describe the whole flow and it is built, tested on every scenario and kept running.
What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.
Build solutions, not workarounds.
What do you want Harpoon and Shopify to do together?
Ask the assistant
Connect your AI client
Give your AI client this address.
https://mcp.apiant.aiOne 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.aiStart Claude Code there, approve the server, and sign in in the browser page it opens.
Claude Code guide (opens in a new tab)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)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)Zed
Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.
Setup guide (opens in a new tab)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)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)Example flows
What Harpoon and Shopify can do together
From Harpoon to Shopify
When New Client in Harpoon
then Add customer in Shopify
When New Contact in Harpoon
then Add metafield to customer in Shopify
From Shopify to Harpoon
When New cart in Shopify
then Add Invoice in Harpoon
When New customer in Shopify
then Add Lead Source in Harpoon
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 Harpoon and Shopify
Triggers and actions 26 triggers · 124 actions
Trigger
New ClientTriggered when a new client is created in Harpoon.
Trigger
New ContactTriggered when a new contact is created in Harpoon.
Trigger
New ExpenseTriggered when a new expense is created in your Harpoon account.
Trigger
New Expense CategoryTriggered when a new expense category is created in Harpoon.
Trigger
New InvoiceTriggered when a new invoice is created in Harpoon.
Trigger
New PaymentTriggered when a new payment is recorded in your Harpoon account.
Trigger
New ProjectTriggered when a new project is created in Harpoon.
Trigger
New Task CategoryTriggered when a new task category is added in your Harpoon account.
Trigger
New Time EntryTriggered when a new time entry is logged in Harpoon.
Action
Add Credit EntryCreates a new credit entry on a client's account in Harpoon, recording an amount, a date and an optional note or originating invoice. Returns the credit entry that was created.
Action
Add InvoiceCreates a new invoice in Harpoon for a client or project, with an invoice number, issue date, and optional line items. Returns the invoice that was created.
Action
Add Lead SourceCreates a new lead source in Harpoon, so new clients can be tagged with where they came from. Returns the lead source that was created.
Action
Add NoteAdds a note to a client, project or invoice in Harpoon. Returns the note that was created.
Action
Add TeamCreates a new team in your Harpoon account. Harpoon populates the new team from your account details; the API accepts no team attributes on creation.
Action
Clone Time EntryCreates a copy of an existing time entry in Harpoon. The copy keeps the original's project, task and description, and starts with today's date and zero hours logged.
Action
Create ContactCreates a contact person under a Harpoon client, with their name, email address, and phone number. Returns the contact that was created.
Action
Create ExpenseRecords a one-off expense in Harpoon with its date, amount, and vendor, optionally attributed to a client, project, or expense category. Returns the expense that was created.
Action
Create Expense CategoryCreates a new expense category in your Harpoon account so expenses can be grouped under it.
Action
Create ProjectCreates a project in Harpoon for a client, with its budget, rate, and start and end dates. Returns the project that was created.
Action
Create Time EntryLogs hours worked in Harpoon for a team member on a given date, optionally against a client or project. Returns the time entry that was created.
Action
Delete ClientDeletes a client from your Harpoon account.
Action
Delete ExpensePermanently deletes an expense from your Harpoon account.
Action
Delete InvoicePermanently removes an invoice from Harpoon. Returns Harpoon's confirmation that the invoice was deleted.
Action
Delete NoteDeletes a note from your Harpoon account.
Action
Delete Recurring ExpenseDeletes a recurring expense template from Harpoon by its id, so it stops generating new expenses.
Action
Delete Recurring InvoiceStops and removes a recurring invoice schedule in Harpoon so it no longer generates invoices. Returns Harpoon's confirmation that it was deleted.
Action
Delete Time EntryDeletes a time entry from your Harpoon account.
Action
Get ClientReturns a single client from your Harpoon account, including its name, contact details and other stored attributes.
Action
Get Client CreditsReturns a client's credit entries in Harpoon, along with the credit still available on the account.
Action
Get ContactReturns a single Harpoon contact, including their name, email address, phone number, and the client they belong to.
Action
Get EstimateReturns a single estimate from your Harpoon account, including its client, line items, totals and status.
Action
Get ExpenseReturns a single expense from your Harpoon account, including its amount, date, vendor, category and the client or project it is attached to.
Action
Get Expense CategoryReturns a single Harpoon expense category with every detail it carries, including its name and budget settings.
Action
Get InvoiceFetches one invoice from Harpoon by its id, with its client, line items and payment totals. An error occurs if the invoice is not found.
Action
Get Lead SourceReturns a single lead source from your Harpoon account.
Action
Get ProjectReturns a single project from your Harpoon account, including its client, budget and status.
Action
Get Recurring ExpenseFetches one recurring expense template from Harpoon by its id, with its vendor, amount, frequency and schedule. An error occurs if it is not found.
Action
Get Recurring InvoiceReturns a single recurring invoice schedule from Harpoon, including its client, frequency, dates, and line items.
Action
Get TaskReturns a single task category from your Harpoon account, including its name and hourly rate.
Action
Get TeamReturns a single team from your Harpoon account, including its name, email address, phone, address, owner and whether it is active.
Action
Get Time EntryReturns a single tracked time entry from your Harpoon account, including its date, hours, client, project and notes.
Action
List ContactsReturns the contacts in your Harpoon account, including each contact's name, email address and phone number.
Action
List EstimatesReturns the estimates in a Harpoon account, optionally narrowed to a year, client, project, status, or search text.
Action
List Expense CategoriesReturns the expense categories set up in Harpoon, each with its budget settings.
Action
List ExpensesReturns the expenses in your Harpoon account, optionally narrowed by date range, client, project, category, billing status or search text.
Action
List InvoicesReturns the invoices in your Harpoon account, optionally narrowed by year, client, project, status or a search term.
Action
List ProjectsReturns the projects in a Harpoon account, with their client, budget, rate, and dates.
Action
List TeamsReturns the teams in your Harpoon account, along with the total number of teams found.
Action
List Time EntriesReturns time entries from your Harpoon account — either the timers running now or logged history for a date range — optionally narrowed by client, project, task, team member or billing status.
Action
Update ExpenseUpdates an existing expense in your Harpoon account. Only the values you supply are changed.
Action
Update InvoiceUpdates an existing invoice in your Harpoon account. Only the values you supply are changed.
Action
Update ProjectUpdates an existing project in Harpoon — its name, client, billing type, status, dates, budget and task rates. Returns the updated project.
Action
Update Recurring ExpenseUpdates a recurring expense in Harpoon — its vendor, amount, frequency, category, dates, and status. Anything left blank keeps its current value. Returns the updated recurring expense.
Action
Update Recurring InvoiceUpdates an existing recurring invoice template in your Harpoon account. Only the values you supply are changed.
Action
Update Time EntryUpdates an existing time entry in Harpoon — its date, hours, description, project, task or billing state.
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.
Trigger
New customer (instant)Triggered when a customer is added.
Trigger
New orderPolls Shopify for orders (most recent first), returning a list of orders.
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.
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.
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.
Trigger
Updated orderPolls 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 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
Activate Inventory Item at LocationStocks an inventory item at a store location so it can hold quantity there, and returns the location's available quantity.
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.
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 Product OptionAdds 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 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
Adjust Inventory QuantityChange an inventory item's available quantity at a location by a positive or negative amount.
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 Metafield DefinitionCreate a metafield definition (namespace, key, type, validations) for an owner type.
Action
Create Order with Calculated TaxCreates 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 FileCreate or replace a file in a theme. The store's Shopify app needs the write_themes scope.
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
Create Product with VariantsCreate a product with up to three options and its variants (price, SKU, barcode, inventory settings) in one step.
Action
Delete item from locationDisconnect (deactivate) an inventory item from a location, removing the inventory level — GraphQL Admin API equivalent of.
Action
Delete productDeletes an existing product.
Action
Delete product variantDeletes an existing product variant.
Action
Delete Theme FileDelete a file from a theme. The store's Shopify app needs the write_themes scope.
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.
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 fulfillment order line itemsLists the line items on a fulfillment order, with the quantity still left to fulfill.
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.
Action
Get locationsRetrieve the list of Shopify store locations. Returns each location's id, legacyResourceId, name, active state, and address.
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.
Action
Get product count: draft productsReturns the number of draft products in the Shopify store (status:draft).
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 OptionsGet a product's options and their values.
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
Get Sales Tax Rates by LocationReturns the sales tax lines and total tax rate that apply at each active store location.
Action
Get Theme FileGet a theme file's contents by theme and filename.
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).
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 - initializeStarts 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 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
Set Product Variant MetafieldCreate or update a metafield value on a product variant.
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 Customer Default AddressUpdates 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 ConsentSets a Shopify customer's email marketing consent state and opt-in level.
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.
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.
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.
Each app on its own
Reviews
What our customers say
More from Harpoon
Harpoon to BugcrowdBugcrowd API for interacting and tracking the reported issues programmatically
Harpoon to HubSpotHubSpot is your all-in-one stop for all of your marketing software needs.
Harpoon to SalesforceSalesforce is a leading enterprise customer relationship management (CRM) platform.
Harpoon to SlackSlack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...
Harpoon to Google SheetsGoogle Sheets is Google's online spreadsheet app for creating, editing and sharing spreadsheets.
Harpoon to GmailGmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...
More into Shopify
HubSpot to ShopifyHubSpot is your all-in-one stop for all of your marketing software needs.
Salesforce to ShopifySalesforce is a leading enterprise customer relationship management (CRM) platform.
Google Calendar to ShopifyGoogle Calendar is a time management tool providing scheduling features, event reminders, and integration...
Google Drive to ShopifyGoogle Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...
QuickBooks Online to ShopifyQuickBooks Online accounting — manage customers, invoices, bills, payments, vendors, expenses, and more via...
Pipedrive to ShopifyPipedrive is a sales CRM and pipeline management tool.
Questions
Harpoon and Shopify, answered
What can start an automation from Harpoon?
Any of Harpoon's 9 triggers in the catalog, including New Client, New Contact, New Expense and New Expense Category. Describe the moment in plain language and your agent picks the right one.
What can your agent do in Shopify when something happens in Harpoon?
Any of Shopify's 78 actions, including Create Metafield Definition, Create Order with Calculated Tax, Create or Update Theme File and Create product. Your agent maps the data both ways and tests every scenario before it ships.
Can it also run from Shopify to Harpoon?
Yes. When something happens in Shopify, your agent can act in Harpoon too. This page covers both directions: Shopify's triggers and Harpoon's actions are listed here as well.
Do I have to build a connector for Harpoon 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 Harpoon 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.