AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node allows creating a new company record by sending a POST request to an external API. It is useful in scenarios where you need to programmatically add company data into a system, such as CRM platforms or custom business management tools. For example, after collecting company details from a form or another source, this node can automate the creation of that company in the target system.

Properties

Name Meaning
X USER ID The user identifier required for authentication or tracking purposes, sent as a header X-USER-ID.
Additional Body Fields Optional JSON fields to include additional data in the request body. This includes properties like:
- is_assessment (boolean)
- is_migrated (boolean)
- is_deleted (boolean)
- tags (stringified array)
- manual_tags (stringified array)

Output

The node outputs the JSON response returned by the API after creating the company. This typically contains the newly created company's details such as its ID, name, and any other metadata provided by the API. There is no indication that binary data is handled or outputted by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The base URL for the API must be configured in the node credentials.
  • The node sends HTTP requests with headers including Accept: application/json and Content-Type: application/json.
  • The X-USER-ID header must be provided as an input property for each execution.

Troubleshooting

  • Missing or invalid X USER ID header: The API may reject requests if this header is missing or incorrect. Ensure it is set properly.
  • Malformed JSON in Additional Body Fields: Since the additional fields are parsed from JSON, invalid JSON syntax will cause errors. Validate JSON before input.
  • API connectivity issues: Check network access and correct base URL configuration.
  • Authentication failures: Verify that the API key credential is valid and has necessary permissions.
  • Unexpected API responses: Inspect the raw response for error messages; ensure all required fields are included.

Links and References

  • Refer to the external API documentation for the "Create Company" endpoint for detailed field descriptions and constraints.
  • n8n documentation on HTTP Request nodes and credential setup for API integrations.

Discussion