Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" is designed to interact with the Evolution API service, allowing users to perform various operations on different resources. Specifically, for the Profile resource and the Fetch Business Profile operation, this node fetches detailed business profile information associated with a given contact number and instance name. This can be useful in scenarios where you want to retrieve up-to-date business details from an external system based on a contact identifier.

Practical examples include:

  • Enriching customer data by fetching their business profile during a workflow.
  • Automating CRM updates with verified business information.
  • Integrating business profile lookups into support or sales automation processes.

Properties

Name Meaning
Name Da Instância The name of the instance to identify the specific environment or account in use.
Contato The contact number (remoteJid) for which the business profile will be fetched.

Output

The node outputs a JSON array containing the fetched business profile data corresponding to the provided contact number and instance name. The structure of the JSON output depends on the Evolution API's response but generally includes business-related fields such as company name, address, contact details, and other relevant profile information.

If the API supports binary data (not indicated here), it would typically represent attachments or media related to the profile, but this node primarily returns JSON data.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API service.
  • The base URL for requests is set to https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API authentication credentials within n8n is necessary.

Troubleshooting

  • Operation not supported error: If you select an unsupported operation or resource combination, the node throws an error indicating the function is not supported. Ensure that the resource is set to "profile-api" and the operation to "fetch-business-profile".
  • Missing required properties: Both "Name Da Instância" and "Contato" are required. Omitting these will cause errors or empty responses.
  • API authentication failures: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Network or API errors: Check connectivity and API status if requests fail or time out.

Links and References

Discussion