uChat

Integração com a API do uChat

Overview

This node integrates with the uChat API to manage and search contacts (subscribers) with advanced filtering options. It allows users to search for contacts based on various criteria such as interaction status, custom fields, communication channels, email, phone, tags, and more. This is useful for scenarios where you need to segment or find specific contacts in your uChat subscriber list for targeted communication or analysis.

Use Case Examples

  1. Search for contacts who interacted in the last 24 hours via WhatsApp and have opted in to receive emails.
  2. Filter contacts by a custom field and tag to create a targeted marketing list.
  3. Retrieve a paginated list of contacts filtered by name, phone, or email for CRM synchronization.

Properties

Name Meaning
Filtros Collection of filters to refine the search query for contacts, including interaction status, custom fields, communication channels, email, phone, tags, and pagination options.

Output

JSON

  • ``
    • user_ns - Unique identifier of the contact.
    • first_name - First name of the contact.
    • last_name - Last name of the contact.
    • email - Email address of the contact.
    • phone - Phone number of the contact.
    • tags - Tags associated with the contact.
    • custom_fields - Custom fields and their values for the contact.

Dependencies

  • uChat API

Troubleshooting

  • Ensure the API credentials for uChat are correctly configured and valid to avoid authentication errors.
  • Check that the filter parameters are correctly formatted and within allowed ranges (e.g., limit between 1 and 100).
  • If no results are returned, verify that the filter criteria match existing contacts in the uChat system.
  • Handle JSON parsing errors gracefully when using template parameters or custom field values.

Links

Discussion