Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

This node operation "Add Tags to Lead" allows users to add one or more tags to a specific lead in their system. It is useful for organizing, categorizing, or segmenting leads based on custom tags, which can then be used for targeted marketing, follow-ups, or reporting.

Practical examples:

  • Adding tags like "Interested", "Newsletter Subscriber", or "VIP" to leads after certain interactions.
  • Automatically tagging leads imported from external sources to track their origin.
  • Updating lead profiles with tags that reflect their current status or preferences.

Properties

Name Meaning
Lead ID The unique identifier of the lead to which tags will be added.
Tags A string representing tags to be added to the lead. This can be a comma-separated list or a single tag.
Selectable Tags A list of pre-existing tags available in the account. Users can select multiple tags from this list to add to the lead.

Output

The node outputs JSON data representing the result of the tag addition operation. Typically, this includes confirmation of the tags added and possibly the updated lead information reflecting the new tags.

If binary data is output (not indicated here), it would generally represent attachments or files related to the lead, but this node focuses on JSON data about tags.

Dependencies

  • Requires access to an external API at https://api.notificacoesinteligentes.com to fetch existing tags.
  • Needs an API authentication token or key configured in n8n to authorize requests to the external service.
  • The node uses HTTP requests with authentication to interact with the external service's endpoints.

Troubleshooting

  • Common issues:

    • Failure to authenticate with the external API due to missing or invalid credentials.
    • Network timeouts or connectivity issues when calling the external API.
    • Providing an invalid or non-existent Lead ID may cause errors or no changes.
    • Using tags that do not exist or are improperly formatted might result in failure to add tags.
  • Error messages and resolutions:

    • Authentication errors: Verify that the API key or token is correctly set up in n8n credentials.
    • Timeouts: Check network connectivity and increase timeout settings if necessary.
    • Invalid Lead ID: Confirm the Lead ID exists in the system before running the node.
    • Tag-related errors: Use the "Selectable Tags" property to pick valid tags or ensure the "Tags" string is properly formatted.

Links and References

Discussion