Actions389
- Contract Actions
- Ticket History Actions
- Ticket Note Webhook Actions
- Ticket Note Actions
- Ticket Webhook Actions
- Time Entry Actions
- Resource Actions
- Role Actions
- Resource Role Actions
- Search Filter Actions
- Service Actions
- Skill Actions
- Service Call Actions
- Survey Results Actions
- Survey Actions
- Ticket Actions
- Opportunity Actions
- Notification History Actions
- Invoice Actions
- Product Actions
- Product Vendor Actions
- Project Actions
- Project Charge Actions
- Project Phase Actions
- Project Task Actions
- Project Note Actions
- Contract Retainer Actions
- Contract Service Actions
- Contract Service Adjustment Actions
- Contract Service Bundle Actions
- Contract Service Bundle Unit Actions
- Contract Service Bundle Adjustment Actions
- Contract Ticket Purchase Actions
- Contract Service Unit Actions
- Domain Registrar Actions
- Holiday Actions
- Holiday Set Actions
- Contract Exclusion Billing Code Actions
- Contract Rate Actions
- Contract Exclusion Role Actions
- Contract Exclusion Sets Actions
- Contract Exclusion Set Excluded Role Actions
- Contract Exclusion Set Excluded Work Type Actions
- Contract Milestone Actions
- Contract Note Actions
- Contract Role Costs Actions
- Contact Groups Actions
- Contact Actions
- Contact Webhook Actions
- Contact Group Contacts Actions
- Contract Block Hour Factor Actions
- Contract Block Actions
- Contract Billing Rule Actions
- Contract Charge Actions
- Configuration Item Category Actions
- Configuration Item Category UDF Association Actions
- Configuration Item DNS Record Actions
- Configuration Item Note Actions
- Configuration Item Related Item Actions
- Configuration Item SSL Subject Alternative Name Actions
- Configuration Item Type Actions
- Configuration Item Webhook Actions
- Company Alert Actions
- Company Actions
- Billing Code Actions
- Company Location Actions
- Company Note Actions
- Company Webhook Actions
- Configuration Item Actions
- Configuration Item Billing Product Association Actions
Overview
This node operation dynamically builds search filters for querying entities in the Autotask API. It allows users to specify an entity type and construct complex filter groups with logical operators and multiple conditions. This is useful for creating precise queries to retrieve data matching specific criteria from Autotask, such as filtering tickets, projects, or contacts based on various fields and user-defined fields (UDFs). For example, a user can build a filter to find all tickets with a status of 'Open' and priority greater than 2, or all projects created after a certain date.
Properties
| Name | Meaning |
|---|---|
| Entity Type Name or ID | Specifies the Autotask entity type to build the filter for, either by selecting from a list or providing an ID via expression. |
| Filter Groups | Defines one or more groups of filter conditions combined with logical operators (AND/OR). Each group contains multiple conditions specifying field, operator, value type, and value to filter the data. |
Output
JSON
filter- The constructed filter object representing the dynamic search filter groups and conditions, formatted for use in Autotask API queries.
Dependencies
- Requires an authenticated connection to the Autotask REST API via an API key credential.
Troubleshooting
- Ensure the 'Entity Type Name or ID' is valid and corresponds to a queryable entity in Autotask; invalid entity types will cause errors.
- When building filter groups, only one user-defined field (UDF) can be queried at a time; attempting multiple UDFs may cause API errors.
- Date values are converted to UTC based on credential timezone settings; incorrect timezone configuration may lead to unexpected filter results.
- Operators must be compatible with the field type; for example, 'Contains' is valid for string fields but not for numeric fields.
- If dynamic loading of entity types or fields fails, check network connectivity and API credentials validity.
Links
- n8n Autotask Node Documentation - Official documentation for the Autotask node in n8n, including usage and configuration details.
- Autotask REST API Documentation - Official Autotask REST API documentation describing entities, fields, and query filters.