DinastiAPI User icon

DinastiAPI User

Get user information and manage presence with DinastiAPI WhatsApp API

Overview

This node interacts with the DinastiAPI WhatsApp API to manage user information and presence. Specifically, the "Update Push Name" operation allows you to update the display name (push name) associated with the current WhatsApp user. This is useful when you want to programmatically change how your name appears to your contacts on WhatsApp.

Practical examples include:

  • Automatically updating your WhatsApp display name based on external data or events.
  • Synchronizing your WhatsApp push name with your profile in other systems.
  • Personalizing the display name for different workflows or campaigns.

Properties

Name Meaning
Push Name New display name (push name) to set. Example: "John Doe". This is a required string input.

Output

The node outputs JSON data representing the response from the DinastiAPI after attempting to update the push name. The structure typically contains confirmation or status information about the update operation.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the DinastiAPI WhatsApp API.
  • The node uses the DinastiAPI endpoint /user/pushname with a POST request to update the push name.
  • Proper configuration of the API credential in n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an empty or invalid push name may result in errors from the API.
    • Network connectivity problems can prevent the node from reaching the DinastiAPI service.
  • Error messages:

    • Errors returned from the API will be included in the node's output if "Continue On Fail" is enabled.
    • Typical error messages might indicate invalid parameters or authorization failures.
  • Resolutions:

    • Ensure the API key credential is correctly configured and valid.
    • Verify that the "Push Name" property is not empty and follows any naming rules enforced by WhatsApp/DinastiAPI.
    • Check network connectivity and API endpoint availability.

Links and References

Discussion