Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows users to interact with the Evolution API service. Specifically, for the resource Perfil and operation Buscar Perfil, it fetches profile information based on provided instance name and contact number. This node is useful in scenarios where you need to retrieve detailed profile data from the Evolution API, such as integrating contact profiles into workflows or automating profile lookups.

Practical examples include:

  • Fetching a user's profile details by their contact number within a specific instance.
  • Automating customer data enrichment by retrieving professional or business profile information.

Properties

Name Meaning
Nombre De La Instancia The name of the instance to query. This identifies which Evolution API instance to use.
Contacto The contact number (remoteJid) whose profile is to be fetched.

Output

The node outputs an array of JSON objects representing the profile data retrieved from the Evolution API. Each object contains the profile details corresponding to the requested contact within the specified instance.

If the node supports binary data output, it would typically represent profile images or attachments, but this is not explicitly indicated in the provided code.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The base URL for requests is set to https://doc.evolution-api.com/api-reference.
  • The node depends on the n8n workflow environment and its helper methods for parameter retrieval and returning JSON arrays.

Troubleshooting

  • Operation Not Supported Error: If the node throws an error stating the operation is not supported, verify that the resource and operation names are correctly set to "Perfil" and "Buscar Perfil" respectively.
  • Missing Required Parameters: Ensure that both "Nombre De La Instancia" and "Contacto" fields are filled, as they are required.
  • Authentication Issues: Confirm that the API key credential is properly configured and has the necessary permissions.
  • Network or API Errors: Check network connectivity and the availability of the Evolution API endpoint.

Links and References

Discussion