Actions30
Overview
This node integrates with the Perfex CRM system via the WON API, allowing users to perform various operations on different resources such as clients, contacts, leads, projects, tasks, and invoices. Specifically, for the Projeto (Project) resource with the Obter (Get) operation, the node fetches detailed information about a specific project by its ID.
Common scenarios where this node is beneficial include:
- Retrieving project details to automate reporting or synchronization with other systems.
- Fetching project data to trigger workflows based on project status or deadlines.
- Integrating project information into dashboards or notifications.
Practical example:
You want to automatically retrieve the details of a project when a related event occurs in another system, such as a new task creation or client update, to keep your internal tools synchronized with Perfex CRM.
Properties
| Name | Meaning |
|---|---|
| ID do Projeto | The unique identifier of the project to retrieve. This is a required string input. |
Output
The node outputs a JSON object containing the full details of the requested project as returned by the Perfex CRM WON API. The structure includes fields such as:
name: Project nameclientid: ID of the client associated with the projectbilling_type: Billing type of the projectstatus: Status ID of the projectstart_date: Project start datedeadline: Project deadlinedescription: Description of the projectproject_cost: Cost of the projectproject_rate_per_hour: Hourly rate for the projectestimated_hours: Estimated hours for completionmembers: Array or list of member IDs involved in the project
The exact structure depends on the API response but generally reflects the project properties managed in Perfex CRM.
The node does not output binary data.
Dependencies
- Requires an active connection to the Perfex CRM WON API.
- Needs configuration of credentials including:
- Base URL of the Perfex CRM instance.
- An API token for authentication.
- Uses the Axios HTTP client internally to make requests to the API.
Troubleshooting
Common Issues
- Invalid or missing API token: The node will return an authentication error if the API token is invalid or not provided.
- Project not found: If the specified project ID does not exist, a "Resource not found" error is thrown.
- Invalid project ID format: The project ID must be a valid string; otherwise, the request may fail.
- Connection errors: Network issues or incorrect base URL configuration can cause connection failures.
Error Messages and Resolutions
| Error Message | Cause | Resolution |
|---|---|---|
| "Erro de autenticação: Token inválido ou não fornecido" | Invalid or missing API token | Verify and provide a valid API token credential. |
| "Recurso não encontrado" | Project ID does not exist | Check that the project ID is correct and exists. |
| "Erro de conexão com o servidor" | Network or server unreachable | Check network connectivity and API base URL. |
| "Dados inválidos: ..." | Invalid parameters sent to the API | Ensure the project ID and other inputs are valid. |
Links and References
- Perfex CRM Official Website
- WON API Documentation (if available) (Note: Replace with actual API docs if accessible)
- Axios HTTP Client
If you need further details on other operations or resources, feel free to ask!