Actions19
- Agent Actions
- Campaign Actions
- Contact Actions
- Custom Field Actions
- Label Actions
- WhatsApp Actions
Overview
This node integrates with the Wasapi API, specifically allowing users to create custom fields within their Wasapi environment. Custom fields are useful for extending data models by adding user-defined attributes that can be used to store additional information relevant to contacts, messages, or other entities managed through Wasapi.
A common scenario for this node is when a user wants to track extra metadata about WhatsApp contacts or conversations that are not covered by default fields. For example, a business might want to add a "Customer Tier" or "Preferred Contact Time" as custom fields to better segment and manage customer interactions.
Properties
| Name | Meaning |
|---|---|
| Field Name | The name of the custom field to create. This is a required string input specifying the label for the new custom field. |
Output
The node outputs JSON data representing the newly created custom field as returned by the Wasapi API. This typically includes details such as the field's unique identifier, name, type, and any other metadata provided by the API response.
No binary data output is indicated in the source code.
Dependencies
- Requires an active connection to the Wasapi API.
- Requires an API key credential configured in n8n for authenticating requests to Wasapi.
- The base URL for API requests is
https://api-ws.wasapi.io/api/v1.
Troubleshooting
- Unsupported Resource/Operation Error: If you receive an error stating that the resource or operation is not supported, verify that you have selected "Custom Field" as the resource and "Create" as the operation.
- Authentication Errors: Ensure that the API key credential is correctly set up and has sufficient permissions to create custom fields.
- Validation Errors: The "Field Name" property is required. Omitting it or providing invalid characters may cause the API to reject the request.
- API Connectivity Issues: Network problems or incorrect base URL configuration can prevent successful communication with the Wasapi API.
Links and References
- Wasapi Official API Documentation (for detailed API capabilities and custom field schema)
- n8n Documentation on Credentials (for setting up API authentication)