Add/Remove Tag - Captain icon

Add/Remove Tag - Captain

Node to add or remove Tag

Actions2

  • Add Tag Actions
  • Remove Tag Actions

Remove Tag → Post

AI-generated

Overview

This node removes a specified tag from users. It is useful in scenarios where you want to manage user tags dynamically, such as removing a tag from users after a certain event or condition is met. For example, you might remove a promotional tag from users who have already redeemed an offer.

Use Case Examples

  1. Removing a 'VIP' tag from users who no longer qualify for VIP status.
  2. Removing a 'Newsletter Subscriber' tag from users who have unsubscribed.

Properties

Name Meaning
Tag Name The name of the tag to be removed from the users.
Users A string representing users to remove the tag from. If left blank, the node uses users from the previous node's output.

Output

JSON

  • response - The JSON response from the API after attempting to remove the tag from users.

Dependencies

  • Requires an API key credential provided via environment variable `UNEXO_API_KEY`.
  • Requires the base URL for the API provided via environment variable `CDP_URL`.

Troubleshooting

  • Common issues include network errors or invalid API keys, which result in failed HTTP requests. The node retries the request up to 3 times with a 2-second delay between attempts.
  • If the tag name is missing or users list is empty, the API call may fail or have no effect.
  • Ensure environment variables `UNEXO_API_KEY` and `CDP_URL` are correctly set and accessible.

Discussion