AvantGuard - WebhookSite icon

AvantGuard - WebhookSite

AvantGuard - WebhookSite

Actions100

Overview

This node operation allows you to create (post) a new company record in an external system via an API. It is useful for automating the addition of company data into a CRM, ERP, or any business management platform that supports company entities. Typical use cases include onboarding new clients, syncing company databases, or integrating lead generation tools with backend systems.

For example, when a new client signs up on your website, this node can automatically add their company details to your CRM without manual entry.

Properties

Name Meaning
Additional Body Fields Optional fields to specify additional company details such as:
- Name: The name of the company
- Nickname: The nickname of the company
- Company Type: The type/category of the company
- Address Line 1: First line of the company's address
- Address Line 2: Second line of the company's address
- City: City where the company is located
- State: State where the company is located
- Zip: Zip/postal code of the company's location
- Country Name: Country where the company is located
- Phone Number: Company's phone number
- Fax Number: Company's fax number
- Website: Company's website URL
- Id Number: Company's identification number
- Parent Company Id: Numeric ID of the parent company, if applicable
- Notes: Additional notes about the company

These fields are sent in the request body to define the company attributes when creating the record.

Output

The node outputs JSON data representing the newly created company object as returned by the external API. This typically includes all the company details stored, including any unique identifiers assigned by the system.

If the API supports binary data output (e.g., attachments), it would be included accordingly, but based on the provided information, the output is primarily JSON.

Dependencies

  • Requires an API key or authentication token configured in n8n credentials to authorize requests to the external service.
  • The base URL for the API must be set in the node's credential configuration.
  • Depends on the external system's API endpoint for creating companies.

Troubleshooting

  • Authentication errors: Ensure the API key or authentication token is correctly configured and has permissions to create company records.
  • Validation errors: If required fields are missing or invalid (e.g., incorrect data types), the API may reject the request. Verify all mandatory fields are provided and formatted properly.
  • Network issues: Check connectivity to the external API endpoint and confirm the base URL is correct.
  • Unexpected API responses: Review the API documentation for any changes or additional required parameters.

Links and References

  • Refer to the external system's API documentation for detailed information on the "Create Company" endpoint and supported fields.
  • n8n documentation on HTTP Request node for general API integration guidance.

Discussion