Actions64
- Instance Actions
- Chat Actions
- Message Actions
- Group Actions
- Profile Actions
- Event Actions
- Integration Actions
Overview
This node interacts with the Evolution API to update a user's profile privacy settings. It allows users to control who can see various aspects of their profile such as read receipts, profile picture, status, online presence, last seen timestamp, and group addition permissions. This is useful for managing privacy preferences in messaging or social platforms integrated with the Evolution API.
Practical examples include:
- Setting read receipts visibility to "Nobody" to prevent others from knowing when messages are read.
- Restricting profile picture visibility to "My Contacts" only.
- Allowing only certain contacts to add the user to groups.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the instance where the profile exists; required to identify the target instance. |
| Read Receipts | Who can see when you read messages: "Everyone" or "Nobody". |
| Profile Picture | Who can see your profile picture: "Everyone", "My Contacts", "Except Specific Contacts", or "Nobody". |
| Status | Who can see your status message: "Everyone", "My Contacts", "Except Specific Contacts", or "Nobody". |
| Online | Who can see when you are online: "Everyone" or "Same as Last Seen". |
| Last Seen | Who can see your last seen timestamp: "Everyone", "My Contacts", "Except Specific Contacts", or "Nobody". |
| Groups | Who can add you to groups: "Everyone", "My Contacts", or "Except Specific Contacts". |
Output
The node outputs a JSON array containing the result of the privacy settings update operation. The exact structure depends on the Evolution API response but typically includes confirmation of updated settings or error details if the update failed.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The base URL for API requests is
https://doc.evolution-api.com/api-reference. - Proper configuration of the API credential within n8n is necessary.
Troubleshooting
- Unsupported operation error: If the specified resource or operation is not supported, the node throws an error indicating this. Ensure that the resource is set to "profile-api" and the operation to "update-privacy-settings".
- Missing or invalid credentials: Authentication failures will occur if the API key credential is missing or incorrect.
- Invalid property values: Providing unsupported options for privacy settings may cause API errors. Use only the listed options.
- Instance name required: The "Instance Name" property must be provided; otherwise, the request cannot be targeted correctly.
Links and References
- Evolution API Documentation: https://doc.evolution-api.com/api-reference (base URL used by the node)