Actions22
- Broadcasts Actions
- Embeddings Actions
- Contacts Actions
- Conversations Actions
- Tags Actions
Overview
This node allows you to create a new tag within the Cogfy Messenger system. Tags are useful for organizing, categorizing, or labeling entities such as messages, users, or other resources managed by the platform. By creating tags dynamically, you can automate workflows that require tagging for filtering, searching, or triggering specific actions based on tag presence.
A practical example would be automatically creating a tag named "Urgent" when certain conditions in your workflow are met, enabling downstream nodes or systems to prioritize or handle tagged items differently.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the tag to create. This is a required string input specifying the exact label you want to assign as a new tag. |
Output
The node outputs JSON data representing the newly created tag object returned from the Cogfy Messenger API. This typically includes details such as the tag's unique identifier, its name, and possibly metadata related to creation time or associated resources.
No binary data output is involved.
Dependencies
- Requires an active connection to the Cogfy Messenger API.
- Needs an API authentication token credential configured in n8n to authorize requests.
- The base URL for the API must be set in the credentials configuration.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing an empty or duplicate tag name may result in API errors.
- Network connectivity problems can prevent successful API calls.
Error messages and resolutions:
- Authentication failed: Verify that the API key/token is correctly configured and has necessary permissions.
- Tag name already exists: Choose a unique tag name or handle duplicates in your workflow logic.
- Invalid request body: Ensure the "Name" property is provided and is a non-empty string.
Links and References
- Cogfy Messenger API documentation (refer to official API docs for detailed tag management endpoints)
- n8n documentation on creating custom nodes and using API credentials