MOCO

Consume MOCO API

Actions20

Overview

This node integrates with the MOCO API to manage company data, specifically allowing the creation of new company records. It supports creating companies of different types such as customers, suppliers, and organizations, with various customizable fields. This node is useful for automating company data entry in business workflows, such as adding new clients or suppliers to a CRM or ERP system.

Use Case Examples

  1. Automatically create a new customer company in MOCO when a new lead is captured in a marketing platform.
  2. Add a supplier company to MOCO when onboarding a new vendor through an internal procurement system.

Properties

Name Meaning
Name The name of the company to be created.
Type The type of the company, e.g., customer, supplier, or organization.
Currency Currency used by the company, required if the company type is customer.
Identifier Identifier of the customer, mandatory if not automatically assigned, applicable only for customer type.
Additional Fields A collection of optional fields to provide more details about the company, such as address, contact info, tax details, custom properties, tags, and more.

Output

JSON

  • id - Unique identifier of the created company.
  • name - Name of the created company.
  • type - Type of the created company (customer, supplier, organization).
  • currency - Currency of the company (if customer).
  • identifier - Customer identifier (if applicable).
  • address - Address of the company.
  • email - Email address of the company.
  • phone - Phone number of the company.
  • fax - Fax number of the company.
  • website - Website URL of the company.
  • tags - Tags associated with the company.
  • custom_properties - Custom properties defined for the company.

Dependencies

  • MOCO API
  • API authentication token (credential required)

Troubleshooting

  • Ensure all required fields are provided, especially 'Name' and 'Type'.
  • For customer type, 'Currency' is mandatory; missing it will cause errors.
  • Custom properties must be provided as key-value pairs; incorrect formatting may cause API errors.
  • API authentication errors may occur if credentials are missing or invalid; verify API key setup.
  • Network or connectivity issues can cause request failures; check internet connection and API endpoint availability.

Links

Discussion