WhatsApp API icon

WhatsApp API

Integração com WhatsApp API para envio de mensagens e gerenciamento

Overview

This node integrates with a WhatsApp API to manage tickets and related messaging activities. Specifically, the Ticket - Update Info operation allows users to update information on an existing ticket within the WhatsApp system. This is useful in customer support or sales scenarios where ticket details need to be modified programmatically based on new information or status changes.

Practical examples include:

  • Updating the assigned user or status of a support ticket.
  • Adding additional metadata or notes to an ongoing conversation.
  • Synchronizing ticket updates from other systems into WhatsApp-based workflows.

Properties

Name Meaning
Ticket ID The unique identifier of the ticket to update.
User ID The identifier of the user performing the update or associated with it.

Output

The node outputs a JSON object representing the response from the WhatsApp API after attempting to update the ticket information. This typically includes confirmation of the update or details about the updated ticket.

If an error occurs during the update, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the WhatsApp API.
  • The node uses the base URL and instance ID configured in the credentials to construct API requests.
  • The WhatsApp API must support endpoints for ticket management, specifically updating ticket info.

Troubleshooting

  • Common issues:

    • Invalid or missing Ticket ID or User ID parameters will cause the API request to fail.
    • Authentication errors if the API key credential is invalid or expired.
    • Network connectivity problems preventing access to the WhatsApp API endpoint.
  • Error messages:

    • Errors returned from the API are passed through in the output's error field.
    • If the node is set to continue on failure, errors will not stop execution but will be reported per item.
    • To resolve errors, verify that all required fields are correctly set and that the API credentials are valid.

Links and References

Discussion