Actions41
- Companies Actions
- Search companies
- Search companies (POST)
- Enrich company
- Search companies by name
- Search companies by prompt
- Search similar companies
- Count companies
- Count companies (POST)
- Enrich company by email
- Enrich company by social
- Get email patterns
- Ask company
- Get company context
- Fetch companies analytics
- Export companies analytics
- Lists Actions
- Locations Actions
- Business data Actions
- Actions Actions
- Prompts Actions
- Utilities Actions
Overview
This node allows users to delete a specific prompt from The Companies API service. It is useful in scenarios where you want to manage or clean up stored prompts, for example, removing outdated or incorrect prompts that are no longer needed. Practical applications include automating prompt lifecycle management or integrating prompt deletion as part of a larger workflow that maintains prompt data hygiene.
Properties
| Name | Meaning |
|---|---|
| Prompt ID | The unique numeric identifier of the prompt to be deleted |
Output
The node outputs JSON data representing the response from the API after attempting to delete the prompt. This typically includes confirmation of deletion or details about the deleted prompt. If an error occurs, the output JSON will contain an error message describing the issue.
No binary data output is produced by this operation.
Dependencies
- Requires an API token credential for authenticating with The Companies API.
- Depends on The Companies API SDK to perform the delete operation.
- The node expects the API token to be configured in n8n credentials before execution.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Prompt ID may result in an error from the API indicating the prompt could not be found.
- Missing or invalid API token credential will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages and resolutions:
"Unknown operation: deletePrompt": Indicates the operation name is incorrect or unsupported; ensure the operation parameter is set exactly to "deletePrompt".- SDK method not found errors suggest a mismatch between the SDK version and the node implementation; updating the SDK or node might be necessary.
- API errors returned in the JSON output usually include descriptive messages; verify the Prompt ID and API token validity.
Links and References
- The Companies API Documentation (for detailed API usage and prompt management)
- n8n Documentation (for general guidance on using credentials and custom nodes)