Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform various operations related to the 'Chat' resource. Specifically, for the 'Fetch Profile Picture' operation, it retrieves the profile picture of a contact from the specified instance of the chat API. This is useful in scenarios where you need to programmatically access and display user profile images in workflows, such as customer support dashboards or contact management systems.

Use Case Examples

  1. Fetch the profile picture of a contact by providing the instance name and contact number to display in a user interface.
  2. Automatically retrieve and store profile pictures of contacts for record-keeping or further processing.

Properties

Name Meaning
Instance Name The name of the chat API instance to connect to for fetching the profile picture.
Contact The contact number whose profile picture is to be fetched, formatted as a string (e.g., 5511999999999).

Output

JSON

  • profilePictureUrl - The URL or data of the fetched profile picture of the specified contact.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • If the node throws an 'Unsupported operation' error, verify that the 'resource' and 'operation' parameters are correctly set to 'Chat' and 'Fetch Profile Picture' respectively.
  • Ensure the 'Instance Name' and 'Contact' number are correctly provided and formatted; incorrect values may result in failed API calls or empty responses.
  • Check that the Evolution API credentials are correctly configured and have the necessary permissions to access profile pictures.

Discussion