Actions104
- Ticket Actions
- Setor Actions
- Tag Actions
- WhatsApp Actions
- Sessão WhatsApp Actions
- Presença Actions
- Grupos WhatsApp Actions
- Listar Grupos
- Criar Grupo
- Obter Grupo
- Alterar Nome
- Alterar Descrição
- Adicionar Participantes
- Remover Participantes
- Promover a Admin
- Rebaixar Admin
- Listar Participantes
- Obter Link de Convite
- Revogar Link de Convite
- Config. Modo Adicionar Membros
- Config. Modo Anúncio
- Config. Restrição
- Alterar Foto
- Remover Foto
- Listar Solicitações de Entrada
- Aprovar Entrada
- Rejeitar Entrada
- Sair do Grupo
- Usuário Actions
- Resposta Rápida Actions
- Status do Cliente Actions
- Backup Actions
- Configuração Actions
- Log de Atividade Actions
- Log de Erro Actions
- Atualização do Sistema Actions
- Vídeo Actions
- Sistema Actions
Ticket → Alternar Estado
AI-generatedOverview
This node interacts with the Press Ticket® API to toggle a boolean state field on a ticket. It is useful for scenarios where you need to programmatically change the state of a ticket's boolean attributes such as pinning/unpinning, muting/unmuting, or favoriting/unfavoriting a chat associated with the ticket. For example, you can use this node to toggle the 'pinnedChat' state of a ticket to highlight or remove highlight from a chat in a customer support system.
Use Case Examples
- Toggle the 'pinnedChat' state of a ticket to pin or unpin a chat.
- Toggle the 'mutedChat' state to mute or unmute notifications for a ticket's chat.
- Toggle the 'favoritedChat' state to mark a chat as favorite or remove it from favorites.
Properties
| Name | Meaning |
|---|---|
| ID do Ticket | The unique identifier of the ticket whose boolean state field is to be toggled. |
| Campo | The specific boolean field on the ticket to toggle, such as pinning, muting, or favoriting the chat. |
Output
JSON
field- The boolean field that was toggled on the ticket.ticketId- The ID of the ticket on which the state was toggled.response- The API response confirming the toggle action and the new state of the field.
Dependencies
- Press Ticket® API with API token authentication
Troubleshooting
- Ensure the ticket ID provided is valid and exists in the system to avoid 'not found' errors.
- Verify that the API token credential is correctly configured and has the necessary permissions to update tickets.
- Check that the field to toggle is one of the supported boolean fields ('pinnedChat', 'mutedChat', 'favoritedChat').
- If the API returns an error, inspect the error message for details such as invalid parameters or authentication issues.