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 users to update their privacy settings. It is useful in scenarios where automation workflows need to programmatically adjust a WhatsApp profile's privacy preferences without manual intervention. For example, a business could automatically update privacy settings based on user interactions or compliance requirements.

The "Update Privacy Settings" operation under the "Profile" resource enables modifying various privacy-related options for the WhatsApp profile associated with the configured instance.

Properties

Name Meaning
Additional Fields A collection of optional fields to customize the request:
- Delay: Delay in milliseconds before sending the request
- Link Preview: Enable or disable link preview in messages (true/false)
- Quoted Message ID: ID of a message to quote or reply to
- Mentions: Comma-separated list of phone numbers to mention in the message

Note: The provided properties JSON only defines "Additional Fields" for this operation. Other required parameters specific to updating privacy settings are not explicitly listed in the snippet but would typically be part of the node UI.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the Evolution API after attempting to update the privacy settings. The structure depends on the API response but generally includes confirmation of updated settings or error details if the update failed.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for the Evolution API.
  • Optionally uses another API key credential for an auxiliary validation service ("N8N Tools API") to verify subscription and API key validity before making requests.
  • The node requires configuration of:
    • Base URL of the Evolution API
    • API key for authentication
    • Instance name identifying the WhatsApp instance to operate on

Troubleshooting

  • Invalid Subscription or API Key:
    If the auxiliary validation API returns HTTP 401 or 403, the node throws an error indicating invalid subscription or API key. Verify that the API keys are correct and active.

  • Unknown Resource or Operation Errors:
    If the resource or operation parameter is incorrect or unsupported, the node throws descriptive errors like "Unknown resource" or "Unknown profile operation." Ensure the selected resource is "Profile" and operation is "Update Privacy Settings."

  • API Request Failures:
    Network issues or incorrect API endpoint configurations can cause request failures. Check the base URL, instance name, and API key correctness.

  • Continue On Fail Behavior:
    If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion