What is AgentaOS?
AgentaOS is a merchant of record for SaaS, digital products, and AI apps. It handles global checkout, subscriptions, VAT and sales tax, invoicing, and payouts with both test and live API keys.Connecting AgentaOS
AgentaOS connects with an API key and a signed webhook. You can connect in either test mode (sk_test_...) or live mode (sk_live_...), and switch keys at any time by reconnecting.
Step 1: Generate Your AgentaOS API Key
- Open your AgentaOS Dashboard
- Switch to Test or Live mode at the bottom of the sidebar
- Go to Developers → API keys
- Click Generate Test Key (
sk_test_...) or Generate Live Key (sk_live_...) and copy the key
Sequenzy detects test or live mode automatically from the key prefix. Live
connections skip test webhooks (
livemode: false) and test connections skip
live webhooks (livemode: true), so test checkouts never pollute live
contacts or revenue. The dashboard test event (webhook.test) is always
acknowledged.Step 2: Configure Your Webhook in AgentaOS
- In AgentaOS, open Settings → Developers → Webhooks
- Set your endpoint URL to:
You can copy this URL directly from the AgentaOS connection dialog in Sequenzy.
- Click Save
- Click Reveal signing secret and copy the
whsec_...value
Step 3: Connect in Sequenzy
- Go to Settings → Integrations in Sequenzy
- Click Connect next to AgentaOS
- Paste your API key (
sk_live_...orsk_test_...) - Paste your Signing secret (
whsec_...) - Click Connect AgentaOS
X-AgentaOS-Signature).
You can also connect from the CLI or API:
Synced Attributes
When connected, Sequenzy matches or creates subscribers by email and adds these attributes:MRR Calculation
MRR is normalized from each active, trialing, or past-due subscription’s recurring price:- Monthly: Used as-is
- Yearly: Divided by 12
USDC, EURC, and EURe) are converted to USD.
Automatic Tags
Sequenzy updates subscriber tags from AgentaOS subscription events and revenue syncs:
When a scheduled cancellation is resumed before the period ends, AgentaOS sends
subscription.updated with cancel_at_period_end: false, and Sequenzy removes the cancelled tag automatically.
Tracked Events
AgentaOS sends all account events to your webhook URL. Sequenzy maps checkout and subscription events to built-in SaaS events and acknowledges other event types cleanly:subscription.created (when status: "active"), subscription.renewed, and
plan-change subscription.updated deliveries refresh subscription attributes
and MRR without firing a duplicate saas.purchase event. Free trial
checkouts (trial: true, amount: "0") and credit-covered $0 renewals do
not emit saas.purchase.saas.refund is not triggered automatically. Refunded and charged-back transactions are excluded from ltv whenever a revenue sync runs.
Event Properties
Purchase and subscription events carry product and checkout context so you can filter sequence triggers:Which Lists Contacts Join
AgentaOS has no per-integration list targeting. Customers it creates, including during the initial revenue backfill, join your workspace Default Lists. A JSONnull on that setting means every current and future list, not “no lists”. [] joins nothing. You can inspect or change it before connecting:
Troubleshooting
Webhooks Not Arriving
- Confirm your webhook URL in AgentaOS (Settings → Developers → Webhooks) matches
https://api.sequenzy.com/api/webhooks/agentaos/{your-company-id} - Click Send test event in AgentaOS to verify your endpoint responds with
200 - Check that your connected API key mode (
sk_test_vssk_live_) matches the mode of the checkout you are testing
Invalid Webhook Signature
- Open Settings → Developers → Webhooks in AgentaOS and click Reveal signing secret
- Copy the complete
whsec_...secret without extra whitespace - Reconnect AgentaOS in Sequenzy with the current signing secret
Missing Monthly or Yearly Tags on Purchases
AgentaOS webhook payloads do not include the billing interval directly. Sequenzy looks up the payment link or subscription with your API key when the webhook arrives. Make sure your connected API key is active and matches the event’s mode (sk_test_ for test events, sk_live_ for live events).