SacNews - Relacionamento icon

SacNews - Relacionamento

Interação com a Plataforma de Relacionamento via WhatsApp - SacNews

Actions59

Overview

This node integrates with a customer relationship platform via WhatsApp, providing various operations related to contacts, protocols, marketing campaigns, groups, and user schedules. Specifically, the "Usuário - Agenda - Listar" operation retrieves the schedule events of a specified operator within a given date range.

Common scenarios for this node include:

  • Fetching an operator's calendar events to display or process their agenda.
  • Automating workflows that depend on operator availability or scheduled tasks.
  • Integrating operator schedules into broader CRM or support systems.

For example, you can use this node to list all appointments or tasks assigned to a particular operator between July 1, 2020, and October 10, 2020, enabling automated reminders or workload balancing.

Properties

Name Meaning
ID do Operador The unique identifier of the operator whose schedule events you want to retrieve.
Data Inicial The start date of the period to query the schedule (format: YYYY-MM-DD).
Data Final The end date of the period to query the schedule (format: YYYY-MM-DD).
Página The page number of the event list to retrieve, useful for paginated results (minimum 1).

Output

The node outputs JSON data representing the schedule events of the specified operator within the requested date range. Each item in the output array corresponds to an event or appointment in the operator's agenda.

The exact structure of each event object depends on the external platform's API response but typically includes details such as event ID, start and end times, description, and possibly status or participants.

No binary data output is indicated for this operation.

Dependencies

  • Requires connection to the external customer relationship platform via WhatsApp integration.
  • Needs an API key or authentication token configured in n8n credentials to access the platform's API.
  • The node relies on internal action methods imported from bundled dependencies to perform API calls.

Troubleshooting

  • Missing or invalid operator ID: Ensure the "ID do Operador" property is correctly set; otherwise, the API call may fail or return no data.
  • Date format errors: Dates must be in YYYY-MM-DD format; incorrect formats may cause request failures.
  • Pagination issues: If many events exist, use the "Página" property to navigate through pages; requesting a non-existent page may return empty results.
  • Authentication errors: Verify that the API key or authentication credentials are valid and have sufficient permissions.
  • API rate limits or downtime: External service limitations may cause temporary failures; retry after some time or check service status.

Error messages typically originate from the external API and should be interpreted accordingly, often indicating invalid parameters, authentication failure, or server errors.

Links and References

  • No direct links available from the source code.
  • For more information, consult the documentation of the integrated customer relationship platform and its WhatsApp API.

Discussion