Privacy policy
This policy describes what Margin Guard: Profit Alerts collects from Shopify stores, why, and how to have it removed. Margin Guard: Profit Alerts is operated by Agentic Labs LLC (agntwrk). Last updated 2026-10-18.
What we collect
When you install the app on a Shopify store we store the store's domain, currency, and contact email, the access scopes granted, the app plan, and an offline access token for the Shopify Admin API. We keep a copy of the store's products, variants (title, SKU, barcode, price, compare-at price, weight), inventory item costs and stock levels, collections, and discounts (title, status, dates, value, and which products or collections they apply to; not the discount codes), read with the read_products, read_inventory, and read_discounts scopes. We also store what you set in the app: margin rules, overrides, exclusions, alert settings (an email address and, if you add one, a Slack webhook URL), and the problems the checks find. We do not request or store orders or customer data, so the app holds no customer personal data, and we do not store the names or email addresses of your store's staff. Opening the app in your Shopify admin sets a first-party cookie named session that holds your store's domain, is signed and HTTP-only, and lasts 30 days. Standard server logs record the IP address, user agent, and request path. We do not sell personal data and do not use it for advertising.
How we use it
To calculate margins, check discounts, keep our copy in sync with your store, run checkout protection, send the alerts you turn on, bill the plan you chose through Shopify, and secure the service. We use store data only to provide the app to that store. The store contact email is used only to pre-fill the alert email field in the app's settings; nothing is sent to it unless you save it there and turn alerts on.
What the app writes to your store
With the write_products scope the app writes app-owned metafields on your variants (each variant's cost, minimum margin, and product title) and one on the shop (the checkout policy), which hold the values its checkout validation needs. It does not change product titles, prices, or costs. With write_validations it registers the checkout validation. With write_discounts it deactivates a discount, only when you press Deactivate on it.
Checkout protection
Checkout protection is a Shopify Function that runs inside Shopify when a customer checks out, not on our servers. For each cart line it receives the quantity, the line subtotal and total, the discount amounts applied to the line, the variant id, the variant and product titles, the variant's Margin Guard metafield, and the shop's Margin Guard policy metafield. It does not receive the buyer's name, email address, shipping address, or payment details, and it makes no requests to us, so we never see the cart. It uses these values only to reject a cart line that would sell below your minimum gross margin.
Email and Slack
On Pro and Business, when a new problem is found, we send an alert email to the address you enter in the app's settings, and a Slack message to the webhook URL if you add one. On Business, a weekly digest email with counts and the most severe open problems is sent to the same address if you turn it on. Alerts and the digest are off until you turn them on. Emails go through Resend, which receives the recipient address and the message, and every email has an unsubscribe link; we keep an unsubscribed address on a suppression list so we do not email it again. A Slack message carries the problem titles and a link to the app, and goes to the webhook you provide, which we store and never show in the browser. Turn alerts and the digest off, or remove the Slack webhook, in the app's settings.
AI assistants (MCP)
You can connect an AI assistant, such as Claude or ChatGPT, to the app's MCP server. When you do, the assistant's provider receives the data your requests return, such as products, margins, discounts, and findings, and handles it under its own terms and privacy policy. Access is through OAuth and limited to your store. We store the assistant's registration, a single-use authorization code that expires after 10 minutes, a record of the authorization (which assistant, who allowed it, when it was last used), and hashes of its access token, which expires after 1 hour, and its refresh token, which expires 30 days after it was last used. Each record identifies your store by its domain. Revoke an assistant under Connected assistants in the dashboard, or remove the connector in your assistant, to end access.
Service providers
We host the app on Google Cloud in the United States (us-central1): Cloud Run runs the app and its scheduled jobs, Firestore stores the data above, Secret Manager holds our credentials, Cloud Scheduler starts the jobs, and Cloud Logging keeps the logs. Shopify handles installation and billing, and we do not collect payment card details. Resend sends the emails described above. If you add a Slack webhook, Slack receives the alert messages. Google Analytics counts visits to our web pages, as described below. These providers process data only to run the app.
Retention and deletion
We keep store data while the app is installed. Uninstalling the app deletes the store's record and everything stored under it (the catalog copy, rules, overrides, exclusions, alert settings including the email address and Slack webhook URL, and checkout metafield state), the store's sessions including its access token, its findings, and its AI assistant authorization codes, grants, and tokens. Shopify's shop data erasure request, sent 48 hours after uninstall, runs the same deletion again. We keep addresses that unsubscribed from our emails so we do not email them again; write to us to have one removed. Customer data requests and customer erasure requests from Shopify are acknowledged with nothing to return or delete, because no customer data is stored. Logs expire after 30 days. Write to us to have anything removed sooner.
Your store's customers
The app does not collect your customers' personal data. Their cart contents pass through the checkout function inside Shopify as described above, and we do not receive them. Customers who want to see or delete their data should contact the store; we act on the requests Shopify forwards to us.
Security
Data is encrypted in transit and at rest. Access tokens and credentials are stored server-side and never sent to the browser. Access to production data is limited to the people who operate the app.
Changes
We update this page when the app's data handling changes and change the date above.
Contact
hello@agntwrk.com. Terms of use and our full privacy policy: https://agntwrk.com/legal