Actions13
- Speech Actions
- Voice Actions
- History Actions
- User Actions
Overview
The "Get User Subscription" operation in the ElevenLabs n8n node retrieves information about a user's subscription from the ElevenLabs API. This is useful for automating workflows that need to check or display a user's current subscription status, such as monitoring usage limits, billing automation, or providing user-specific features based on their subscription tier.
Example scenarios:
- Automatically alerting users when they are close to their subscription limits.
- Integrating subscription data into dashboards or reports.
- Triggering actions (e.g., upgrades, notifications) based on subscription changes.
Properties
| Display Name | Type | Meaning |
|---|---|---|
| This node is currently in BETA and under active development. ... |
notice | Informational notice about the node's beta status, links for more info, and update notes. No input required from the user for this property. |
Note: For this operation, there are no additional user-configurable input properties beyond the informational notice.
Output
The output will be a JSON object containing details about the user's subscription. While the exact structure is not shown in the provided code, typical fields may include:
{
"tier": "string",
"status": "active",
"renewalDate": "2024-07-01T00:00:00Z",
"limits": {
"characters": 100000,
"used": 50000
},
...
}
- tier: The subscription plan name or level.
- status: Current status of the subscription (e.g., active, cancelled).
- renewalDate: When the subscription will renew.
- limits: Usage limits and current usage.
Actual field names and structure may vary depending on the ElevenLabs API response.
Dependencies
- External Service: Requires access to the ElevenLabs API.
- API Key: You must configure valid ElevenLabs API credentials in n8n (credential type:
elevenLabsApi). - n8n Configuration: No special environment variables needed beyond standard credential setup.
Troubleshooting
Common issues:
- Invalid or missing API key: Ensure your ElevenLabs API credentials are correctly set up in n8n.
- API rate limits or quota exceeded: If you hit usage limits, check your subscription status and upgrade if necessary.
- Network errors or service downtime: Verify connectivity to https://api.elevenlabs.io/v1.
Possible error messages:
"401 Unauthorized": Check your API key and permissions."403 Forbidden": Your account may lack access to subscription data."429 Too Many Requests": You have exceeded the allowed number of API calls; wait and retry later.