Actions48
- Chat Actions
- Mensagem Actions
- Grupo Actions
- Perfil Actions
Overview
The node "Zappfy API" allows interaction with the Zappfy service through its API. Specifically, for the Resource "Chat" and Operation "Buscar Foto Do Perfil" (Fetch Profile Picture), it enables users to retrieve the profile picture of a specified contact within a given instance. This is useful in scenarios where you want to programmatically access or display the profile images of contacts from a chat system integrated with Zappfy.
Practical examples include:
- Automatically fetching and displaying user profile pictures in a CRM or dashboard.
- Archiving profile pictures of contacts for record-keeping.
- Using profile pictures in automated messaging or notification systems.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance to connect to. This identifies which chat instance to query. |
| Contato | The phone number of the contact whose profile picture is to be fetched (e.g., 5511999999999). |
Output
The node outputs a JSON array containing the result of the profile picture fetch operation. The exact structure depends on the API response but typically includes fields such as the URL or base64 data of the profile picture.
If the profile picture is returned as binary data, it would represent the image file of the contact's profile picture.
Dependencies
- Requires an API key credential for authenticating with the Zappfy API.
- The node uses the base URL
https://docs.zappfy.io/api-referencefor API requests. - Proper configuration of the API credential in n8n is necessary for successful execution.
Troubleshooting
- Operation not supported error: If the node throws an error stating the operation is not supported, verify that the Resource is set to "Chat" and the Operation to "Buscar Foto Do Perfil". Also, ensure the node version supports this operation.
- Invalid or missing credentials: Ensure the API key credential is correctly configured and has the necessary permissions.
- Incorrect instance name or contact number: Double-check the "Nome Da Instância" and "Contato" values for correctness and formatting.
- Network or API errors: Check network connectivity and the status of the Zappfy API service.
Links and References
- Zappfy API Documentation (official API reference)