Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on Dataiku DSS resources directly from n8n workflows. Specifically for the Dataset resource and the Create Dataset operation, it allows creating new datasets within a specified project in Dataiku DSS.

Common scenarios where this node is beneficial include automating dataset creation as part of data pipeline orchestration, integrating dataset management into broader ETL workflows, or programmatically managing datasets based on external triggers or events.

For example, you might use this node to automatically create a dataset in a Dataiku project when new data arrives, or as part of a deployment process that sets up required datasets before running recipes or models.

Properties

Name Meaning
Project Key The key identifier of the Dataiku project where the dataset will be created.
Request Body JSON object containing the dataset configuration details required by the Dataiku API.
  • Project Key: Specifies the target project in Dataiku DSS.
  • Request Body: A JSON structure defining the dataset's properties such as its name, type, connection details, schema, and other settings as per Dataiku DSS API requirements for dataset creation.

Output

The node outputs the response from the Dataiku DSS API after attempting to create the dataset. The output is structured as JSON and typically contains information about the newly created dataset or error details if the creation failed.

  • The json field includes the parsed JSON response from the API.
  • If the API returns binary data (not typical for dataset creation), it would be provided in the binary field, but this operation primarily deals with JSON responses.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs valid API credentials (an API key) for authentication with the Dataiku DSS server.
  • 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 "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n.
  • Required Parameters Missing: Errors like "Project Key is required" indicate that mandatory input parameters are not provided. Verify that all required fields are filled.
  • API Errors: If the API call fails, the node throws an error with the message prefixed by "Error calling Dataiku DSS API." Check the stack trace and ensure the request body conforms to the Dataiku API specification.
  • Invalid JSON in Request Body: Ensure the JSON provided in the Request Body property is valid and matches the expected schema for dataset creation.

Links and References


This summary focuses on the Dataset resource with the Create Dataset operation, describing how the node constructs the API request, handles inputs, and processes outputs accordingly.

Discussion