MOCO icon

MOCO

Consume MOCO API

Overview

This node interacts with the MOCO API to perform operations related to companies. Specifically, the 'Get' operation under the 'Company' resource retrieves detailed information about a specific company by its ID. This is useful for workflows that need to fetch company data for further processing, reporting, or integration with other systems. For example, a user might use this node to get company details before updating records in a CRM or generating invoices.

Use Case Examples

  1. Retrieve detailed information about a company by selecting it from a list or specifying its ID using an expression.
  2. Use the retrieved company data to automate customer management or reporting tasks.

Properties

Name Meaning
Company Name or ID The identifier of the company to retrieve. Can be selected from a list of companies or specified using an expression.

Output

JSON

  • id - The unique identifier of the company.
  • name - The name of the company.
  • type - The type of the company (e.g., customer, supplier).
  • currency - The currency used by the company.
  • identifier - The company's identifier code.
  • countryCode - The country code of the company.
  • vatIdentifier - The VAT identifier of the company.
  • website - The company's website URL.
  • phone - The company's phone number.
  • email - The company's email address.
  • address - The company's address details.
  • customProperties - Custom properties associated with the company.
  • tags - Tags assigned to the company.

Dependencies

  • MOCO API

Troubleshooting

  • Ensure the API credentials for MOCO are correctly configured and have the necessary permissions to access company data.
  • If the company ID is invalid or not found, the node will throw an error. Verify the company ID or use the dynamic list to select a valid company.
  • Network issues or API rate limits may cause request failures. Check connectivity and MOCO API status if errors occur.

Links

Discussion