Actions10
Overview
This node integrates with the Corbee CRM API to manage customer attendances (service records) and related data. Specifically, the "Criar Atendimento" (Create Attendance) operation allows users to create a new attendance record linked to an existing customer in the Corbee CRM system.
Typical use cases include:
- Automatically logging a new service or sales interaction for a customer after a transaction or contact.
- Associating campaign information with customer attendances for marketing analysis.
- Tracking the value of each attendance for reporting or commission calculations.
For example, after a customer purchase, you can use this node to create an attendance record with the customer's ID, the sale value, and optionally the campaign name that led to the sale.
Properties
| Name | Meaning |
|---|---|
| ID Do Cliente | The numeric ID of the customer for whom the attendance is being created (required). |
| Valor | The numeric value associated with the attendance, e.g., sale amount or service cost. |
| Nome Da Campanha | Optional string specifying the name of the campaign associated with this attendance. |
Output
The node outputs JSON data representing the newly created attendance record as returned by the Corbee CRM API. This typically includes details such as the attendance ID, customer ID, value, campaign name, timestamps, and other metadata provided by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Corbee CRM API.
- The node uses HTTP requests to communicate with the Corbee CRM endpoints.
- Proper configuration of the API credentials within n8n is necessary for successful operation.
Troubleshooting
Common issues:
- Invalid or missing customer ID will cause the API to reject the request.
- Incorrect API credentials or expired tokens will result in authentication errors.
- Providing non-numeric values for required numeric fields may cause validation errors.
Error messages:
"Operation not supported": Indicates an unsupported operation was requested; ensure "Criar Atendimento" is selected.- API response errors related to invalid parameters or authentication failures should be checked against the Corbee CRM API documentation.
Resolution tips:
- Verify the customer ID exists in the Corbee CRM before creating an attendance.
- Double-check API credentials and permissions.
- Ensure numeric fields are correctly formatted as numbers.