Agendor icon

Agendor

Integração completa com Agendor CRM

Overview

This node integrates with the Agendor CRM platform to perform various operations on different resources such as deals, organizations (companies), people, tasks, funnels, products, users, and system data. Specifically for the Empresa (organization) resource with the Atualizações Recentes (stream) operation, it fetches companies that have been updated since a specified date.

This functionality is useful for workflows that need to synchronize or react to recent changes in company data within Agendor. For example, you might use this node to:

  • Automatically update your internal database with recently modified company records.
  • Trigger notifications or follow-up actions when company information changes.
  • Generate reports based on recent updates to company profiles.

Properties

Name Meaning
Data Inicial The starting date/time from which to fetch companies updated since then (required).

Output

The node outputs an array of JSON objects representing the companies updated since the specified date. Each object contains the company's data fields as returned by the Agendor API.

  • The output is structured as a JSON array under the json property.
  • No binary data output is produced by this operation.

Example output snippet (simplified):

[
  {
    "id": 123,
    "name": "Empresa Exemplo",
    "cnpj": "12345678000195",
    "updated_at": "2024-05-01T12:34:56Z",
    ...
  },
  ...
]

Dependencies

  • Requires an API key credential for authenticating with the Agendor CRM API.
  • The node uses HTTP requests to Agendor's REST endpoints.
  • No additional external dependencies beyond the configured API credential.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication errors.
    • Providing an invalid or improperly formatted "Data Inicial" may result in no data returned or API errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication failures typically return errors indicating unauthorized access; verify the API key.
    • Date format errors may be indicated by the API rejecting the request; ensure the date/time is correctly formatted.
    • Rate limiting or server errors from Agendor should be handled by retrying after some delay.

Links and References

Discussion