Actions32
- Contatos Actions
- Oportunidades Actions
- Tarefas Actions
- Produtos Actions
- Funis Actions
- Campos Personalizados Actions
- Notas Actions
- Anexos Actions
- Propostas Actions
- Webhooks Actions
Overview
This node integrates with the Linqer CRM API to manage "Oportunidades" (Opportunities). Specifically, the Deletar (Delete) operation allows users to delete an existing opportunity from their CRM system. This is useful in scenarios where opportunities are no longer valid or were created by mistake and need to be removed to keep the CRM data clean.
Practical examples:
- Automatically deleting opportunities that have been marked as lost or canceled.
- Cleaning up test or duplicate opportunities during data synchronization workflows.
- Removing opportunities related to accounts that have been closed or merged.
Properties
| Name | Meaning |
|---|---|
| ID da Oportunidade | The unique identifier of the opportunity to be deleted. |
| Account ID | The identifier of the account associated with the opportunity, required for deletion. |
Output
The output of the delete operation is the JSON response returned by the Linqer CRM API after attempting to delete the opportunity. Typically, this will include confirmation of deletion or details about the deleted record. The exact structure depends on the API but generally confirms success or provides error information.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Linqer CRM API.
- The node uses HTTP DELETE requests to the endpoint
/v1/opportunities/public/{opportunityId}?accountId={accountId}. - Proper configuration of the API URL and authentication credentials within n8n is necessary.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Opportunity ID or Account ID will result in errors.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error messages:
"Operation 'delete' not supported for opportunities": This indicates a misconfiguration or unsupported operation; ensure the operation parameter is correctly set to "delete".- API errors related to authorization or resource not found should be checked against the provided IDs and credentials.
Resolution tips:
- Verify that the Opportunity ID and Account ID are correct and exist in the CRM.
- Confirm that the API key credential is valid and has sufficient permissions.
- Check network access and API endpoint availability.
Links and References
- Linqer CRM API Documentation (for Opportunities): [Refer to your Linqer CRM API docs]
- n8n HTTP Request Node documentation (for understanding request handling): https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/
