Skip to main content

Delete Contact

AutomatR.FreshDesk.Activities.DeleteContact

The "Delete Contact" activity in AutomatR is part of the Freshdesk activities package, facilitating the deletion of a contact based on the user ID within a Freshdesk user's account. This activity streamlines the process of managing contacts in Freshdesk, providing the ability to remove a specific contact as needed.

Properties

NameDescription
Input
User IDSpecifies the ID of the contact to be deleted. It is a required input, uniquely identifying the contact to be removed from Freshdesk. String variables containing the user ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get All Agents" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the response as an object. Variables of relevant types (e.g., dynamic variables) to store the response.

How to use:

  1. Drag and drop the "Delete Contact" activity onto the workflow.
  2. Configure the properties by specifying the user ID of the contact to be deleted.
  3. Optionally, configure the delay.
  4. Execute the workflow to delete the specified contact in Freshdesk.

Example: Consider an example where the "Delete Contact" activity is used to remove a specific contact identified by the user ID:

Delete Contact:
Display Name: "Remove John Doe"
User ID: "123456789"
Result: contactDeletionResponse

In this example, the activity deletes the contact associated with the user ID "123456789." The workflow ensures that the contact is successfully removed from Freshdesk, and the response is stored in the dynamic variable "contactDeletionResponse" for further handling.