Actions32
- Mensagem Actions
- Contato Actions
- Ticket Actions
- Setor Actions
- Tag Actions
- WhatsApp Actions
- Sessão WhatsApp Actions
Overview
This node integrates with the Press Ticket® API to manage various resources such as messages, contacts, tickets, queues (sectors), tags, WhatsApp connections, and WhatsApp sessions. Specifically for the Setor (Queue) resource with the Excluir (Delete) operation, it allows users to delete a queue (sector) by its ID.
Common scenarios where this node is beneficial include automating customer support workflows, managing contact lists, handling support tickets, and administrating communication channels like WhatsApp. For example, a user can automate the deletion of an obsolete or incorrect sector in their support system by providing the sector's ID.
Properties
| Name | Meaning |
|---|---|
| ID do Setor | The unique identifier of the sector (queue) to be deleted |
Output
The output is a JSON array containing the response from the Press Ticket® API after attempting to delete the specified sector. Typically, this will include confirmation of deletion or details about any error encountered.
Example output structure:
[
{
"success": true,
"message": "Queue deleted successfully",
// ... other possible response fields
}
]
If the deletion fails, the output will contain an error message describing the issue.
Dependencies
- Requires an active connection to the Press Ticket® API.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The node uses HTTP methods (DELETE) to interact with the API endpoint
/v1/queue/{queueId}.
Troubleshooting
Common issues:
- Providing an invalid or non-existent
queueIdwill result in an error from the API. - Missing or incorrect API authentication token will cause authorization failures.
- Network connectivity problems may prevent successful API calls.
- Providing an invalid or non-existent
Error messages:
"Formato de resposta inválido ao listar setores"(Invalid response format when listing queues): Indicates unexpected API response; check API availability.- Errors returned from the API during deletion typically include messages about missing permissions or invalid IDs.
Resolution tips:
- Verify that the
queueIdis correct and exists in the Press Ticket® system. - Ensure the API token credential is valid and has sufficient permissions.
- Check network connectivity and API service status.
- Verify that the
Links and References
- Press Ticket® API Documentation (example placeholder, replace with actual URL if available)
- n8n Documentation on HTTP Request Node for understanding API interactions
- General n8n Credential Setup Guide