WbCommunication icon

WbCommunication

n8n node to interact with WB API

Overview

This node allows creating new response templates by sending template data to an external API. It is useful in scenarios where you want to automate the management of predefined text templates for customer feedback or questions, such as generating standardized replies or managing frequently used messages.

For example, a user can create a template named "Thank You Review" with a specific text to quickly respond to customer reviews, or a "FAQ Answer" template to handle common questions efficiently.

Properties

Name Meaning
Name The name of the template (between 1 and 100 characters).
Template Type The type of the template:
1 - template for reviews
2 - template for questions
Text The text content of the template (between 2 and 1000 characters).

Output

The node outputs JSON data representing the result of the template creation request. This typically includes confirmation details such as the created template's ID, name, type, and text. There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured from an imported Swagger/OpenAPI specification.
  • The node sends HTTP requests with JSON payloads containing the template data.

Troubleshooting

  • Validation errors: If the "Name" or "Text" fields do not meet length requirements, the API may reject the request. Ensure the input values respect the specified character limits.
  • Authentication failures: Missing or invalid API credentials will cause authorization errors. Verify that the API key is correctly configured.
  • Network issues: Connectivity problems with the external API endpoint can cause timeouts or connection errors. Check network settings and API availability.
  • Incorrect template type: Using a value other than 1 or 2 for "Template Type" may lead to unexpected behavior or errors. Use only the documented options.

Links and References

  • No direct links provided in the source code.
  • For more information on template types and API usage, consult the external API documentation associated with the service this node interacts with.

Discussion