Evolution API icon

Evolution API

Complete WhatsApp automation with Evolution API

Overview

This node integrates with the Evolution API to manage WhatsApp profile settings, specifically allowing you to retrieve privacy settings for a WhatsApp profile. It is useful in scenarios where you want to programmatically access and audit the privacy configuration of a WhatsApp account managed via the Evolution API.

For example, you might use this node to:

  • Automatically fetch and log the current privacy settings of a WhatsApp profile.
  • Trigger workflows based on specific privacy configurations.
  • Monitor changes in privacy settings over time.

Properties

Name Meaning
Additional Fields Optional extra parameters that can be added when sending requests. Includes:
- Delay: Delay in milliseconds before sending the request
- Link Preview: Enable or disable link preview in messages
- Quoted Message ID: ID of message to quote or reply to
- Mentions: Comma-separated list of numbers to mention

Note: For the "Get Privacy Settings" operation under the "Profile" resource, no additional required properties are specified beyond these optional additional fields.

Output

The output JSON contains the response from the Evolution API's endpoint that returns the privacy settings of the WhatsApp profile. The structure typically includes details about various privacy options configured on the profile, such as who can see last seen, profile photo, status, etc.

Example output (conceptual):

{
  "lastSeenPrivacy": "everyone",
  "profilePhotoPrivacy": "contacts",
  "statusPrivacy": "contacts",
  "readReceipts": true,
  ...
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Evolution API service.
  • Requires valid credentials including:
    • Base URL of the Evolution API.
    • API key for authentication.
    • Instance name identifying the WhatsApp instance.
  • Also requires credentials for the N8N Tools API for subscription validation.
  • The node sends HTTP requests to the Evolution API endpoints and expects JSON responses.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API keys for both Evolution API and N8N Tools API are correctly configured and active.
  • Unknown Resource or Operation Errors: These errors occur if the resource or operation parameter is incorrect or unsupported. Ensure "Profile" is selected as the resource and "Get Privacy Settings" as the operation.
  • Network or Timeout Issues: Since the node communicates over HTTP, network connectivity problems or slow responses from the Evolution API may cause failures. Check network status and API availability.
  • Permission Denied or Unauthorized: Make sure the API key has sufficient permissions to access profile privacy settings.

Links and References

Discussion