Actions22
- App Actions
- Account Actions
- Channel Actions
- Message Actions
- Template Actions
- Contact Actions
- Tag Actions
- User Actions
- Team Actions
- Webhook Actions
Overview
The node provides integration with the Poli API, enabling various operations on different resources such as contacts, tags, messages, apps, and more. Specifically, for the Contact resource and the Add Tag to Contact operation, this node allows you to add an existing tag to a specified contact by their unique identifiers (UUIDs). This is useful in scenarios where you want to categorize or label contacts dynamically within your workflow, for example, tagging customers based on their behavior or status.
Practical examples:
- Automatically tagging a contact as "VIP" after a purchase.
- Adding a "Newsletter Subscriber" tag when a user signs up.
- Organizing contacts into groups for targeted messaging campaigns.
Properties
| Name | Meaning |
|---|---|
| Contact ID | UUID of the contact to which the tag will be added. |
| Tag ID | UUID of the tag that will be added to the specified contact. |
Output
The output JSON contains the result of the tag addition operation on the contact. Typically, it includes confirmation details such as the updated contact information or a success status indicating the tag was successfully added. The exact structure depends on the Poli API response but generally confirms the association between the contact and the tag.
This node does not explicitly mention binary data output.
Dependencies
- Requires an API key credential for authenticating requests to the Poli API.
- The node depends on the Poli API service being accessible and properly configured.
- No additional environment variables are indicated beyond the required API authentication.
Troubleshooting
Common issues:
- Invalid or missing Contact ID or Tag ID: Ensure both UUIDs are correct and correspond to existing entities in the Poli system.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network or API downtime: Check connectivity and Poli API status.
Error messages:
"Resource 'contact' não encontrado": The specified resource is not recognized; ensure the resource parameter is set to "contact"."Operação 'addTag' não encontrada para o resource 'contact'": The operation is invalid for the resource; confirm the operation name is "addTag".- API errors related to invalid UUIDs or permission denied will come from the Poli API and should be handled accordingly.
Links and References
- Poli API Documentation (general reference): https://docs.poliapi.com (example placeholder, replace with actual URL if known)
- n8n Documentation on creating custom nodes: https://docs.n8n.io/integrations/creating-nodes/