4leads icon

4leads

Interact with 4leads

Actions33

Overview

This node integrates with the 4leads platform to manage contacts and other related resources. Specifically, for the Contact - Create operation, it allows users to create a new contact in the 4leads system by providing essential contact details such as name, email, phone numbers, address, and other optional fields.

Common scenarios where this node is beneficial include:

  • Automating the addition of new leads or customers collected from web forms or other sources into the 4leads CRM.
  • Synchronizing contact data from other systems into 4leads without manual entry.
  • Enriching marketing automation workflows by programmatically creating contacts with detailed information.

Practical example:

  • After a user submits a signup form on a website, this node can be used to automatically create a contact record in 4leads with their firstname, lastname, email, mobile number, and additional details like company and birthday.

Properties

Name Meaning
Firstname The first name of the contact.
Lastname The last name of the contact.
E-Mail The email address of the contact. (Required)
Mobile The mobile phone number of the contact.
Additional Fields A collection of optional fields to provide more details about the contact:
- Salutation The salutation for the contact; options are "Herr" (m), "Frau" (f), or "Divers" (d).
- Company The company name associated with the contact.
- Phone Number An additional phone number for the contact.
- Birthday The birth date of the contact.
- Position (Company) The job position of the contact within their company.
- Country The country of the contact; selectable from a comprehensive list of countries.
- Street The street address of the contact.
- Street Number The street number of the contact's address.
- ZIP Code The postal code of the contact's address.
- City The city of the contact's address.
- Fax The fax number of the contact.
- Website The website URL associated with the contact.
- Skype The Skype ID of the contact.

Output

The node outputs an array of JSON objects representing the created contact(s) in 4leads. Each object contains the details of the newly created contact as returned by the 4leads API. This typically includes identifiers, timestamps, and all provided contact information.

If the node supports binary data output (not indicated here), it would summarize that binary data relates to attachments or files associated with the contact, but this operation focuses on JSON data only.

Dependencies

  • Requires an active connection to the 4leads platform via an API key credential configured in n8n.
  • The node depends on the 4leads API being accessible and the credentials having permissions to create contacts.
  • No additional external services are required beyond the 4leads API.

Troubleshooting

  • Missing Required Fields: The "E-Mail" field is mandatory. Omitting it will likely cause an error from the API. Ensure this field is always provided.
  • Invalid Field Values: Providing invalid values for fields like "Country" (not in the allowed list) or incorrect date formats for "Birthday" may result in API errors.
  • API Authentication Errors: If the API key credential is invalid or expired, the node will fail to authenticate. Verify and update credentials as needed.
  • Network Issues: Connectivity problems to the 4leads API endpoint will cause execution failures. Check network access and proxy settings if applicable.
  • Error Messages: Errors thrown by the node generally come from the 4leads API responses. Review the error message for hints (e.g., validation errors, permission denied) and adjust input accordingly.

Links and References

Discussion