Actions133
- Address Actions
- Bank Transaction Actions
- Company Actions
- Contract (Order) Actions
- Document Actions
- Employee (Contact) Actions
- Event Actions
- Expense Actions
- Expense Payment Actions
- Invoice Actions
- Invoice Payment Actions
- Opportunity Actions
- Product Actions
- Project Actions
- Quotation Actions
- Supplier Actions
- Supplier Contract Actions
- Supplier Delivery Actions
- Diverse Operations Actions
- Delivery Forms Actions
- Task Actions
- Ticket Actions
- Timetracking Actions
- Themes Actions
- Bank Accounts Actions
- Company Categories Actions
- Task Natures Actions
- Project Natures Actions
- Tax Rates Actions
- Accounting Codes Actions
- Languages Actions
- Workforces Actions
- Payslips Actions
- Pipes Actions
- Account Actions
Company → Upsert
AI-generatedSummary
Upsert a company by creating a new record if no existing company matches the given unique field and value or updating the existing company otherwise.
Inputs
- Unique Field (required) — Select the unique field to identify the existing company record, either 'Name' or 'Third Party Code'.
- Unique Value (required) — Specify the value to search for in the selected unique field to find an existing company.
- Add Fields — Provide additional fields such as Email, Phone, Website, Third Party Code, Address, City, Postal Code, and Country to set on the company record.
Output shape
a single company record object.
The operation first attempts to find an existing company matching the unique field and value. If found, it updates that company with the provided additional fields. If not found, it creates a new company record using the unique field and value plus any additional fields. The returned object includes the company data and an '_operation' property indicating if it was 'created' or 'updated'.