Actions35
- Chat Actions
- Chatwoot Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Instance → Status
AI-generatedOverview
This node operation retrieves the current status and information of a WhatsApp instance using the MegaAPI WhatsApp service. It is useful for monitoring the connection and operational state of the WhatsApp instance, ensuring it is active and functioning correctly. For example, it can be used to check if the WhatsApp instance is online, connected, or if there are any issues that need attention.
Use Case Examples
- Checking the WhatsApp instance status before sending messages to ensure the service is available.
- Monitoring the instance status in an automated workflow to trigger alerts or recovery actions if the instance goes offline.
Properties
| Name | Meaning |
|---|---|
| Information | This is a notice property that informs the user that this operation will retrieve the current status and information of the WhatsApp instance. |
Output
JSON
status- The current status of the WhatsApp instance, such as online, offline, or connecting.details- Additional information or metadata about the WhatsApp instance status.
Dependencies
- Requires an API authentication token or credentials for the MegaAPI WhatsApp service.
Troubleshooting
- If the node throws an 'Unknown operation' error, ensure the operation parameter is set to 'status' for the Instance resource.
- If the status retrieval fails, check the API credentials and network connectivity to the MegaAPI service.
- Errors related to authorization usually indicate invalid or missing API tokens.
Links
- MegaAPI WhatsApp Instance Status Documentation - Official documentation for retrieving WhatsApp instance status using MegaAPI.