OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

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.

Discussion