Actions43
- Location Groups Actions
- Locations Actions
- Roles Actions
- User Groups Actions
- Users Actions
- Affiliate Entity Groups Actions
- Attachments Actions
- Classes Actions
- Contacts Actions
- Department Groups Actions
- Departments Actions
- Document Sequences Actions
- Earning Types Actions
- Email Templates Actions
- Employee Types Actions
- Employees Actions
- Entities Actions
- Exchange Rate Lines Actions
- Exchange Rate Types Actions
- Exchange Rates Actions
- Attachment Folders Actions
- Get Next Value Actions
Overview
This node enables creating an "Affiliate Entity Group" within a company configuration context, specifically for Sage Intacct via the AvantGuard integration. It allows users to define groups of affiliate entities by specifying identifiers, names, and detailed membership criteria or explicit members.
Common scenarios where this node is beneficial include:
- Organizing affiliate entities into logical groups for reporting or operational purposes.
- Creating dimension structures that can be used as rows or columns in financial reports.
- Filtering affiliate entities dynamically based on attributes such as status, total due, or name patterns.
- Managing complex affiliate entity memberships either by specifying exact members or by applying filters to include all matching entities.
Practical example: A finance team wants to create a group called "MariposaBusinessEntities" containing specific active vendors with outstanding balances over $1000 whose names contain "Acme". This group can then be used in financial reports to analyze payables related to these affiliates.
Properties
| Name | Meaning |
|---|---|
| Id | Unique identifier for the affiliate entity group. |
| Name | Name for the affiliate entity group. |
| Additional Body Fields | Optional additional fields to customize the affiliate entity group: - Key: System-assigned unique key. - Href: URL endpoint for the group. - Description: Text description. - Group Type: Membership type, options are: - specific: Specify exact members and their order.- all: Include all entities matching the member filter.- Member Filter: JSON object defining criteria to select members when groupType is all. Includes filters, ordering, size, etc.- Group Members: JSON array listing specific members when groupType is specific.- Is Dimension Structure: Boolean indicating if the group forms a dimension structure usable in financial report rows/columns. - Audit: JSON object with audit metadata like creation/modification timestamps and user IDs. |
Output
The node outputs JSON data representing the created affiliate entity group as returned by the API. The output includes all properties sent in the request along with any additional metadata or system-generated fields provided by the backend.
If binary data were involved (not indicated here), it would typically represent files or attachments related to the entity group, but this node focuses solely on JSON structured data.
Dependencies
- Requires an API key credential for authenticating with the AvantGuard Sage Intacct Company Configuration API.
- The base URL for the API must be configured in the credentials.
- Uses the
@avantguardllc/n8n-openapi-nodepackage and an OpenAPI specification (openapi.json) bundled with the node for request building and validation.
Troubleshooting
- Authentication errors: Ensure the API key credential is correctly set up and has necessary permissions.
- Validation errors: Required fields like
IdandNamemust be provided; ensure JSON fields likememberFilterandgroupMembersare valid JSON strings. - Incorrect group membership: When using
groupType=all, verify thememberFilterJSON accurately reflects intended filters; syntax errors or invalid filter expressions may cause unexpected results. - API endpoint issues: Confirm the base URL in credentials is correct and accessible.
- Unexpected response structure: Check if the API version or schema has changed; update the node or OpenAPI spec accordingly.
Links and References
- Sage Intacct API Documentation
- AvantGuard n8n Integration Documentation
- JSON Filter Syntax Guide (for constructing
memberFilterexpressions)