Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Sessão WhatsApp → Atualizar

AI-generated

Overview

This node interacts with the Press Ticket API to update an existing WhatsApp session. It is useful for managing WhatsApp session connections by updating the associated WhatsApp connection ID for a given session. For example, if you need to change the WhatsApp connection linked to a session, this node allows you to perform that update programmatically within an n8n workflow.

Use Case Examples

  1. Updating the WhatsApp connection ID of a specific WhatsApp session to maintain or change the session's connection.
  2. Managing WhatsApp sessions in bulk by updating their connection IDs as part of an automated workflow.

Properties

Name Meaning
ID do WhatsApp The ID of the WhatsApp connection to associate with the session.
ID da Sessão WhatsApp The ID of the WhatsApp session to update.

Output

JSON

  • id - The ID of the updated WhatsApp session.
  • whatsappId - The updated WhatsApp connection ID associated with the session.
  • createdAt - Timestamp when the session was created.
  • updatedAt - Timestamp when the session was last updated.

Dependencies

  • Press Ticket API with an API token credential

Troubleshooting

  • Ensure the provided WhatsApp session ID and WhatsApp connection ID are valid and exist in the Press Ticket system.
  • Check that the API token credential is correctly configured and has the necessary permissions to update WhatsApp sessions.
  • Handle API errors gracefully, especially network issues or invalid input data, by enabling 'Continue On Fail' in the node settings.

Discussion