WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation sets the profile name for a specified session in a WhatsApp automation context. It is useful for updating or customizing the display name associated with a WhatsApp session, which can help in managing multiple sessions or personalizing user profiles. For example, a user can rename a session to reflect the contact or purpose of the session, such as 'Customer Support' or 'Sales Team'.

Use Case Examples

  1. Set the profile name of a session to 'My New Name' to personalize the WhatsApp session display.
  2. Update the profile name dynamically based on input data to manage multiple sessions effectively.

Properties

Name Meaning
Session The name of the WhatsApp session for which the profile name will be set.
Name The new profile name to assign to the specified session.
Request Options Additional HTTP request options such as batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates whether the profile name was successfully set.
  • session - The session name for which the profile name was set.
  • name - The new profile name that was assigned.

Dependencies

  • Requires an API key credential or authentication token to interact with the WhatsApp automation API.

Troubleshooting

  • Ensure the session name provided exists and is active; otherwise, the operation may fail.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL certificate validation fails and 'Ignore SSL Issues' is not enabled, the request will be rejected.
  • Verify that the 'Name' property is not empty and conforms to any API restrictions on profile names.

Discussion