Agendor icon

Agendor

Trabalhe com dados da API do Agendor CRM

Overview

This node integrates with the Agendor CRM API to manage organization data. Specifically, the "Get" operation under the "Organization" resource retrieves detailed information about a single organization by its numeric ID.

Use cases include:

  • Fetching organization details for display or further processing in workflows.
  • Integrating CRM organization data into other systems or reports.
  • Automating updates or validations based on organization info retrieved from Agendor.

For example, you might use this node to get an organization's name, address, and contact details before sending a personalized email or updating another database.

Properties

Name Meaning
Organization ID The numeric ID of the organization to retrieve. This is a required string input (e.g., "12345").

Output

The node outputs JSON data representing the requested organization's details as returned by the Agendor API. This typically includes fields such as the organization's name, address, CNPJ (tax ID), phone number, website, creation and update timestamps, and any other metadata provided by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an API authentication token credential for Agendor CRM.
  • The node makes HTTP GET requests to the endpoint: https://api.agendor.com.br/v3/organizations/{organizationId}.
  • Proper configuration of the API token credential in n8n is necessary for successful authentication.

Troubleshooting

  • Common issues:

    • Invalid or missing Organization ID will cause the request to fail.
    • Incorrect or expired API token will result in authentication errors.
    • Network connectivity problems can prevent reaching the Agendor API.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API token credential is correctly set and valid.
    • 404 Not Found: Verify that the Organization ID exists in Agendor.
    • 400 Bad Request: Ensure the Organization ID is provided and formatted correctly (numeric string).
    • Network errors: Confirm internet connectivity and that the Agendor API endpoint is reachable.

Links and References

Discussion