How to triage a shared inbox into Sage 500
Connect your shared mailbox and Sage 500 to Portal. The AI reads each message, matches the sender to the Sage 500 customer, and your routing rules forward it or draft a Sage 500 standard sales order, staged in StgSalesOrder and StgSOLine and created by Sage's sales order API procedure or a Sage 500 SO quote, which your team enters in Sage 500 because Sage documents no import for quotes for review.
About Sage 500.
Sage 500 ERP, formerly Sage MAS 500, is an ERP that runs financials, sales orders, purchasing and inventory on Microsoft SQL Server databases. It is installed on your own Windows servers, with a Windows client on each desk.
Versions are named by year, and Sage's documentation lists Sage 500 ERP 2026 as the latest. Sage ships product updates for the versions it supports; its mid-year 2026 updates covered Sage 500 ERP 2026, 2024 and 2023.
One set of Sage 500 databases can hold several companies, linked so they can be consolidated or used for intercompany transactions. The number of companies you can create depends on your license.
Portal by Webisoft is a B2B portal for Sage 500: customer self-service and team apps on live Sage 500 data.
Why connecting to Sage 500 is hard.
Customer service on Sage 500 spends the day opening Sage to look up customers, orders and shipments for each email.
Many companies in one database
Sage 500 keeps more than one company in the same application database, and every table holds rows for all of them. An integration has to filter every read and every write to the right company, or it mixes one company's customers and orders into another's.
Data comes in through imports, not a web API
Sage 500 brings outside data in through Data Import Manager import jobs, with their own DI Package User and Administrator roles; cash receipts, for example, arrived as an import entity. There is no modern web API, so each document type an integration writes depends on an import path Sage provides for it.
Only some versions get updates
Sage ships product updates for the Sage 500 versions it supports, and its mid-year 2026 updates went to 2026, 2024 and 2023 only. Running an older version means no fixes, and an integration has to be checked when you upgrade.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Sage 500 add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Sage 500 write rules yourself. |
| Custom code | The need is unique and you have developers who know Sage 500. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Sage 500 data. | It works on top of Sage 500; it does not replace it. |
How Portal reaches Sage 500.
Portal connects to Sage 500 through the On-site connector, a Windows service on a machine that can reach your Sage 500 SQL Server. You give it a connection string, the company ID (for example SOA), your Sage version and, if you want, a default warehouse; every read is limited to that company, even when other companies share the database. A separate login for writes is optional, so the read login can stay read only.
Sales orders go in through Sage's own sales order staging tables and API procedure, which validates and posts them, and the agent reads Sage's messages back. Before that it checks that the customer is active and not on hold and that every item is active. Each order is tagged in a user field with a short portal reference that the agent looks for first, so a retry never creates a second order.
What you need.
- A Windows machine that can reach the Sage 500 SQL Server, with a login that can read the company's tables
- For orders, a login allowed to insert into StgSalesOrder and StgSOLine and run Sage's sales order API procedure, with UserFld1 on sales orders free for the portal tag
- The shared inbox and the teams that should receive each kind of request
Step by step.
Your Portal team sets up the Sage 500 connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Install and pair the agent next to Sage 500
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On a Windows machine that can reach the Sage 500 SQL Server, install the On-site connector, run portal-on-site pair with the code, then portal-on-site configure sage500 and enter the connection string of the Sage 500 database, the company ID (for example SOA), the version from Help, About, an optional default warehouse for order lines and an optional second connection string for writes. Run portal-on-site test and start the service.
Connect the inbox and describe your business
In Email, Sources, connect the shared mailbox. In Email, AI reading, add your intents, sender types and locations.
Route by intent and customer
In Email, Routing rules, add rules such as: purchase orders from matched customers create an order draft, quote requests create a quote request, tracking questions go to customer service. Senders are matched to the Sage 500 A/R customer in your company ID, with its Hold flag as credit hold and only Active or Temporary customers allowed to order.
Test, then turn on
Use Try your rules with an email to see where a message would go, then tick Read incoming mail with intake. Forwards wait in the Review queue until approved.
What syncs with Sage 500.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers, contacts and addresses | Yes | No | Credit hold from the customer hold flag |
| Items | Yes | No | |
| Prices | Yes | No | Standard price only; no customer pricing |
| Stock by warehouse | Yes | No | On hand and available as Sage computes them |
| Sales orders | Yes | Yes | Standard and blanket orders; written through Sage's staging API |
| Quotes | Yes | No | Created and converted by your team in Sage 500 |
| Invoices and memos | Yes | No | |
| Cash receipts | Yes | Yes | Applied to the paid invoices |
| Shipments | Yes | No | With ship method; no line detail |
| Returns (RMAs) | Yes | No | Created by your team in Sage 500 |
| Purchase orders | Yes | Yes | New purchase orders only; changes stay in Sage 500 |
Limits today: Today the Sage 500 connection writes sales orders. Quotes and returns stay with your team in Sage 500.
What you can do next.
- A carrier's ship notice arrives; the rule Add tracking numbers to orders attaches it to the matching Sage 500 order.
- An urgent email from a VIP customer is forwarded to their account manager with the Sage 500 customer already identified.
Sage 500 questions, answered.
How does it know which Sage 500 customer sent the email?
It matches the sender to the Sage 500 A/R customer in your company ID, with its Hold flag as credit hold and only Active or Temporary customers allowed to order. You can add a Customer is matched condition to any rule.
Does anything get sent without review?
Forwards wait for review by default and drafts stay drafts until an approver submits them.
Can it draft quotes as well as orders?
Yes. The Create a quote request action starts a Sage 500 SO quote, which your team enters in Sage 500 because Sage documents no import for quotes for review.
Keep going.
- Triage a shared inbox: overview
- B2B portal for Sage 500
- Connect an AI agent to your ERP, Sage 500
- Automate order entry from email, Sage 500
- Take invoice payments online, Sage 500
- Give customers order status, Sage 500
- Build a B2B ordering portal, Sage 500
- Add approval workflows, Sage 500
- One REST API for your ERP, Sage 500
- Connect an on-prem ERP safely, Sage 500
- Triage a shared inbox, Sage 100
- Triage a shared inbox, Sage 300
- Triage a shared inbox, Sage 50
- Triage a shared inbox, Sage Accounting
- Triage a shared inbox, Sage Intacct
- Triage a shared inbox, Sage X3