S.C.A.L.A. CRM icon

S.C.A.L.A. CRM

Manage contacts, pipeline, tickets, and WhatsApp conversations in S.C.A.L.A. AI OS

Contact → Delete

AI-generated

Summary

Deletes a single contact in S.C.A.L.A. CRM by ID by sending an authenticated DELETE request to /api/crm/contacts/{contactId}.

Inputs

  • Contact ID (required) — ID of the contact to delete. It is inserted directly into the request URL (not URL-encoded). It is evaluated per input item, so an expression can delete a different contact for each item.

Output shape

One output item per input item, containing the parsed JSON response from the S.C.A.L.A. API (whatever the server returns for the delete).

If the response is a string, it is JSON-parsed. If the response, or its data or results property, is an array, each element becomes a separate output item. An empty response body may cause an error, because the code reads data.data on the response. Any HTTP error fails the node unless Continue On Fail is handled. This node's code has no such handling. The request uses the Bearer token and base URL from the scalaCrmApi credentials.

Examples

Example 1: Remove a contact whose ID came from an earlier Get All step.

Resource: Contact, Operation: Delete, Contact ID: {{$json.id}}

Example 2: Clean up a test contact with a known ID.

Resource: Contact, Operation: Delete, Contact ID: 12345

Links

Discussion