Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Sessão WhatsApp → Criar

AI-generated

Overview

This node interacts with the Press Ticket API to manage WhatsApp sessions. Specifically, for the 'Sessão WhatsApp' resource and 'Criar' operation, it creates a new WhatsApp session by sending a POST request to the API with the provided WhatsApp connection ID. This is useful for automating the creation of WhatsApp sessions within workflows, enabling integration with WhatsApp messaging and session management.

Use Case Examples

  1. Automate the creation of a new WhatsApp session when a new WhatsApp connection is established.
  2. Create WhatsApp sessions programmatically as part of a customer support workflow.

Properties

Name Meaning
ID do WhatsApp ID da conexão WhatsApp used to identify the WhatsApp connection for which the session is created.

Output

JSON

  • json - The JSON response from the Press Ticket API after creating the WhatsApp session, containing details about the created session.

Dependencies

  • Press Ticket API with an API token credential

Troubleshooting

  • Ensure the 'ID do WhatsApp' is valid and corresponds to an existing WhatsApp connection in the Press Ticket system.
  • Check that the API token credential is correctly configured and has the necessary permissions to create WhatsApp sessions.
  • If the API returns an error, verify the network connectivity and the API endpoint URL.

Discussion