Bitrix24 icon

Bitrix24

袪邪斜芯褌邪 褋 Bitrix24 API

袣芯薪褌邪泻褌 → 小芯蟹写邪褌褜

AI-generated

Overview

This node interacts with the Bitrix24 API to perform create and update operations on the Contact resource. It supports input data in two formats: form and JSON. Users can specify contact fields either as a JSON object or as a collection of field name-value pairs. The node processes these inputs to create or update contact records in Bitrix24, making it useful for automating contact management tasks such as adding new contacts or updating existing contact information.

Use Case Examples

  1. Creating a new contact by specifying fields like name, phone, and email in form format.
  2. Updating an existing contact using a JSON object with updated field values.

Properties

Name Meaning
inputFormat Specifies the format of the input data for create or update operations, either form (field collection) or JSON.
fieldsJson The JSON object containing contact fields and their values, used when inputFormat is JSON.
fields A collection of contact fields and their values, used when inputFormat is form. Supports multiple values and sorting. Includes special handling for communication types like phone and email with specific value types.

Output

JSON

  • id - The unique identifier of the created or updated contact record.
  • result - The full API response result from the create or update operation, including details of the contact record.

Dependencies

  • Bitrix24 API access with appropriate credentials

Troubleshooting

  • Ensure the input data format matches the selected inputFormat property to avoid parsing errors.
  • Verify that required fields for the Contact resource are provided to prevent API errors.
  • Check API credentials and permissions if the node fails to connect or perform operations.
  • Handle errors gracefully by enabling 'Continue On Fail' to process multiple items without stopping on the first error.

Discussion