DinastiAPI AI icon

DinastiAPI AI

Send WhatsApp messages using DinastiAPI - optimized for AI workflows

Overview

The "Get My Status" operation of the DinastiAPI AI node retrieves the current user's WhatsApp status message and related status settings. This operation is useful for monitoring or displaying the user's own WhatsApp status information within an automated workflow. For example, a business could use this to check their current status message programmatically before updating it or logging it for analytics.

Properties

Name Meaning
Optimize Response Whether to optimize the API response to reduce token usage and improve AI processing
Max Response Length Maximum number of characters in the response; longer responses will be truncated
Include Only Essential Fields Whether to include only essential fields in the response to reduce noise
Response Format How to format the response for optimal AI agent understanding. Options:
- Optimized: Clean, structured response optimized for AI processing
- Raw: Complete raw response from the API
- Summary: Brief summary with key information only

These properties control how the response data is returned and formatted, especially when used as a tool in AI workflows.

Output

The output JSON contains the data returned by the WhatsApp API endpoint /user/status representing the current user's status message and settings. Depending on the selected options, the output can be:

  • Optimized: A clean, structured version of the status data suitable for AI processing.
  • Raw: The complete raw API response without modifications.
  • Summary: A brief summary highlighting key status information.

If response optimization is enabled and the node is used as a tool, the output may be truncated or filtered to reduce size and noise, indicated by metadata fields such as _aiOptimized and _truncated.

No binary data is produced by this operation.

Dependencies

  • Requires an active connection to the DinastiAPI WhatsApp service via an API key credential.
  • The node uses internal helper functions to make authenticated HTTP requests to the DinastiAPI endpoints.
  • No additional environment variables are required beyond the configured API authentication.

Troubleshooting

  • Common issues:

    • Network or authentication errors if the API key is invalid or connectivity to DinastiAPI is interrupted.
    • Unexpected empty or missing status data if the user has no status set or privacy settings restrict access.
  • Error messages:

    • "Unknown operation: getMyStatus": Indicates the operation parameter was not correctly set to "getMyStatus".
    • "Binary property ... not found": Not applicable for this operation but common in media sending operations when expected binary data is missing.
    • General API errors will be returned in the output JSON under an error field if continueOnFail is enabled.

To resolve errors, verify API credentials, ensure correct operation selection, and confirm network connectivity.

Links and References

Discussion