Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node allows you to create a new query in the "Queries" resource of the connected service. It is useful when you want to programmatically define and save queries for later use or automation workflows. For example, you might use this node to create custom filters or reports dynamically based on user input or other workflow data.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the query to be created. This is a string value that identifies the query. |
Output
The node outputs JSON data representing the newly created query object as returned by the API. This typically includes details such as the query's ID, name, and any other metadata provided by the service. There is no binary output.
Dependencies
- Requires an API key credential to authenticate with the external service.
- The base URL for the API must be configured in the node credentials.
- The node uses standard HTTP headers for JSON content type.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause authentication errors.
- Providing an empty or invalid query name may result in validation errors from the API.
- Network connectivity problems can prevent the node from reaching the API endpoint.
Error messages:
- Authentication failures usually indicate incorrect or missing API keys.
- Validation errors from the API often specify which property is invalid or missing.
- Timeout or connection errors suggest network issues or incorrect base URL configuration.
Links and References
- Refer to the official API documentation of the connected service for detailed information about query creation endpoints and required parameters.
- n8n documentation on creating and using credentials for API authentication.