Overview
This node interacts with the Synthflow AI API to manage voice agents and calls. Specifically, the 'Delete Agent' operation deletes a Synthflow agent identified by its model ID. This node is useful for automating the management of AI voice agents, such as removing outdated or unused agents from your workspace.
Use Case Examples
- Deleting a Synthflow AI voice agent by providing its unique model ID to free up resources or clean up your workspace.
- Automating agent lifecycle management in a call center environment by programmatically deleting agents no longer needed.
Properties
| Name | Meaning |
|---|---|
| Agent Model ID | The unique identifier (model_id) of the Synthflow agent to be deleted, required to specify which agent to remove. |
Output
JSON
json- The JSON response from the Synthflow API after attempting to delete the agent, typically confirming deletion or providing status information.
Dependencies
- Requires an API key credential for Synthflow API authentication to authorize requests.
Troubleshooting
- Ensure the 'Agent Model ID' is correct and corresponds to an existing agent; otherwise, the API may return an error indicating the agent was not found.
- Check that the API key credential is valid and has sufficient permissions to delete agents.
- If the node throws an 'Invalid JSON' error, verify that any JSON input fields (not applicable for delete operation) are correctly formatted.
Links
- Synthflow API - Delete Assistant - Official API documentation for deleting a Synthflow assistant (agent) which this node operation uses.