Payhawk icon

Payhawk

Interact with the Zitadel API

Actions99

Suppliers → Creates A New Supplier

AI-generated

Overview

This node operation creates a new supplier in an external system. It is useful when you need to programmatically add supplier records as part of an automated workflow, such as onboarding new vendors or integrating supplier management with other business processes.

For example, you might use this node to automatically create supplier entries when receiving purchase requests from another system, ensuring your supplier database stays up-to-date without manual input.

Properties

Name Meaning
Account Id Identifier of the account to which the new supplier will be linked

Output

The node outputs JSON data representing the newly created supplier record. This typically includes details such as the supplier's unique identifier, associated account information, and any metadata returned by the external API upon creation.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the external service.
  • The node uses a base URL configured via credentials/environment variables to connect to the external API.
  • Depends on an OpenAPI-based client library for making HTTP requests to the supplier management API.

Troubleshooting

  • Missing or invalid Account Id: The operation requires a valid account identifier. Ensure the "Account Id" property is provided and correctly formatted.
  • Authentication errors: Verify that the API key or authentication token is correctly set up in the node credentials.
  • Network or API errors: Check connectivity to the external API endpoint and ensure the base URL is correct.
  • Unexpected API responses: Confirm that the external API supports creating suppliers and that the request payload matches expected formats.

Links and References

  • Refer to the external supplier management API documentation for details on required fields and response structure.
  • Consult n8n documentation on setting up API credentials and using OpenAPI-based nodes.

Discussion