Overview
This node interacts with the Atende Cidadão API to list data related to tickets or users. It supports operations to retrieve all tickets or all users from the API. This node is useful for scenarios where you need to fetch and process ticket or user data from the Atende Cidadão system, such as in customer support workflows or user management automation.
Use Case Examples
- Fetching all tickets to analyze support requests.
- Listing all users for administrative or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Resource | Specifies the type of data to retrieve from the Atende Cidadão API, either tickets or users. |
| Operation | Defines the action to perform on the selected resource, currently only 'Get' is supported to list all items. |
Output
JSON
- `` - Array of objects representing the retrieved tickets or users from the Atende Cidadão API.
Dependencies
- Requires an API key credential for the Atende Cidadão API named 'atendeCidadaoApi'.
Troubleshooting
- Error 'Operação desconhecida' occurs if an unsupported resource-operation combination is selected. Ensure the resource is either 'Listar Tickets' or 'Listar Usuários' and the operation is 'Get'.
- API request failures may occur due to invalid or missing API credentials. Verify that the 'atendeCidadaoApi' credential is correctly configured.
- Network or endpoint issues may cause request failures. Confirm the API endpoint 'https://atende-cidadao-back-pi.vercel.app/api/' is reachable.