Actions26
- Agent Actions
- Conversation Actions
- Knowledge Base Actions
- Phone Actions
- Voice Actions
Agent → Get
AI-generatedOverview
This node integrates with the ElevenLabs Conversational AI API, allowing users to manage and interact with conversational agents, voices, conversations, knowledge bases, and phone-related features. Specifically, for the Agent - Get operation, it retrieves detailed information about a specific agent by its ID. This is useful when you want to fetch the configuration or status of an existing conversational agent within your workflows.
Practical examples include:
- Fetching an agent's details to display or log them.
- Using the agent's data to conditionally branch workflow logic.
- Verifying agent existence before performing updates or deletions.
Properties
| Name | Meaning |
|---|---|
| Agent ID | The unique identifier of the agent to retrieve. This is required to specify which agent to get. |
Output
The output contains a JSON object representing the retrieved agent's details. This typically includes all properties defining the agent such as its name, language, system prompt, voice settings, and any additional configurations stored in the ElevenLabs platform.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the ElevenLabs Conversational AI API.
- Needs an API key credential configured in n8n to authenticate requests.
- The node depends on internal service modules that handle API calls for agents (
AgentService).
Troubleshooting
Common issues:
- Providing an invalid or non-existent Agent ID will likely result in an error indicating the agent was not found.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent successful API calls.
Error messages and resolutions:
"Agent not found": Verify the Agent ID is correct and exists in your ElevenLabs account."Authentication failed": Check that the API key credential is correctly set up and has necessary permissions.- Timeout or network errors: Ensure your environment has internet access and the ElevenLabs API endpoint is reachable.
Links and References
- ElevenLabs Conversational AI Documentation (general reference for API capabilities)
- ElevenLabs Dashboard (for managing agents and retrieving Agent IDs)