Actions524
- AI Helper Actions
- Tool Actions
- API Threshold Actions
- Appointment Actions
- Billing Code Actions
- Billing Items Actions
- Change Request Link Actions
- Checklist Library Actions
- Checklist Library Item Actions
- Classification Icon Actions
- Company Actions
- Company Alert Actions
- Company Location Actions
- Company Note Actions
- Company Webhook Actions
- Company Site Configuration Actions
- Configuration Item Actions
- Configuration Item Billing Product Association 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
- Contact Actions
- Contact Webhook Actions
- Contact Groups Actions
- Contact Group Contacts Actions
- Contract Actions
- Contract Block Actions
- Contract Block Hour Factor Actions
- Contract Billing Rule Actions
- Contract Charge Actions
- Contract Exclusion Billing Code 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 Rate Actions
- Contract Role Costs Actions
- Contract Retainer Actions
- Contract Service Actions
- Contract Service Adjustment Actions
- Contract Service Bundle Adjustment Actions
- Contract Service Bundle Actions
- Contract Service Bundle Unit Actions
- Contract Ticket Purchase Actions
- Department Actions
- Project Phase Actions
- Quote Item Actions
- Quote Location Actions
- Quote Template Actions
- Resource Actions
- Resource Role Actions
- Resource Role Queue Actions
- Search Filter Actions
- Service Actions
- Service Call Actions
- Subscription Actions
- Subscription Period Actions
- Ticket Category Actions
- Ticket Category Field Default Actions
- Ticket History Actions
- Ticket Note Actions
Search Filter → Dynamic Build
AI-generatedOverview
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/OR) and multiple conditions. Each condition can specify a field, operator, value type, and value, enabling precise and flexible filtering of data. This is useful for automating data retrieval based on custom criteria in Autotask, such as filtering tickets, companies, or other entities by various attributes.
Use Case Examples
- Build a filter to find tickets where the status equals 'Open' and priority is greater than 2.
- Create a filter group to search companies with a specific user-defined field (UDF) value and location.
- Dynamically construct filters for projects based on start date and project manager.
Properties
| Name | Meaning |
|---|---|
| Entity Type Name or ID | The entity type to build a filter for. Users can select from a list or specify an ID using an expression. |
| Filter Groups | Groups of filters combined with logical operators. Each group contains conditions specifying fields, operators, and values to filter the data dynamically. |
Output
JSON
filter- The dynamically built filter structure representing the filter groups and conditions for querying the specified entity type.
Dependencies
- Requires an API key credential for Autotask API authentication.
Troubleshooting
- Ensure the entity type is valid and supported by the Autotask API.
- Use the correct field names or IDs, especially for user-defined fields (UDFs) which are prefixed with 'UDF:'.
- When using 'In List' or 'Not In List' operators, ensure the value type is set to 'Array' and values are comma-separated.
- Date values should be correctly formatted and timezone settings considered if applicable.
- Logical operators and filter groupings must be correctly structured to avoid invalid filter errors.
Links
- Autotask REST API Documentation - Official documentation for Autotask REST API, useful for understanding entity types and fields.
- n8n Autotask Node GitHub Repository - Source code and additional information about the Autotask node for n8n.