Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Tag → Sincronizar

AI-generated

Overview

This node operation synchronizes tags with a specific contact in the Press Ticket® system. It is useful when you want to update the tags associated with a contact by replacing the existing tags with a new set of tags. For example, you can use this operation to ensure that a contact's tags are up-to-date based on recent interactions or categorizations.

Use Case Examples

  1. Synchronize tags for a contact by providing the contact ID and a comma-separated list of tag IDs to be associated with that contact.
  2. Use this operation to manage contact tags in bulk, ensuring the contact's tags reflect the current status or preferences.

Properties

Name Meaning
ID do Contato The ID of the contact for which the tags will be synchronized.
IDs das Tags Comma-separated list of tag IDs to synchronize with the contact (e.g., 1,2,3).

Output

JSON

  • id - ID of the synchronized tag or operation result
  • name - Name of the tag (if returned)
  • color - Color of the tag in hexadecimal format (if returned)
  • contactId - ID of the contact whose tags were synchronized
  • tagIds - List of tag IDs that were synchronized with the contact
  • success - Indicates if the synchronization was successful
  • error - Error message if the synchronization failed

Dependencies

  • Press Ticket® API authentication token

Troubleshooting

  • Ensure the contact ID and tag IDs are valid and exist in the system.
  • Verify that the API token used for authentication has the necessary permissions to update contact tags.
  • If the response format is unexpected, check the API documentation for any changes in the endpoint response.
  • Handle errors gracefully by enabling 'Continue On Fail' to capture error messages in the output.

Discussion