Sage Intacct v2
Sage Intacct is a cloud financial management platform used to work with accounting and operational business objects through the Sage Intacct REST API.
The Flowgear Sage Intacct Node lets you run the current query and mutation surface through template-driven operations, OAuth-backed connections, and the embedded OpenAPI definition in a Workflow. Query responses stay business-payload-only, while mutation responses use the Flowgear object for default success or failure metadata.
Warning: API access and usage may incur additional charges from your Sage Intacct provider. Before using this Node, confirm any applicable licensing requirements, usage limits, and charges with your provider or implementation partner.
Revision History
0.1.0.0 - Completed the Runtime overhaul with eager first-page or first-batch startup and lazy continuation.
0.1.0.2 - Initial release.
0.1.0.9 - Improved OAuth connection handling.
0.1.0.10 - Improved error messages.
0.1.0.13 - Updated templates for Sage Intacct REST API Release 1.
0.1.0.21 - Improved error messages.
0.1.0.23 - Corrected the Node name.
0.1.0.36 - Returned all fields for single-record queries and improved Query Service error messages.
0.1.0.37 - Aligned the connector contract and public help article.
0.1.1.0 - Published the current Runtime overhaul release.
0.1.1.2 - Split query and mutation actions into dedicated methods.
0.1.1.4 - Corrected method templates and single-record return types.
0.1.1.6 - Restored complete Order Entry line-item fields in designer templates and safely handled recursive allOf schemas.
0.1.1.10 - Improved token refresh error messages.
0.2.0.0 - Creates records individually, validates query continuation and write outcomes, and adds per-request timeouts with bounded read recovery.
0.2.0.1 - Update and Delete take an Items list in which each item names its own record, and return one row per item; routed Create operations take route values from each item.
Connection
The Connection uses OAuth 2.0 to authenticate requests to Sage Intacct.
| Property | Type | Description |
|---|---|---|
Client Id |
String | Client ID for your Sage Intacct developer application. |
Client Secret |
Masked | Client secret for your Sage Intacct developer application. |
Access Token |
Masked | OAuth access token used to authorize API requests. This is populated when you connect your account. |
Refresh Token |
Masked | OAuth refresh token used to renew the access token. This is populated when you connect your account. |
Setup Notes
- Create a Sage Intacct developer application to obtain a client ID and client secret. Ensure that the application permits the
offline_accessscope so that Sage Intacct issues a refresh token. - Configure the application's redirect URI to match the Flowgear callback URL shown when you connect your account.
- Ensure that the Sage Intacct account used for OAuth has permission to access the required objects, for example, accounts receivable, general ledger, or dimensions.
- If your Sage Intacct tenant restricts IP addresses, allow the Flowgear outbound IP ranges.
- This Node runs on Cloud Runtimes.
Methods
Use the template picker for each method to select a supported Sage Intacct operation. The selected template populates OperationId and the inputs required by that operation.
Get
Retrieves one record by its key. Get templates include only single-record operations and return the complete object supplied by Sage Intacct.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Identifier for the single-record operation selected from the templates. |
Options |
Object | Optional route and query values required by the selected operation, including the record key. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Object | Complete record returned by Sage Intacct. |
List
Lists record references for the selected object. List templates include only collection operations.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Identifier for the collection operation selected from the templates. |
Options |
Object | Optional route and query values required by the selected operation. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Array | Stream of record references returned by Sage Intacct. Collection results typically include fields such as key, id, and href. |
QueryService
Queries a Sage Intacct object and returns the selected fields. Templates are named Query Service - <Object> and populate the available fields from the object metadata.
The Node automatically retrieves subsequent pages in batches of up to 500 records.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Query Service operation identifier populated by the selected template. |
Object |
String | Sage Intacct object to query. |
Fields |
String | Comma-separated list of fields to return. |
Filter |
String | Optional OData-style filter expression. |
CustomParameters |
Object | Values for variables referenced in Filter. Each key must start with @. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Array | Stream of records containing the fields requested in Fields. |
Create
Creates Sage Intacct records. The Node accepts a stream of request objects and sends each record in a separate provider request.
Most create operations have no route values. On the nine operations that take a route value, such as documentName on Order Entry and Purchasing document creates, each item can name its own route value, with Options as the fallback.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Identifier for the create operation selected from the templates. |
Options |
Object | Optional route and query values required by the selected operation. Route values such as documentName are the fallback for items that do not supply their own. |
Items |
Array | Stream of records to create. On routed operations, each item can carry its own documentName or key. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Array | One response for each input record, including provider fields and the normalized Flowgear object with IsSuccess, Message, and Request. |
Update
Updates Sage Intacct records. Select an update template, then map a list of records to Items. Each item names the record it updates, so one Step can update many records without a For Each.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Identifier for the update operation selected from the templates. |
Options |
Object | Route and query values for the selected operation. Route values such as key are the fallback for items that do not supply their own, except on the operations where Options.key routes every item. |
Items |
Array | Records to update. Each item is a JSON object with the fields to change and, optionally, its own key (and documentName on document operations); items without them use Options. On the nine operations where key is writable, an item's key is the record's new key. Required. When Items is not connected, the Step fails with Items was not provided. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Array | Stream with one row per item. A successful row contains the key, id and href that Sage Intacct returns for the record. Every row contains the Flowgear object with IsSuccess, Message and Request, and a failed row can also contain errorCode. |
Delete
Deletes Sage Intacct records. Select a delete template. Connect Items to delete many records in one Step, with each item naming the record it deletes. Fields other than route values are ignored. When Items is not connected, Delete runs once and deletes the record named by Options.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Sage Intacct OAuth Connection. |
OperationId |
String | Identifier for the delete operation selected from the templates. |
Options |
Object | Route and query values for the selected operation. With Items connected, route values such as key are the fallback for items that do not supply their own. With Items not connected, every route value must be set here; otherwise the Step fails with <name> is required in Options. |
Items |
Array | Optional records to delete. Each item is a JSON object that names its record with key (and documentName on document operations); items without them use Options. |
RequestTimeoutSecs |
Integer | Positive timeout for each provider request, including recovery. Defaults to 90 seconds; resets for each page or Create, Update or Delete item. |
| Return | Type | Description |
|---|---|---|
Result |
Array | Stream with one row per item, or one row when Items is not connected. Success or failure is reported through Flowgear.IsSuccess, Flowgear.Message and Flowgear.Request, and a failed row can also contain errorCode. |
Usage Notes
- Use the template picker to select the
OperationIdfor each method. Templates are filtered by operation category. - Every variable used in
Filterneeds a matchingCustomParameterskey that starts with@, for example:
{
"@customerName": "Acme",
"@minimumAmount": 1000
}
- Each
Create,UpdateorDeleteitem can carry its own route values, such askeyordocumentName;Optionsvalues apply to items that do not. - On the nine update operations where
keyis a writable field, such as Accounts Payable bill lines and Order Entry document lines,Options.keynames the record to update and an item'skeysets the record's new key. - Query errors fail the Step. Empty query results return no rows. When a later page fails, the rows already returned are still visible, so let the whole query finish before a dependent financial write.
- When Sage Intacct rejects a
Create,UpdateorDeleteitem, including an authentication rejection, the item returnsFlowgear.IsSuccessset tofalsewith Sage Intacct's message inFlowgear.Message, and later items still run. A timeout, a connection failure, a response Sage Intacct accepts without confirming completion, or an unrecognised error response fails the Step instead, and earlier items are already saved. - When the refresh token is invalid or expired, the Connection test reports "The refresh token is invalid or has expired. Reconnect your account to continue." Reconnect the account on the Connection.
- Writes are not retried. If a Step fails or times out, check in Sage Intacct whether the record was created or changed before you run it again.
- From version 0.2.0.1,
UpdateandDeletereturn oneResultrow per item. Refresh the template and update Steps that read a singleResultobject. On the nine routedCreateoperations, an item'sdocumentNameorkeynow chooses the record or document for that item instead of being sent in the body.DeletewithoutItemsnow fails when anOptionsroute value is missing.