Dalil AI icon

Dalil AI

Consume Dalil AI API

Overview

This node integrates with the Dalil AI API to manage various CRM-related resources such as people, companies, notes, tasks, opportunities, pipelines, and their relations. Specifically for the Person resource with the Delete operation, it allows users to delete a person record identified by a unique UUID.

Common scenarios where this node is beneficial include automating CRM data cleanup, removing outdated or incorrect person entries, and integrating Dalil AI's CRM data management into broader workflows.

For example, you might use this node to automatically delete a person from your CRM when they unsubscribe from your mailing list or when their data needs to be purged for compliance reasons.

Properties

Name Meaning
Person ID The UUID string that uniquely identifies the person to delete. This is a required field.

Output

The output JSON object after a successful delete operation contains:

  • success: A boolean indicating whether the deletion was successful (true).
  • id: The UUID of the deleted person.

Example output:

{
  "success": true,
  "id": "uuid-of-deleted-person"
}

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Dalil AI API.
  • Requires an API key credential configured in n8n for authentication with the Dalil AI service.
  • The node uses HTTP DELETE requests to the endpoint /rest/people/{personId} to perform deletions.

Troubleshooting

  • Invalid or missing Person ID: If the provided Person ID is not a valid UUID or is missing, the API will likely return an error. Ensure the Person ID is correctly specified.
  • Authentication errors: If the API key credential is invalid or missing, the node will fail to authenticate. Verify the API key configuration.
  • Person not found: Attempting to delete a non-existent person may result in an error or no action. Confirm the Person ID exists before deletion.
  • API rate limits or network issues: Network failures or hitting API rate limits can cause errors. Retry logic or error handling should be implemented in workflows.
  • Error messages: Errors thrown by the node typically contain messages from the Dalil AI API or internal processing errors. Review the error message for clues and verify input parameters.

Links and References


This summary focuses exclusively on the Person - Delete operation as requested, based on static analysis of the provided source code and property definitions.

Discussion