DinastiAPI Session icon

DinastiAPI Session

Manage WhatsApp session connections and configurations

Overview

This node manages WhatsApp session connections and configurations via the DinastiAPI service. It allows users to perform various session-related operations such as connecting, disconnecting, logging out, pairing a phone number, configuring proxy settings, and managing skip message filters (e.g., skipping own messages). The node is useful for automating WhatsApp session management within n8n workflows, enabling integration with WhatsApp messaging without manual intervention.

A practical example includes automatically connecting to a WhatsApp session and configuring it to skip processing your own sent messages, which helps avoid duplicate message handling in workflows that listen to incoming messages.

Properties

Name Meaning
Enable Skip Own Messages Whether to skip processing your own sent messages (boolean: true or false)

Output

The node outputs JSON data representing the response from the DinastiAPI endpoints corresponding to the selected operation. The structure varies depending on the operation but generally contains status information or configuration details related to the WhatsApp session.

For the "Configure Skip Own Messages" operation, the output confirms the updated setting for skipping own messages.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the DinastiAPI WhatsApp service.
  • The node makes HTTP requests to DinastiAPI endpoints to manage session state and configurations.
  • Proper network connectivity to the DinastiAPI service is necessary.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Common Issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Network issues may prevent connection to the DinastiAPI service.
    • Incorrect property values (e.g., malformed phone numbers) can cause request errors.
  • Error Messages:

    • Authentication errors typically indicate invalid or expired API keys; verify and update credentials.
    • HTTP request failures may show timeout or connection refused errors; check network and endpoint availability.
    • Validation errors occur if required parameters are missing or incorrectly formatted; ensure all required inputs are provided correctly.

Links and References

Discussion