Skip to main content
Connect your AgentaOS account to sync customers, subscriptions, and revenue metrics into Sequenzy and trigger automations from signed checkout and subscription webhooks.

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

  1. Open your AgentaOS Dashboard
  2. Switch to Test or Live mode at the bottom of the sidebar
  3. Go to Developers → API keys
  4. 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

  1. In AgentaOS, open Settings → Developers → Webhooks
  2. Set your endpoint URL to:
    You can copy this URL directly from the AgentaOS connection dialog in Sequenzy.
  3. Click Save
  4. Click Reveal signing secret and copy the whsec_... value

Step 3: Connect in Sequenzy

  1. Go to Settings → Integrations in Sequenzy
  2. Click Connect next to AgentaOS
  3. Paste your API key (sk_live_... or sk_test_...)
  4. Paste your Signing secret (whsec_...)
  5. Click Connect AgentaOS
Sequenzy verifies your API key, starts an initial customer and revenue sync, and begins listening for signed AgentaOS webhooks (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
Amounts in EUR or other currencies (including USD- and EUR-pegged stablecoin settlements such as 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.
AgentaOS does not emit a refund webhook, so 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 JSON null 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

  1. Confirm your webhook URL in AgentaOS (Settings → Developers → Webhooks) matches https://api.sequenzy.com/api/webhooks/agentaos/{your-company-id}
  2. Click Send test event in AgentaOS to verify your endpoint responds with 200
  3. Check that your connected API key mode (sk_test_ vs sk_live_) matches the mode of the checkout you are testing

Invalid Webhook Signature

  1. Open Settings → Developers → Webhooks in AgentaOS and click Reveal signing secret
  2. Copy the complete whsec_... secret without extra whitespace
  3. 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).