Bitrix24 icon

Bitrix24

Interact with Bitrix24 CRM and business platform

Actions290

Overview

This node integrates with the Bitrix24 platform, specifically allowing users to add new user records to the Bitrix24 system. It supports multiple authentication methods and flexible input of user data in JSON format. This node is beneficial for automating user management workflows such as onboarding new employees, synchronizing user databases, or integrating Bitrix24 user data with other systems.

For example, a company could use this node to automatically add new hires from an HR system into Bitrix24, ensuring their contact details and roles are immediately available within the CRM and collaboration tools.

Properties

Name Meaning
Authentication Method used to authenticate API requests. Options: OAuth2 (recommended), Webhook (simpler), API Key.
User Data JSON object containing the user information to be added.
Options Additional optional parameters:
- Filter JSON filter criteria (not typically used for adding users but available).
- Order JSON sort criteria (not typically used for adding users but available).
- Admin Mode Boolean flag indicating whether to perform the operation in admin mode.
- Custom Parameters JSON object for any extra custom parameters to include in the request.

Output

The node outputs an array of items where each item contains a json field representing the response from Bitrix24 after attempting to add the user. The structure of the json output depends on the Bitrix24 API response but generally includes details about the newly created user record or error information if the operation failed.

If the node encounters an error and "Continue On Fail" is enabled, it outputs an item with a json field containing:

  • error: The error message.
  • resource: The resource name ("user").
  • timestamp: The ISO timestamp when the error occurred.

No binary data output is indicated by the source code.

Dependencies

  • Requires valid Bitrix24 credentials configured in n8n, supporting one of these authentication methods:

    • OAuth2 token
    • Webhook URL
    • API key
  • The node relies on Bitrix24's REST API endpoints to perform user operations.

  • No additional external libraries beyond those bundled with the node are required.

Troubleshooting

  • Common Issues:

    • Incorrect or expired authentication credentials will cause API calls to fail.
    • Malformed JSON in the "User Data" property can lead to errors.
    • Insufficient permissions in Bitrix24 account may prevent user creation.
    • Network connectivity issues can cause timeouts or failures.
  • Error Messages:

    • Errors returned from Bitrix24 API will be included in the output if "Continue On Fail" is enabled.
    • Typical messages might include authentication failures, validation errors on user data, or permission denials.
  • Resolutions:

    • Verify and refresh authentication credentials.
    • Validate JSON syntax before execution.
    • Ensure the authenticated user has rights to add users.
    • Check network access and proxy settings if applicable.

Links and References

Discussion