Actions8
Chatbot → Update Base Prompt
AI-generatedOverview
This node updates the base prompt of a specified chatbot. It is useful when you want to change the foundational prompt that guides the chatbot's behavior or responses. For example, you might update the base prompt to refine the chatbot's tone, style, or the type of information it provides.
Use Case Examples
- Updating the base prompt to make the chatbot more formal.
- Changing the base prompt to focus the chatbot on customer support queries.
Properties
| Name | Meaning |
|---|---|
| Chatbot Name or ID | The identifier of the chatbot whose base prompt is to be updated. It can be selected from a list or specified using an expression. |
| Base Prompt | The new base prompt text to set for the chatbot, which defines its foundational behavior and response style. |
Output
JSON
success- Indicates if the update operation was successful (true/false).chatbotId- The ID of the chatbot that was updated.message- Any message returned from the API regarding the update operation.
Dependencies
- Requires an API key credential for authentication to the ChatData API service.
Troubleshooting
- Ensure the chatbot ID is valid and exists; otherwise, the API will return an error.
- The base prompt must be a non-empty string; empty prompts may cause the API to reject the request.
- Check that the API credentials (base URL and API key) are correctly configured to avoid authentication errors.
- If the API returns an error status, the node throws an error with the message from the API response.