Overview
The node integrates with the Prompticus API to manage "Prompt" resources. Specifically, the Delete operation for the Prompt resource allows users to remove a prompt identified by its GUID (Globally Unique Identifier). This is useful in scenarios where prompts are no longer needed or must be cleaned up from the system.
Practical examples include:
- Automatically deleting outdated or unused prompts as part of a workflow.
- Managing prompt lifecycle by removing test or temporary prompts after processing.
- Cleaning up prompts based on external triggers or conditions within an automation.
Properties
| Name | Meaning |
|---|---|
| GUID | The unique identifier (GUID) of the prompt to delete. This is required to specify which prompt should be removed. |
Output
The output JSON typically contains the response from the Prompticus API confirming the deletion status of the specified prompt. It may include success confirmation or error details if the deletion failed.
No binary data output is expected from this operation.
Dependencies
- Requires an API access token credential for the Prompticus service.
- The node communicates with the Prompticus API endpoint at
https://api.promptic.us/v1. - Proper configuration of the API key credential in n8n is necessary for authentication.
Troubleshooting
Common issues:
- Providing an invalid or empty GUID will cause the deletion to fail.
- Missing or incorrect API credentials will result in authentication errors.
- Network connectivity problems can prevent communication with the Prompticus API.
Error messages and resolutions:
- "Unauthorized" or "Authentication failed": Verify that the API access token is correctly configured and valid.
- "Prompt not found": Check that the GUID provided corresponds to an existing prompt.
- "Invalid GUID format": Ensure the GUID string is correctly formatted.
- Timeouts or network errors: Confirm internet connectivity and that the Prompticus API endpoint is reachable.
Links and References
- Prompticus API Documentation (Assumed URL for reference)
- n8n documentation on API Credentials