Remove Tags

With this operation, the automation can remove tags from a person's record, ensuring segmentation and contact profiling are always up to date.

Certainly. Concluding tag management, here is the documentation for the Remove operation.


Page: Remove Tags

Suggested URL: /automation-flows/all-components/hablla/people/remove-tags

(Start of page content)

Remove Tags

The Remove Tags operation allows you to disassociate one or more labels (tags) from a person record. Keeping a contact's tags up to date is as important as adding them, as it ensures your segmentations remain accurate and relevant.

This action is useful to reflect changes in a contact's status or interests. For example, if a customer cancels a service, you can remove the "Active-Customer" tag, or if a lead no longer shows interest in a product, the corresponding interest tag can be removed.

The operation removes only the specified tags, keeping all other tags the person may have.

How to Configure

  1. In Hablla Studio, add the "People" block to your automation flow.

  2. In the "Operation" field, select the "Remove Tags" option.

  3. In the "Person ID" field (personId), enter the identifier of the contact from which the tags will be removed.

  4. In the "Tags" field, select the tags you want to disassociate.


Parameters

Field
Type
Required?
Description

Person ID

Text

✅ Yes

The unique ID of the person (contact) from whom the tags will be removed.

Tags

List of Tags

✅ Yes

One or more tags to be removed from the contact.

Export to Spreadsheets


Structure (Using JSON)

The JSON request body must contain an array called tags with the tag ID(s) or name(s) to be removed.

JSON

{
  "tags": [
    "tag_id_or_name_1",
    "tag_id_or_name_2"
  ]
}

🚀 Example Use Case

Goal: When a contact clicks the "unsubscribe" link in a specific newsletter about "Monthly Promotions", remove the "Subscribed-Promotions" tag from their profile.

  1. Your email marketing platform should be configured to trigger a Webhook when the unsubscribe link for the "Monthly Promotions" campaign is clicked. The webhook sends the contact's email.

  2. Create a flow that starts with the trigger of this Webhook.

  3. Use the "Find Person by Email" operation to find the personId of the contact.

  4. If the person is found, add the "People" block with the "Remove Tags" operation.

  5. In the "Person ID" field, enter the variable of the ID found in the previous step ({{steps.2.result.id}}).

  6. In the "Tags" field, select the "Subscribed-Promotions" tag.

With this automation, you manage your contacts' communication preferences instantly and automatically, ensuring compliance and improving the user experience.

Last updated

Was this helpful?