Cogfy Messenger icon

Cogfy Messenger

Interact with Cogfy Messenger API

Overview

The node provides functionality to create a new contact in the Cogfy Messenger system. It is designed to collect and send detailed contact information such as names, email, phone number, occupation, gender, birthdate, age, and notes to the backend service.

This node is beneficial in scenarios where you want to automate the addition of contacts into your messaging or CRM platform, for example:

  • Automatically adding new leads captured from a web form.
  • Syncing user data from other systems into Cogfy Messenger.
  • Enriching contact lists with additional demographic or personal details.

Properties

Name Meaning
Wa Profile Name The WhatsApp profile name associated with the contact.
First Name The first name of the contact.
Last Name The last name of the contact.
Email The email address of the contact.
Phone The phone number of the contact.
Occupation The occupation or job title of the contact.
Gender The gender of the contact.
Birthdate The birthdate of the contact, typically in string format (e.g., YYYY-MM-DD).
Age The age of the contact as a number.
Notes Additional notes or comments about the contact.

Output

The node outputs JSON data representing the newly created contact record as returned by the Cogfy Messenger API. This typically includes all the fields sent during creation along with any additional metadata or identifiers assigned by the backend.

There is no indication that the node outputs binary data.

Dependencies

  • Requires an API key credential for authenticating with the Cogfy Messenger API.
  • The base URL for the API must be configured in the node credentials.
  • The node uses HTTP requests with JSON payloads to communicate with the external Cogfy Messenger service.

Troubleshooting

  • Common issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Incorrectly formatted input data (e.g., invalid date formats) may result in API errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors usually indicate missing or incorrect API keys; verify credentials.
    • Validation errors from the API often specify which field is invalid; check input property values.
    • Timeout or connection errors suggest network issues; ensure the API endpoint is reachable.

Links and References

  • Cogfy Messenger API documentation (refer to your internal or vendor-provided docs).
  • n8n documentation on creating custom nodes and using HTTP request nodes for API integration.

Discussion