Invertexto icon

Invertexto

Interact with Invertexto API

Actions14

Overview

This node integrates with the Invertexto API to retrieve holiday information for a specified year, optionally filtered by a Brazilian state (UF). It is useful for workflows that need to consider public holidays, such as scheduling tasks, sending notifications, or adjusting business logic around non-working days.

For example, you can use this node to:

  • Fetch all holidays in Brazil for 2025.
  • Get holidays specific to the state of São Paulo (SP) in 2025 to customize regional operations.

Properties

Name Meaning
Year The year for which to retrieve holidays. Example: 2025
State Optional Brazilian state code (UF) to filter holidays by region. Example: "SP" for São Paulo

Output

The node outputs a JSON array containing holiday data retrieved from the Invertexto API. Each item in the output corresponds to a holiday and includes details such as the date and description of the holiday.

The exact structure depends on the API response but typically includes fields like:

  • Date of the holiday
  • Name/description of the holiday
  • Possibly additional metadata related to the holiday

No binary data is output by this operation.

Dependencies

  • Requires an active API key credential for the Invertexto API.
  • The node makes HTTP GET requests to https://api.invertexto.com/v1/holidays/{year} endpoint.
  • If filtering by state, it appends a query parameter state with the state's UF code.

Troubleshooting

  • Invalid API Key or Authentication Errors: Ensure the API key credential is correctly configured and valid.
  • Year Parameter Missing or Invalid: The "Year" property is required; ensure it is provided and is a valid number.
  • State Code Issues: If filtering by state, verify the UF code is correct and supported by the API.
  • API Rate Limits or Downtime: The node depends on the external Invertexto API; network issues or rate limits may cause failures.
  • Error Messages: Errors returned by the API will be included in the node's output if "Continue On Fail" is enabled; otherwise, they will stop execution.

Links and References

Discussion