Actions57
- Agents Actions
- Public Answer Actions
- Answer Management Actions
- Communications Actions
- Customers Actions
- Conversations Actions
- Get Conversations
- Get Conversation
- Patch Conversation
- Create Item
- Get Item
- Delete Item
- Get Media
- Get Voice Transcript
- Create Customer Item
- Delete Customer Item
- Get Conversation Items
- Add Topic To Conversation
- Delete Topic From Conversation
- Add Note To Conversation
- Get Note From Conversation
- Reply To Message
- Redact Content
- Export Actions
- Freeform Topics Actions
- Message Automation Actions
- Proactive Conversations Actions
- Tasks Actions
- User Identity Actions
- Topics Actions
- Webhooks Actions
- Payloads Actions
Overview
The "Update Answer" operation in the "Answer Management" resource allows users to modify an existing answer's details within a customer support or knowledge base system. This node is useful for keeping answers up-to-date, improving clarity, or changing the audience targeting of specific answers.
Typical use cases include:
- Updating the title or name of a help article or canned response.
- Modifying the description to provide agents with better context.
- Changing which customer segments (audiences) can see the answer.
For example, if a password reset procedure changes, you can update the answer's name and description accordingly, ensuring agents always have the latest information.
Properties
| Name | Meaning |
|---|---|
| Answer Id | The unique identifier of the answer to update. This is required to specify which answer will be modified. |
| Name | The new customer-facing name/title of the answer. |
| Description | A detailed description providing more information about the answer, visible to agents during search. Only applicable for email and messaging types. |
| Audience Ids | A JSON array of audience IDs that should be associated with the answer. Updating this replaces all existing audience associations. |
Output
The node outputs JSON data representing the updated answer object as returned by the API. This typically includes the updated fields such as the answer ID, name, description, and associated audience IDs.
No binary data output is indicated.
Dependencies
- Requires access to the Gladly API endpoint for managing answers.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The base URL used in the bundled code is a placeholder (
https://petstore3.swagger.io/api/v3), so it must be replaced with the actual Gladly API endpoint in production.
Troubleshooting
- Invalid Answer Id: If the provided Answer Id does not exist, the API will likely return a "not found" error. Verify the ID before updating.
- Malformed Audience Ids JSON: The Audience Ids property expects valid JSON. Improper formatting will cause parsing errors. Ensure the JSON array syntax is correct.
- Missing Required Fields: The Answer Id is mandatory. Omitting it will prevent the update from proceeding.
- API Authentication Errors: Ensure the API key or token is correctly set up in n8n credentials; otherwise, authorization failures will occur.
- Unsupported Content Types: The Description field only applies to email and messaging content types. Using it with other types may have no effect or cause errors.
Links and References
- Gladly API Documentation (for Answers): https://developer.gladly.com/reference/answers
- JSON Array Syntax Guide: https://www.json.org/json-en.html