Integrations
StockFlow connects with the tools you already use. Go to Settings → Integrations to set up or manage connections.
Accounting
Xero
Sync invoices, payments, contacts, and purchase orders between StockFlow and Xero.
Setup:
- Go to Settings → Integrations → Xero → Connect
- You are redirected to Xero to authorise the connection
- Select the Xero organisation to connect
- Map your StockFlow tax rates to Xero tax codes
- Map account codes (revenue account, COGS account, inventory asset account)
- Click Save & Sync
What syncs:
- StockFlow invoice created → Xero invoice created
- Payment marked in StockFlow → payment applied in Xero
- Purchase order received → bill created in Xero
- Client created in StockFlow → contact created in Xero (and vice versa)
Sync frequency: Real-time (webhooks)
QuickBooks Online
Same capabilities as Xero. Setup process is identical — click Connect and authorise via OAuth.
Supported editions: QuickBooks Online Simple Start, Essentials, Plus, Advanced.
E-commerce
Shopify
Two-way inventory sync between StockFlow and your Shopify store.
What syncs:
- Product created in StockFlow → product created in Shopify
- Stock adjustment in StockFlow → inventory level updated in Shopify
- Order placed in Shopify → sale created in StockFlow (inventory deducted automatically)
Setup:
- Settings → Integrations → Shopify → Install App
- You are redirected to the Shopify App Store — install the StockFlow app
- In StockFlow, map your Shopify locations to your StockFlow warehouses
- Choose sync direction per product category (StockFlow → Shopify, Shopify → StockFlow, or two-way)
- Click Start Sync
Initial product import may take up to 10 minutes for large catalogues.
WooCommerce
Similar to Shopify. Requires the StockFlow plugin installed in WordPress.
Setup:
- In your WordPress admin, go to Plugins → Add New → Search “StockFlow” and install
- In the plugin settings, enter your StockFlow API key (from Settings → Integrations → API Keys)
- In StockFlow, go to Settings → Integrations → WooCommerce and click Verify Connection
Payment processing
Stripe
Accept card payments directly from StockFlow invoices. Clients receive a “Pay now” button in their emailed invoice.
Setup:
- Settings → Integrations → Stripe → Connect
- Log in to your Stripe account and authorise
- StockFlow sends a payment link in every invoice email
- When the client pays, the invoice is automatically marked as paid in StockFlow
Supported payment methods: Visa, Mastercard, American Express, Apple Pay, Google Pay.
Communication
Slack
Receive StockFlow notifications in your Slack workspace.
Setup:
- Settings → Integrations → Slack → Add to Slack
- Authorise and select the default channel
- Configure which notifications go to which channels (see Settings → Notifications)
Available events: New sale, Low stock alert, Overdue invoice, New client, Stocktake complete, User login from new device.
Mailchimp
Sync client segments to Mailchimp audiences for email marketing.
See Client Segments for the full setup guide.
API access
Generating API keys
- Go to Settings → Integrations → API Keys
- Click + New API Key
- Enter a label (e.g.
Internal automation,Zapier) - Select a permission scope: Read only, Read + Write, or Full access
- Optionally restrict to specific IP addresses (for server-to-server calls)
- Click Generate
- Copy the key immediately — it is shown only once
API keys are long-lived by default. Rotate them via the same screen.
API documentation
Full REST API reference: docs.stockflow.io/api
Authentication: Bearer token in the Authorization header.
GET https://api.stockflow.io/v1/products
Authorization: Bearer sf_live_xxxxxxxxxxxxxxxxRate limits: 120 requests/minute (Starter), 600/minute (Growth), 3,000/minute (Enterprise).
Webhooks
StockFlow can push events to your server in real time.
- Go to Settings → Integrations → Webhooks → + Add Webhook
- Enter your endpoint URL (must be HTTPS)
- Select which events to subscribe to
- Click Save
StockFlow will send a POST request to your URL for each event. The body is JSON. A test event is sent immediately after saving — check your endpoint’s logs to confirm receipt.
Available events (30+): product.created, product.updated, stock.adjusted, sale.created, sale.paid, client.created, invoice.overdue, stocktake.completed, and more.
Zapier
Search for “StockFlow” in the Zapier app directory. Supported triggers and actions include:
| Triggers | Actions |
|---|---|
| New sale created | Create client |
| Low stock alert triggered | Create sales order |
| New client added | Update product price |
| Invoice marked as paid | Add stock |
| Stocktake submitted | Send email (via connected email service) |