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, opportunities, pipelines, tasks, and their relations. Specifically for the Task Relation resource with the Delete operation, it deletes a task relation record identified by its unique ID.

Use cases include automating the removal of associations between tasks and other entities (like people or companies) in your CRM system when those relations are no longer relevant. For example, if a task was mistakenly linked to a wrong contact or project, this node can programmatically remove that link.

Properties

Name Meaning
Task Relation ID UUID string identifying the task relation to delete

The node expects the "Task Relation ID" property to specify which task relation record should be deleted.

Output

The output JSON contains a confirmation of the deletion:

{
  "success": true,
  "id": "the-deleted-task-relation-id"
}
  • success: Boolean indicating whether the deletion was successful.
  • id: The ID of the deleted task relation.

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the Dalil AI API.
  • Needs an API key credential configured in n8n for authentication with the Dalil AI service.
  • The node uses HTTP DELETE requests to the /rest/taskTargets/{taskTargetId} endpoint of the Dalil AI API.

Troubleshooting

  • Invalid or missing Task Relation ID: Ensure the provided ID is a valid UUID string corresponding to an existing task relation. An invalid ID will cause the API to return an error.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions to delete task relations.
  • Network or API errors: Check network connectivity and Dalil AI API status if requests fail.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one deletion fails, returning error details in the output JSON.

Links and References

Discussion