Wappfy icon

Wappfy

Interact with WhatsApp through Wappfy API

Overview

This node allows you to interact with WhatsApp through the Wappfy API, specifically enabling you to update the profile status (also known as "about" text) of a WhatsApp account. This operation is useful when you want to programmatically change the status message that appears on your WhatsApp profile, for example, to reflect current availability, mood, or any custom message.

Practical scenarios include:

  • Automatically updating your WhatsApp status based on calendar events or work hours.
  • Changing status messages dynamically in response to external triggers or workflows.
  • Managing multiple WhatsApp profiles' statuses from a centralized automation platform.

Properties

Name Meaning
Profile Status The new profile status/about text to set on the WhatsApp profile.

Output

The node outputs the JSON response returned by the Wappfy API after attempting to update the profile status. This typically includes confirmation of the update or details about the updated profile status.

The output structure is:

{
  "json": {
    // API response object confirming the status update
  }
}

No binary data is output by this operation.

Dependencies

  • Requires an active Wappfy API connection with valid credentials including:

    • Base URL of the Wappfy API.
    • Instance name identifying the WhatsApp session.
    • An API key credential for authentication.
  • The node makes HTTP PUT requests to the endpoint /api/{instanceName}/profile/status with a JSON body containing the new status.

  • Ensure the Wappfy API credentials are properly configured in n8n before using this node.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect instance name or base URL may result in connection errors.
    • Providing an empty or invalid profile status string may lead to API rejection.
  • Error messages:

    • Authentication errors usually indicate problems with the API key or credential setup.
    • HTTP 404 or 400 errors suggest incorrect endpoint usage or malformed request body.
    • Network timeouts or unreachable host errors point to connectivity issues.
  • Resolutions:

    • Verify and re-enter API credentials in n8n.
    • Confirm the instance name matches the active WhatsApp session in Wappfy.
    • Ensure the profile status string is non-empty and valid UTF-8 text.
    • Check network connectivity and firewall settings allowing access to the Wappfy API.

Links and References


This summary covers the "Profile" resource with the "Update Status" operation only, based on the provided source code and input property definitions.

Discussion