Actions64
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
- Instancia Actions
Overview
This node allows you to update privacy settings for a user profile via the Evolution API. It is designed for scenarios where you need to programmatically manage who can see your profile information, status, last seen, and other privacy-related options in an automated workflow. Typical use cases include synchronizing privacy preferences across multiple accounts, enforcing organizational privacy policies, or allowing users to self-manage their privacy settings through automated processes.
Practical Example:
Automatically set all new users' privacy settings to restrict profile photo visibility to contacts only and disable read receipts for everyone.
Properties
Below are the supported input properties for the "Atualizar Configurações De Privacidade" (Update Privacy Settings) operation:
| Display Name | Type | Description |
|---|---|---|
| Nome Da Instância | String | Digite o nome da instância (Enter the instance name). Required |
| Confirmação De Leitura | Options | Quem pode ver quando você leu as mensagens (Read receipt audience): - Todos (all) - Ninguém (none) |
| Foto Do Perfil | Options | Quem pode ver sua foto de perfil (Profile photo audience): - Todos (all) - Meus Contatos (contacts) - Exceto Contatos Específicos (contact_blacklist) - Ninguém (none) |
| Status | Options | Quem pode ver seu status (Status audience): - Todos (all) - Meus Contatos (contacts) - Exceto Contatos Específicos (contact_blacklist) - Ninguém (none) |
| Online | Options | Quem pode ver quando você está online (Online status audience): - Todos (all) - Igual Ao Visto Por Último (match_last_seen) |
| Visto Por Último | Options | Quem pode ver seu último acesso (Last seen audience): - Todos (all) - Meus Contatos (contacts) - Exceto Contatos Específicos (contact_blacklist) - Ninguém (none) |
| Grupos | Options | Quem pode te adicionar em grupos (Group add audience): - Todos (all) - Meus Contatos (contacts) - Exceto Contatos Específicos (contact_blacklist) |
Output
The output will be a JSON object (or array of objects) reflecting the result of the privacy settings update operation. The structure typically includes confirmation of the updated settings, possibly echoing back the new values for each privacy option. The exact fields depend on the API response but generally follow this pattern:
{
"instanceName": "string",
"readreceipts": "all|none",
"profile": "all|contacts|contact_blacklist|none",
"status": "all|contacts|contact_blacklist|none",
"online": "all|match_last_seen",
"last": "all|contacts|contact_blacklist|none",
"groupadd": "all|contacts|contact_blacklist",
// ...additional metadata or status fields
}
- No binary data is produced by this operation.
Dependencies
- External Service: Requires access to the Evolution API.
- API Key/Credentials: You must configure valid credentials for the "evolutionApi" in n8n.
- n8n Configuration: Ensure the node is properly authenticated and that the base URL (
https://doc.evolution-api.com/api-reference) is accessible from your environment.
Troubleshooting
Common Issues:
- Missing or Invalid Credentials: If credentials are not set up correctly, the node will fail to authenticate with the Evolution API.
- Unsupported Operation Error: If the selected resource or operation is not implemented, you may encounter an error message like:
Resolution: Double-check that you have selected the correct resource and operation.Operação não suportada. A função "update-privacy-settings" para o recurso "profile-api" não é suportada! - Invalid Input Values: Providing unsupported option values may result in API errors. Always use the provided options.
Error Messages:
"Operação não suportada."— The chosen operation/resource combination is not available. Check your selection.- Authentication or network errors may also occur if the API is unreachable or credentials are incorrect.