Actions55
- Message Actions
- Contact Actions
- Chat Actions
- Group Actions
- Queue Actions
- Account Actions
- Session Actions
- Session Control Actions
- Call Actions
Account → Get Product Info
AI-generatedOverview
This node integrates with the Maytapi WhatsApp Unofficial API to perform various WhatsApp-related operations. Specifically, for the Account resource and Get Product Info operation, it retrieves detailed information about the WhatsApp product associated with the user's account.
Common scenarios where this node is beneficial include:
- Monitoring your WhatsApp Business API product details such as status, limits, or configuration.
- Automating workflows that require up-to-date product information from your WhatsApp integration.
- Integrating WhatsApp product data into dashboards or reporting tools.
Example use case:
- Automatically fetch product info daily to check usage statistics or verify active phone connections.
Properties
| Name | Meaning |
|---|---|
| Phone ID Source | How to provide the Phone ID: either "From Credentials" (uses Phone ID stored in credentials) or "Custom" (enter a custom Phone ID). This property is hidden when Resource is "Account". |
| Phone ID | The WhatsApp instance Phone ID to use when "Phone ID Source" is set to "Custom". Required if using custom Phone ID. Hidden when Resource is "Account". |
Note: For the Account resource and Get Product Info operation, the Phone ID properties are not shown because the operation does not require a specific Phone ID.
Output
The output JSON contains the product information retrieved from the Maytapi API endpoint /product. This typically includes details about the WhatsApp product linked to the user's account, such as:
- Product identifiers
- Status information
- Configuration details
- Limits or quotas
The exact structure depends on the Maytapi API response but generally provides comprehensive metadata about the WhatsApp product.
No binary data is output for this operation.
Dependencies
- Requires an API key credential for authenticating with the Maytapi API.
- The node uses the base URL
https://api.maytapi.com/api. - Proper configuration of the API key credential in n8n is necessary.
- No additional environment variables are required beyond the API key credential.
Troubleshooting
- Missing Phone ID error: Although not applicable for this operation, other operations require a Phone ID either from credentials or custom input. Ensure the Phone ID is provided correctly.
- API authentication errors: Verify that the API key credential is valid and has the necessary permissions.
- Network issues: Ensure that the n8n instance can reach
https://api.maytapi.com/api. - Unexpected API responses: Check the Maytapi API status and documentation for any changes or outages.
Links and References
- Maytapi Official Website
- Maytapi API Documentation (for detailed API endpoints and responses)
- n8n Documentation on Creating Custom Nodes