Actions28
- Unsorted Actions
- Lead Actions
- Account Actions
- Catalog Actions
- Note Actions
- Company Actions
- Task Actions
- Contact Actions
Overview
The 'Create Contacts' operation in the 'Contact' resource of the n8n AmoCRM node enables users to add new contacts to their AmoCRM account. This functionality is particularly useful for automating the process of importing contact information from various sources, such as forms, spreadsheets, or other CRM systems, into AmoCRM. For example, a business can use this operation to automatically create a new contact in AmoCRM whenever a new lead is captured through their website's contact form.
Use Case Examples
- Automatically adding new leads from a website form to AmoCRM as contacts.
- Importing a list of contacts from a CSV file into AmoCRM for bulk addition.
- Synchronizing contacts between different CRM systems by creating corresponding contacts in AmoCRM.
Properties
| Name | Meaning |
|---|---|
| authentication | Specifies the authentication method for connecting to AmoCRM. Options include 'Long Lived Token' and 'OAuth2', with 'OAuth2' set as the default. |
| json | Indicates whether the input data is in JSON format. When set to true, the 'jsonString' property is used to provide the contact data. |
| jsonString | Contains the JSON string representing the contact data to be created. This property is used when the 'json' property is set to true. |
| collection | A collection of contact details to be added. Each contact includes properties such as 'name', 'first_name', 'last_name', 'responsible_user_id', 'created_by', 'updated_by', 'created_at', 'updated_at', 'custom_fields_values', and '_embedded'. This allows for the addition of multiple contacts in a single operation. |
Output
JSON
id- The unique identifier assigned to the newly created contact in AmoCRM.name- The name of the newly created contact.first_name- The first name of the newly created contact.last_name- The last name of the newly created contact.responsible_user_id- The ID of the user responsible for the contact.created_by- The ID of the user who created the contact.updated_by- The ID of the user who last updated the contact.created_at- The timestamp when the contact was created.updated_at- The timestamp when the contact was last updated.custom_fields_values- An array of custom field values associated with the contact._embedded- Contains embedded resources related to the contact, such as tags.
Dependencies
- AmoCRM API credentials (OAuth2 or Long Lived Token)
Troubleshooting
- Ensure that the authentication method selected matches the credentials provided.
- Verify that the contact data is correctly formatted, especially when using the 'jsonString' property.
- Check for any validation errors returned by the AmoCRM API, such as missing required fields or invalid data types.
Links
- n8n AmoCRM Node Documentation - Official documentation for the n8n AmoCRM node.
- AmoCRM API Documentation - Official documentation for the AmoCRM API.