Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to interact programmatically with various Dataiku DSS resources and operations. Specifically for the Macro resource and the Get Run Macro Results operation, it allows retrieving the results of a previously executed macro run within a specified project.

Common scenarios where this node is beneficial include:

  • Automating workflows that depend on the output of macros in Dataiku DSS.
  • Integrating macro execution results into broader data pipelines or reporting systems.
  • Monitoring and fetching macro run outputs for auditing or further processing.

For example, after triggering a macro run in Dataiku DSS, you can use this node to fetch the results of that run automatically and use them downstream in your n8n workflow.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku DSS project containing the macro.
Run The identifier of the specific macro run whose results you want to retrieve.
Runnable Type The type of runnable entity (e.g., macro) to specify which kind of run results to get.

These properties are required to construct the API request URL to fetch the macro run results.

Output

The node outputs the result of the macro run in the json field of the output data. This typically contains the JSON-parsed response from the Dataiku DSS API representing the macro run results.

If the API returns binary data (not typical for this operation), the node would provide it as binary data prepared for further use in n8n workflows.

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 set up in n8n.
  • Required Parameter Errors: The node validates required parameters such as Project Key, Runnable Type, and Run ID. Missing any of these will cause an error. Double-check that all required inputs are provided.
  • API Request Failures: Network issues, incorrect project keys, or invalid run IDs may cause API errors. Verify the correctness of input values and network connectivity.
  • Parsing Errors: If the API response is not valid JSON, the node attempts to return raw text. Unexpected response formats might require checking the API endpoint or permissions.

Links and References


This summary focuses on the "Macro" resource and the "Get Run Macro Results" operation as requested, based on static analysis of the provided source code and property definitions.

Discussion