AvantGuard - ClerkChat icon

AvantGuard - ClerkChat

AvantGuard - ClerkChat

Overview

This node operation allows creating a new reseller account by providing essential credentials and identifiers. It is useful in scenarios where you need to programmatically add resellers to a system, such as onboarding partners or managing reseller accounts in bulk. For example, a company using this node can automate the creation of reseller profiles with usernames, passwords, and external IDs, optionally including additional company information.

Properties

Name Meaning
Username The username for the reseller; must be at least 5 characters long.
Password The password for the reseller; must be at least 8 characters long.
External Id An external identifier for the reseller, used to link or reference the reseller externally.
Additional Body Fields Optional extra fields to include in the request body. Currently supports: Company Name (string).

Output

The node outputs JSON data representing the response from the API after creating the reseller. This typically includes details about the newly created reseller such as their ID, username, and any other metadata returned by the service. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key or authentication token configured in n8n credentials to authorize requests.
  • Depends on an external REST API endpoint (base URL provided via credentials) that manages reseller accounts.
  • The node sends HTTP requests with JSON bodies containing the reseller data.

Troubleshooting

  • Validation Errors: If the username is shorter than 5 characters or the password is shorter than 8 characters, the API may reject the request. Ensure these minimum lengths are met.
  • Authentication Failures: Missing or invalid API credentials will cause authorization errors. Verify that the API key/token is correctly set up in n8n.
  • API Endpoint Issues: Network problems or incorrect base URL configuration can lead to connection failures. Confirm the API URL is correct and reachable.
  • Missing Required Fields: Omitting required properties like username, password, or external ID will result in errors. Always provide these mandatory inputs.

Links and References

  • Refer to your API provider’s documentation for detailed information on reseller creation endpoints and required fields.
  • n8n documentation on how to configure API credentials and use HTTP request nodes for custom integrations.

Discussion