Actions6
Overview
This node integrates with the CV CRM API to manage and retrieve information about leads. Specifically, for the "Lead" resource and the "Get Queue Attendants" operation, it fetches attendants associated with distribution queues in the lead management system. This is useful for scenarios where you want to identify or filter queue attendants by tags, helping to organize or monitor who is handling leads in different distribution queues.
Practical examples include:
- Retrieving a list of attendants tagged with a specific skill or role to assign leads accordingly.
- Filtering attendants by custom tags to generate reports or dashboards on queue performance.
Properties
| Name | Meaning |
|---|---|
| Tag | A string used to filter queue attendants by a specific tag. If provided, only attendants matching this tag will be returned. |
Output
The output is a JSON array containing the data returned from the CV CRM API endpoint /api/v1/comercial/filas-distribuicao-leads/atendentes. Each item represents an attendant in the distribution queues, potentially filtered by the specified tag. The exact structure depends on the API response but typically includes attendant details such as ID, name, status, and associated tags.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the CV CRM API.
- The node expects the CV CRM API domain to be configured in the credentials.
- Network access to the CV CRM API endpoints is necessary.
Troubleshooting
Common issues:
- Invalid or missing API token: The node will fail to authenticate; ensure the API key credential is correctly set up.
- Incorrect domain configuration: The API domain must include the protocol (https://) or the node prepends it automatically; verify the domain is correct.
- Empty or invalid tag filter: If the tag does not match any attendants, the result may be empty.
Error messages:
- HTTP 401 Unauthorized: Check that the API token is valid and has sufficient permissions.
- HTTP 404 Not Found: Verify the API endpoint and domain are correct.
- Network errors/timeouts: Ensure network connectivity to the CV CRM API.
Links and References
- CV CRM API documentation (not provided in source code; consult your CV CRM API provider)
- n8n documentation on creating and using API credentials
- General REST API usage guidelines