Overview
The node provides integration with the Prompticus API, specifically allowing users to update an existing prompt by its GUID. This operation is useful when you want to modify the details of a stored prompt such as its title, description, or body text. Typical use cases include managing dynamic prompt templates for AI models, updating instructions or context in prompts, and maintaining organized prompt libraries.
For example, if you have a prompt template used for generating customer support responses, you can update its wording or variables without creating a new prompt from scratch.
Properties
| Name | Meaning |
|---|---|
| GUID | The unique identifier (GUID) of the prompt you want to update. |
| Title | The new title for the prompt. |
| Description | A brief description explaining what the prompt does or its intended purpose. |
| Body | The full prompt text including any variables or instructions, using mustache syntax for variables. |
Output
The node outputs JSON data representing the updated prompt object returned by the Prompticus API. This typically includes the updated fields such as GUID, title, description, body, timestamps, and possibly metadata about the prompt.
If the node supports binary data output, it would generally relate to attachments or files associated with the prompt, but based on the provided code and properties, this node focuses on JSON data only.
Dependencies
- Requires an API key credential for authenticating with the Prompticus API.
- The base URL for API requests is
https://api.promptic.us/v1. - The node expects JSON content type for requests and responses.
- Proper configuration of the API access token within n8n credentials is necessary.
Troubleshooting
- Invalid GUID error: Ensure the GUID provided corresponds to an existing prompt in your Prompticus account.
- Authentication errors: Verify that the API key credential is correctly set up and has not expired or been revoked.
- Validation errors: All required fields (GUID, Title, Description, Body) must be provided; missing or empty values may cause the API to reject the request.
- Network issues: Confirm network connectivity to
https://api.promptic.usand that no firewall or proxy blocks the requests.
Links and References
- Prompticus API Documentation (hypothetical link, replace with actual if available)
- Mustache templating syntax: https://mustache.github.io/mustache.5.html