MOCO icon

MOCO

Consume MOCO API

Overview

This node interacts with the MOCO API to list contacts. It allows users to retrieve contact records with options to return all contacts or limit the number of results. Users can filter contacts by IDs, updated timestamp, phone number, or search term. This is useful for scenarios where you need to fetch and process contact data from MOCO, such as syncing contacts with another system or generating reports.

Use Case Examples

  1. Fetch all contacts without limit to process in a workflow.
  2. Retrieve up to 50 contacts updated after a specific date for incremental data sync.
  3. Filter contacts by specific IDs or phone numbers to get targeted contact information.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of contact results to return when 'Return All' is false.
IDs Comma-separated list of contact IDs to filter and fetch specific contacts.
Updated After Timestamp to filter contacts created or updated after this date.
Additional Fields Additional optional filters such as phone number and search term to refine the contact list.

Output

JSON

  • id - Unique identifier of the contact.
  • firstname - First name of the contact.
  • lastname - Last name of the contact.
  • company_id - ID of the company associated with the contact.
  • phone - Phone number of the contact (if filtered or returned).
  • email - Email address of the contact (if available).
  • updated_at - Timestamp when the contact was last updated.

Dependencies

  • MOCO API with API key credential

Troubleshooting

  • Ensure the MOCO API credentials are correctly configured to avoid authentication errors.
  • If no contacts are returned, verify the filter parameters such as IDs, updatedAfter, phone, or term are correctly set.
  • API rate limits or network issues may cause request failures; check connectivity and retry if needed.

Links

Discussion