Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform a wide range of operations on various Dataiku DSS resources. Specifically for the Project resource and the Get Project Variables operation, it retrieves the project-level variables (key-value pairs) defined within a specified project in Dataiku DSS.

Common scenarios where this node is beneficial include:

  • Automating workflows that require fetching configuration or environment variables set at the project level.
  • Integrating project metadata into other systems or processes.
  • Dynamically adjusting downstream processing based on project variables.

Practical example:

  • A user wants to retrieve all variables defined in a Dataiku DSS project to pass them as parameters to another system or to use them in conditional logic within an n8n workflow.

Properties

Name Meaning
Project Key The unique identifier key of the Dataiku DSS project from which to retrieve variables.

Output

The output JSON contains the project variables retrieved from the specified project. The structure corresponds directly to the response from the Dataiku DSS API endpoint for project variables, typically a dictionary or object mapping variable names to their values.

If the node is used with other operations or resources, the output will vary accordingly, but for the "Get Project Variables" operation, expect a JSON object representing the project's variables.

No binary data output is associated with this specific operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key token) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly configured in n8n.
  • Project Key Required: The operation requires a valid project key; if omitted or incorrect, the node will throw an error indicating the missing project key.
  • API Request Failures: Network issues, invalid API keys, or insufficient permissions can cause API request failures. Check connectivity, credential validity, and user permissions on the Dataiku DSS instance.
  • Unexpected Response Format: If the API response cannot be parsed as JSON, verify that the Dataiku DSS server is responding correctly and that the API version is compatible.

Links and References

Discussion