Actions89
- Direct API Actions
- CRM Actions
- Task Actions
- User Actions
- SPA Actions
- Activity Actions
- Automation Actions
- Document Generator Actions
- Data Storage Actions
- Chat Actions
Overview
This node integrates with the Bitrix24 platform, specifically focusing on managing automation rules within Bitrix24's CRM and business processes. The "Get All Rules" operation under the "Automation" resource retrieves a list of all automation rules configured for a specified document type or Smart Process.
Typical use cases include:
- Fetching all automation rules to audit or review existing automations.
- Integrating Bitrix24 automation data into other workflows or reporting tools.
- Dynamically loading automation rules to trigger further actions based on their configuration.
For example, a user might want to retrieve all automation rules related to CRM deals to analyze how leads are processed automatically or to synchronize these rules with another system.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate API requests. Options: - OAuth2 (recommended for production) - Webhook (simpler but less secure) - API Key authentication |
| Document Type | The type of document the automation rules apply to. Examples include CRM Deal, CRM Lead, CRM Contact, etc. This property is optional and defaults to "crm_deal". |
| Smart Process | When the document type is a Smart Process Automation entity, this required property lets you select which Smart Process with automation enabled to target. |
| Options | Additional options for the query: - Access Token: Override the default credentials with a specific access token. - Filter: JSON object to filter the returned rules. - Order: JSON object to sort the results. |
Output
The node outputs an array of items where each item contains a json field representing an individual automation rule retrieved from Bitrix24. The structure of each rule depends on Bitrix24's API response but typically includes identifiers, conditions, actions, and metadata about the automation rule.
If an error occurs and the node is set to continue on failure, the output will contain an item with an error message, the resource name, and a timestamp.
No binary data output is produced by this operation.
Dependencies
- Requires valid authentication with Bitrix24 via one of the supported methods: OAuth2, webhook URL, or API key.
- The node relies on Bitrix24's REST API endpoints to fetch automation rules.
- Proper permissions in Bitrix24 are necessary to read automation rules.
- Optionally, an access token can be provided directly in the node properties to override stored credentials.
Troubleshooting
Common Issues:
- Invalid or expired authentication tokens leading to authorization errors.
- Insufficient permissions in Bitrix24 to access automation rules.
- Incorrectly formatted JSON in the Filter or Order options causing API request failures.
- Selecting a Smart Process without automation enabled may return empty results.
Error Messages:
- Errors returned from Bitrix24 API calls will be surfaced as messages in the node output if "Continue On Fail" is enabled.
- Typical errors include authentication failures, invalid parameters, or network issues.
Resolutions:
- Verify that the authentication credentials are correct and have not expired.
- Ensure the user account has the necessary rights to view automation rules.
- Validate JSON syntax in filter and order fields before execution.
- Confirm that the selected Smart Process has automation enabled.