WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation retrieves profile information from a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for obtaining details about the user's WhatsApp profile, such as name, status, and other profile-related data. This can be applied in scenarios where automation workflows need to access or display WhatsApp profile information for monitoring or integration purposes.

Use Case Examples

  1. Retrieve the profile info of a specific WhatsApp session to display user details in a dashboard.
  2. Use the profile info to verify the current status or name of the WhatsApp account in an automated process.

Properties

Name Meaning
Session Identifier of the WhatsApp session from which to get the profile info. It can be selected from a list of available sessions or entered manually.

Output

JSON

  • json - The JSON object containing the profile information retrieved from the WhatsApp session.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and the session is active; otherwise, the API call to get profile info will fail.
  • If the node throws an error stating the operation is not implemented, verify that the resource is set to 'Profile' and the operation to 'Get Profile Info'.
  • Check that the API credentials (API key and base URL) are correctly configured and accessible by the node.

Discussion