Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to interact programmatically with various Dataiku DSS resources. Specifically for the Scenario resource and the Get Scenario Payload operation, the node retrieves the payload data of a specified scenario within a project.

Use cases include:

  • Automating retrieval of scenario configurations or payloads for auditing or monitoring.
  • Integrating scenario payload data into workflows for further processing or decision-making.
  • Fetching scenario payloads dynamically as part of larger automation pipelines in n8n.

Example: You want to fetch the current payload configuration of a scenario identified by its ID in a given project to verify or log its settings before triggering it.

Properties

Name Meaning
Project Key The unique key identifying the Dataiku DSS project containing the scenario.
Scenario ID The unique identifier of the scenario whose payload you want to retrieve.

Output

The node outputs the JSON response from the Dataiku DSS API corresponding to the scenario's payload. This typically includes all the configuration details and parameters defining the scenario's execution context.

Output structure example (simplified):

{
  "payload": {
    // scenario-specific payload data fields here
  }
}

No binary data output is involved for this operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The node constructs HTTP requests to the Dataiku DSS REST API endpoints based on user input.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not set or invalid, the node will throw an error indicating missing credentials. Ensure that the API key/token is correctly configured.
  • Required Parameter Missing: Errors like "Project Key is required" or "Scenario Key is required" indicate that mandatory inputs were not provided. Double-check that these properties are filled.
  • API Request Failures: Network issues, incorrect project or scenario IDs, or insufficient permissions can cause API call failures. Verify connectivity, IDs, and user permissions in Dataiku DSS.
  • Parsing Errors: If the API returns unexpected data formats, the node might fail to parse JSON. Check the API response and ensure the scenario exists and is accessible.

Links and References


This summary focuses on the Scenario resource's Get Scenario Payload operation as requested, describing its purpose, inputs, outputs, and common considerations.

Discussion