Superchat icon

Superchat

Receive and send messages from WhatsApp, Instagram, Messenger, E-Mail, SMS, via Live Chat and Telegram.

Contact → Create Contact

AI-generated

Overview

This node operation creates a new contact in the Superchat system. It is useful for scenarios where you need to add new contacts with detailed information such as their first name, last name, gender, multiple email addresses, phone numbers, and custom attributes. For example, it can be used in customer relationship management workflows to automatically add new leads or clients to the contact database.

Use Case Examples

  1. Adding a new contact with basic details like first name, last name, and gender.
  2. Creating a contact with multiple email addresses and phone numbers for comprehensive communication options.
  3. Including custom attributes to store additional contact-specific information beyond standard fields.

Properties

Name Meaning
First Name The first name of the contact.
Last Name The last name of the contact.
Gender The gender of the contact.
Email Addresses The email addresses of the contact. Multiple email addresses can be added.
Phone Numbers The phone numbers of the contact. Multiple phone numbers can be added.
Custom Attributes Custom attributes for the contact, allowing additional fields to be defined and mapped.

Output

JSON

  • id - The unique identifier of the created contact.
  • firstName - The first name of the created contact.
  • lastName - The last name of the created contact.
  • gender - The gender of the created contact.
  • emails - List of email addresses associated with the contact.
  • phoneNumbers - List of phone numbers associated with the contact.
  • customAttributes - Custom attributes set for the contact.

Dependencies

  • Requires an API key credential for Superchat API authentication.

Troubleshooting

  • Common issues include missing required fields such as first name or last name, which may cause the API to reject the creation request.
  • Invalid email or phone number formats might cause errors; ensure the data conforms to expected formats.
  • API authentication errors if the provided API key credential is invalid or missing.
  • Network or connectivity issues when calling the Superchat API can cause failures; verify network access and API endpoint availability.

Links

  • Superchat API Documentation - Official documentation for the Superchat API, useful for understanding the contact creation endpoint and required parameters.

Discussion