AdBlast icon

AdBlast

Interact with AdBlast API

Actions56

Overview

This node allows users to update an existing environment within a project on the AdBlast platform via its API. It is useful for scenarios where you want to programmatically modify environment details such as its description prompt or processing status. For example, you might update the environment's prompt to reflect new configuration changes or toggle the processing flag to indicate whether the environment image generation is in progress.

Properties

Name Meaning
Authentication Method Choose between using saved API credentials or entering an API key dynamically via expressions.
AdBlast Base URL The base URL of the AdBlast API (required if using dynamic API key authentication).
API Key The API key for authenticating requests to AdBlast, can be set dynamically with expressions.
Project Id The unique identifier of the project containing the environment to update.
Environment Id The unique identifier of the environment to update.
Prompt A text description or prompt for the environment, used to describe or configure it.
Processing Boolean flag indicating whether the environment image is currently generating (true) or not (false).

Output

The node outputs JSON data representing the updated environment object returned by the AdBlast API after the update operation. This typically includes the environment's current state, including any changes made to the prompt or processing status.

If the API supports binary data output (not indicated here), it would represent related environment assets or images, but this node primarily deals with JSON responses.

Dependencies

  • Requires access to the AdBlast API.
  • Needs either:
    • Saved API credentials configured in n8n, or
    • Dynamic entry of the API key and base URL at runtime.
  • Proper network connectivity to the specified AdBlast API base URL.

Troubleshooting

  • Authentication errors: Ensure that the API key is valid and has sufficient permissions. If using dynamic API keys, verify the expression correctly resolves to a valid key.
  • Invalid Project or Environment IDs: Confirm that the provided IDs exist and are correct; otherwise, the API will return errors about missing resources.
  • Network issues: Check connectivity to the AdBlast API base URL and ensure no firewall or proxy blocks the request.
  • API response errors: Review the error message from the API for details; common issues include malformed prompts or invalid boolean values for processing.

Links and References

Discussion