NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Company → Create Company

AI-generated

Summary

Creates a company in NinjaPipe

Inputs

  • useGuidedFields — When enabled, builds the request body from the guided company fields. Disable to send a custom raw JSON body via rawBodyJson or advancedBodyJson.
  • companyName — Company name. Sent as name in the request body. Omitted if empty or whitespace-only.
  • companyEmail — Company email. Sent as email in the request body. Omitted if empty or whitespace-only.
  • companyPhone — Company phone. Sent as phone in the request body. Omitted if empty or whitespace-only.
  • companyWebsite — Company website URL. Sent as website in the request body. Omitted if empty or whitespace-only.
  • companyStatus — Company status. Sent as status in the request body. Omitted if empty or whitespace-only.
  • companyOwner — Company owner. Sent as owner in the request body. Omitted if empty or whitespace-only.
  • companyAddress — Company address. Sent as address in the request body. Omitted if empty or whitespace-only.
  • companyCity — Company city. Sent as city in the request body. Omitted if empty or whitespace-only.
  • companyZip — Company ZIP/postal code. Sent as zip in the request body. Omitted if empty or whitespace-only.
  • companyCountry — Company country code. Defaults to DE. Populates the State / Bundesland dropdown for supported countries (DE, AT, CH).
  • companyState — Company state/bundesland. Only available for supported countries (DE, AT, CH). Depends on the selected companyCountry.
  • companyNotes — Company notes. Sent as notes in the request body.
  • additionalFields — Add custom fields not covered by the guided UI. Each entry has a field key and a value with type (string, number, boolean, json, null).
  • customFields — Send custom fields as custom_fields in the request body. Each entry has a field key and a value with a type.
  • advancedBodyJson — Optional advanced JSON payload merged after the guided fields. Takes precedence over guided fields for overlapping keys.
  • rawBodyJson — Raw JSON body used when Use Guided Fields is disabled. Replaces the entire guided body sent to the API.
  • showAdvanced — When enabled, shows the Resource Path Override and Raw Body JSON fields.
  • resourcePathOverride — Override the default API endpoint path for the resource. Only used when Show Advanced Options is enabled.

Output shape

array of { json: object }

Returns an array of records from the API response. Each record contains the created company data. If the workflow has 'Flatten Custom Fields' enabled, custom field values are also included as cf_* keys alongside the original record fields.

Examples

Example 1: Create a company with guided fields

Set resource to Company, operation to Create Company, fill companyName, companyEmail, and leave other guided fields empty. The node will POST /companies with a body containing only the non-empty fields.

Example 2: Create a company with raw JSON

Disable Use Guided Fields and set rawBodyJson to a custom payload. The node will POST /companies with the exact JSON provided, ignoring all guided fields.

Links

Discussion